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

Tom Tromey tom@tromey.com
Tue Aug 6 14:00:00 GMT 2019


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



More information about the Gdb-patches mailing list