diff options
Diffstat (limited to 'gdb/stack.c')
-rw-r--r-- | gdb/stack.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gdb/stack.c b/gdb/stack.c index 0d6d8e7..4db5df5 100644 --- a/gdb/stack.c +++ b/gdb/stack.c @@ -413,6 +413,8 @@ read_frame_arg (struct symbol *sym, struct frame_info *frame, /* If the reference addresses match but dereferenced content does not match print them. */ if (val != val_deref + && !value_optimized_out (val_deref) + && !value_optimized_out (entryval_deref) && value_available_contents_eq (val_deref, 0, entryval_deref, 0, TYPE_LENGTH (type_deref))) |