diff options
author | Jan Kratochvil <jan.kratochvil@redhat.com> | 2011-10-09 19:38:29 +0000 |
---|---|---|
committer | Jan Kratochvil <jan.kratochvil@redhat.com> | 2011-10-09 19:38:29 +0000 |
commit | 3343315ba7c882c948decb9aaad83e4c048a4527 (patch) | |
tree | 54e12bbc8c37bdd18edf5c7d9e8edd7bba55aaa5 /gdb/stack.c | |
parent | ac71a68c85a70ebe474e39ef64773112f6474514 (diff) | |
download | gdb-3343315ba7c882c948decb9aaad83e4c048a4527.zip gdb-3343315ba7c882c948decb9aaad83e4c048a4527.tar.gz gdb-3343315ba7c882c948decb9aaad83e4c048a4527.tar.bz2 |
gdb/
Display referenced values in backtraces.
* printcmd.c (print_variable_and_value): Set OPTS.DEREF_REF to 1.
* stack.c (print_frame_arg): Likewise.
Diffstat (limited to 'gdb/stack.c')
-rw-r--r-- | gdb/stack.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/stack.c b/gdb/stack.c index 276dd2b..397b345 100644 --- a/gdb/stack.c +++ b/gdb/stack.c @@ -261,7 +261,7 @@ print_frame_arg (const struct frame_arg *arg) language = current_language; get_raw_print_options (&opts); - opts.deref_ref = 0; + opts.deref_ref = 1; /* True in "summary" mode, false otherwise. */ opts.summary = !strcmp (print_frame_arguments, "scalars"); |