This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] Change breakpoint::filter to be a unique_xmalloc_ptr
- From: Tom Tromey <tom at tromey dot com>
- To: Tom Tromey <tromey at adacore dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Tue, 06 Aug 2019 08:00:40 -0600
- Subject: Re: [PATCH] Change breakpoint::filter to be a unique_xmalloc_ptr
- References: <20190730190248.20709-1-tromey@adacore.com>
>>>>> "Tom" == Tom Tromey <tromey@adacore.com> writes:
Tom> This changes breakpoint::filter to be a unique_xmalloc_ptr, removing
Tom> an explicit xfree, as well as a use of a "release" method.
Tom> gdb/ChangeLog
Tom> 2019-07-30 Tom Tromey <tromey@adacore.com>
Tom> * breakpoint.c (init_breakpoint_sal): Update.
Tom> (breakpoint): Update.
Tom> * breakpoint.h (struct breakpoint) <filter>: Now a
Tom> unique_xmalloc_ptr.
I'm checking this in now.
Tom