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 | 20435b4f8afa96207310d3ae0bafe2def7881b5d (patch) | |
tree | fe6c969a31e16f1bdf8e39b33e40259bacf1d06b /gdb/stack.c | |
parent | f321706994c9c6ee8b0af4f2dfa9577890436f1f (diff) | |
download | gdb-20435b4f8afa96207310d3ae0bafe2def7881b5d.tar.gz |
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 276dd2b2529..397b345dd25 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"); |