This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] Make struct frame_arg self-managing
- From: Kevin Buettner <kevinb at redhat dot com>
- To: gdb-patches at sourceware dot org
- Cc: Tom Tromey <tromey at adacore dot com>
- Date: Tue, 6 Aug 2019 14:36:25 -0700
- Subject: Re: [PATCH] Make struct frame_arg self-managing
- References: <20190806203043.14648-1-tromey@adacore.com>
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