aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/stack.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index fa491f0..ea8fdd1 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,8 @@
+2016-10-06 Markus Metzger <markus.t.metzger@intel.com>
+
+ * stack.c (frame_info): Call val_print_not_saved instead of
+ val_print_unavailable if frame_id check fails.
+
2016-10-06 Pedro Alves <palves@redhat.com>
* jit.c (free_objfile_data): Delete the JIT breakpoint and clear
diff --git a/gdb/stack.c b/gdb/stack.c
index 3ce3138..c77bfc0 100644
--- a/gdb/stack.c
+++ b/gdb/stack.c
@@ -1531,7 +1531,7 @@ frame_info (char *addr_exp, int from_tty)
printf_filtered ("saved %s = ", pc_regname);
if (!frame_id_p (frame_unwind_caller_id (fi)))
- val_print_unavailable (gdb_stdout);
+ val_print_not_saved (gdb_stdout);
else
{
TRY