This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[COMMIT PATCH] register: "optimized out" -> "not saved".
- From: Pedro Alves <palves at redhat dot com>
- To: gdb-patches at sourceware dot org
- Date: Thu, 28 Nov 2013 17:35:03 +0000
- Subject: [COMMIT PATCH] register: "optimized out" -> "not saved".
- Authentication-results: sourceware.org; auth=none
Another spot that missed the previous related text adjustments.
Tested on x86_64 Fedora 17.
gdb/
2013-11-28 Pedro Alves <palves@redhat.com>
* frame.c (frame_unwind_register): Say the register was "not
saved" instead of "optimized out".
---
gdb/ChangeLog | 5 +++++
gdb/frame.c | 2 +-
2 files changed, 6 insertions(+), 1 deletion(-)
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 8077e46..33bd755 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,8 @@
+2013-11-28 Pedro Alves <palves@redhat.com>
+
+ * frame.c (frame_unwind_register): Say the register was "not
+ saved" instead of "optimized out".
+
2013-11-27 Steffen Sledz <sledz@dresearch-fe.de>
PR 16152
diff --git a/gdb/frame.c b/gdb/frame.c
index 4e6e06c..ea06d51 100644
--- a/gdb/frame.c
+++ b/gdb/frame.c
@@ -1006,7 +1006,7 @@ frame_unwind_register (struct frame_info *frame, int regnum, gdb_byte *buf)
&lval, &addr, &realnum, buf);
if (optimized)
- error (_("Register %d was optimized out"), regnum);
+ error (_("Register %d was not saved"), regnum);
if (unavailable)
throw_error (NOT_AVAILABLE_ERROR,
_("Register %d is not available"), regnum);
--
1.7.11.7