gdb/
Display referenced values in backtraces. * printcmd.c (print_variable_and_value): Set OPTS.DEREF_REF to 1. * stack.c (print_frame_arg): Likewise.
This commit is contained in:
parent
ac71a68c85
commit
3343315ba7
@ -1,3 +1,9 @@
|
||||
2011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
|
||||
|
||||
Display referenced values in backtraces.
|
||||
* printcmd.c (print_variable_and_value): Set OPTS.DEREF_REF to 1.
|
||||
* stack.c (print_frame_arg): Likewise.
|
||||
|
||||
2011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
|
||||
|
||||
Make some lval_funcs methods to default on NULL.
|
||||
|
@ -1976,6 +1976,7 @@ print_variable_and_value (const char *name, struct symbol *var,
|
||||
|
||||
val = read_var_value (var, frame);
|
||||
get_user_print_options (&opts);
|
||||
opts.deref_ref = 1;
|
||||
common_val_print (val, stream, indent, &opts, current_language);
|
||||
}
|
||||
if (except.reason < 0)
|
||||
|
@ -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");
|
||||
|
Loading…
Reference in New Issue
Block a user