aboutsummaryrefslogtreecommitdiff
path: root/gdb/valprint.h
diff options
context:
space:
mode:
authorDoug Evans <dje@google.com>2013-07-17 20:35:11 +0000
committerDoug Evans <dje@google.com>2013-07-17 20:35:11 +0000
commite7045703528f2fb0d4cadf2ddab16d1887046f35 (patch)
tree627d5ca62a8379cc2eb29a718094adb3334ccd9f /gdb/valprint.h
parent453e48a5a576472ddf5b099a1c0a0e00ff1da657 (diff)
downloadgdb-e7045703528f2fb0d4cadf2ddab16d1887046f35.zip
gdb-e7045703528f2fb0d4cadf2ddab16d1887046f35.tar.gz
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/valprint.h')
-rw-r--r--gdb/valprint.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/gdb/valprint.h b/gdb/valprint.h
index 3401afa..2959098 100644
--- a/gdb/valprint.h
+++ b/gdb/valprint.h
@@ -81,10 +81,12 @@ struct value_print_options
share one flag, why not Pascal too? */
int pascal_static_field_print;
- /* Controls Python pretty-printing. */
+ /* If non-zero don't do Python pretty-printing. */
int raw;
- /* If nonzero, print the value in "summary" form. */
+ /* If nonzero, print the value in "summary" form.
+ If raw and summary are both non-zero, don't print non-scalar values
+ ("..." is printed instead). */
int summary;
/* If nonzero, when printing a pointer, print the symbol to which it