diff options
author | Doug Evans <dje@google.com> | 2013-07-17 20:35:11 +0000 |
---|---|---|
committer | Doug Evans <dje@google.com> | 2013-07-17 20:35:11 +0000 |
commit | e7045703528f2fb0d4cadf2ddab16d1887046f35 (patch) | |
tree | 627d5ca62a8379cc2eb29a718094adb3334ccd9f /gdb/doc | |
parent | 453e48a5a576472ddf5b099a1c0a0e00ff1da657 (diff) | |
download | fsf-binutils-gdb-e7045703528f2fb0d4cadf2ddab16d1887046f35.zip fsf-binutils-gdb-e7045703528f2fb0d4cadf2ddab16d1887046f35.tar.gz fsf-binutils-gdb-e7045703528f2fb0d4cadf2ddab16d1887046f35.tar.bz2 |
* 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 9cb925c..87a1f08 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 fae54e4..4caeea5 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 |