This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Change breakpoint::filter to be a unique_xmalloc_ptr


>>>>> "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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]