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>
+
+ 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.
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)
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");