From d679e74e9e265fac6e12944db461b1445688d9aa Mon Sep 17 00:00:00 2001 From: Doug Evans Date: Wed, 17 Jul 2013 20:35:10 +0000 Subject: * NEWS: Mention "set print raw frame-arguments". * gdbcmd.h (setprintrawlist, showprintrawlist): Declare. * stack.c (print_raw_frame_arguments): New static global. (print_frame_arg): Set opts.raw from print_raw_frame_arguments. (_initialize_stack): New command "set/show print raw frame-arguments". * valprint.c (setprintrawlist, showprintrawlist): New globals. (set_print_raw, show_print_raw): New functions. (_initialize_valprint): New prefix command "set/show print raw". * valprint.h (value_print_options): Improve comments. doc/ * gdb.texinfo (Print Settings): Document "print raw frame-arguments". testsuite/ * gdb.python/py-frame-args.c: New file. * gdb.python/py-frame-args.py: New file. * gdb.python/py-frame-args.exp New file. --- gdb/doc/ChangeLog | 4 ++++ gdb/doc/gdb.texinfo | 12 ++++++++++++ 2 files changed, 16 insertions(+) (limited to 'gdb/doc') diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog index 9cb925c2d55..87a1f0814eb 100644 --- a/gdb/doc/ChangeLog +++ b/gdb/doc/ChangeLog @@ -1,3 +1,7 @@ +2013-07-17 Doug Evans + + * gdb.texinfo (Print Settings): Document "print raw frame-arguments". + 2013-07-02 Tom Tromey * gdb.texinfo (Target Commands): Don't mention "target nrom". diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo index fae54e4e242..4caeea52d49 100644 --- a/gdb/doc/gdb.texinfo +++ b/gdb/doc/gdb.texinfo @@ -9030,6 +9030,18 @@ thus speeding up the display of each Ada frame. @item show print frame-arguments Show how the value of arguments should be displayed when printing a frame. +@item set print raw frame-arguments on +Print frame arguments in raw, non pretty-printed, form. + +@item set print raw frame-arguments off +Print frame arguments in pretty-printed form, if there is a pretty-printer +for the value (@pxref{Pretty Printing}), +otherwise print the value in raw form. +This is the default. + +@item show print raw frame-arguments +Show whether to print frame arguments in raw form. + @anchor{set print entry-values} @item set print entry-values @var{value} @kindex set print entry-values -- cgit v1.2.1