[PATCH] Make struct frame_arg self-managing

Kevin Buettner kevinb@redhat.com
Tue Aug 6 21:36:00 GMT 2019


On Tue,  6 Aug 2019 14:30:43 -0600
Tom Tromey <tromey@adacore.com> wrote:

> This changes struct frame_arg to be self-managing and then fixes the
> various users.
> 
> Tested by the buildbot.
> 
> gdb/ChangeLog
> 2019-08-06  Tom Tromey  <tromey@adacore.com>
> 
> 	* stack.c (print_frame_arg, read_frame_local, read_frame_arg)
> 	(print_frame_args): Update.
> 	* python/py-framefilter.c (py_print_single_arg, enumerate_args):
> 	Update.
> 	* mi/mi-cmd-stack.c (list_arg_or_local): Update.
> 	* frame.h (struct frame_arg): Add initializers.
> 	<error>: Now a unique_xmalloc_ptr.

LGTM.

Kevin



More information about the Gdb-patches mailing list