diff options
author | Doug Evans <dje@google.com> | 2013-07-17 20:35:10 +0000 |
---|---|---|
committer | Doug Evans <dje@google.com> | 2013-07-17 20:35:10 +0000 |
commit | d679e74e9e265fac6e12944db461b1445688d9aa (patch) | |
tree | f4096ee1511c3b095d47fa38a88d39acd35959ed /gdb/doc | |
parent | 60d57d2ccf4cb4142a25487ee7ee054633b6df3b (diff) | |
download | gdb-d679e74e9e265fac6e12944db461b1445688d9aa.tar.gz |
* 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.
Diffstat (limited to 'gdb/doc')
-rw-r--r-- | gdb/doc/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/doc/gdb.texinfo | 12 |
2 files changed, 16 insertions, 0 deletions
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 <dje@google.com> + + * gdb.texinfo (Print Settings): Document "print raw frame-arguments". + 2013-07-02 Tom Tromey <tromey@redhat.com> * 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 |