This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[commit] [patch 06/12] entryval#3: reshuffle: Arguments reading+printing
- From: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- To: gdb-patches at sourceware dot org
- Date: Sun, 9 Oct 2011 21:30:40 +0200
- Subject: [commit] [patch 06/12] entryval#3: reshuffle: Arguments reading+printing
- References: <20110929195104.GG26579@host1.jankratochvil.net>
On Thu, 29 Sep 2011 21:51:04 +0200, Jan Kratochvil wrote:
> gdb/
> 2011-09-13 Jan Kratochvil <jan.kratochvil@redhat.com>
>
> Code reshuffle.
> * frame.h (struct frame_arg): New definition.
> (read_frame_arg): New declaration.
> * mi/mi-cmd-stack.c (list_arg_or_local): New functiom from ...
> (list_args_or_locals): ... the code here. New variable arg, call
> read_frame_arg and list_arg_or_local with it. Unify the
> PRINT_SIMPLE_VALUES and PRINT_ALL_VALUES cases. Call xfree for
> arg.error.
> * stack.c (print_frame_arg): New functiom from the code of
> print_frame_args.
> (read_frame_arg): New function.
> (print_frame_args): Remove variable val. New variable arg, call
> read_frame_arg and print_frame_arg with it. Call xfree for arg.error.
Checked in:
http://sourceware.org/ml/gdb-cvs/2011-10/msg00061.html
Thanks,
Jan