diff options
author | Pedro Alves <palves@redhat.com> | 2013-11-28 17:26:55 +0000 |
---|---|---|
committer | Pedro Alves <palves@redhat.com> | 2013-11-28 17:32:26 +0000 |
commit | 739cb10c0ecd53524e937f1d52518a8eebc3d359 (patch) | |
tree | 74d2120723ebd385d4b1e817cd9cfd3458d8d77c | |
parent | 514c0aa6a38dd03b2a6ebf7ec293afa518867403 (diff) | |
download | gdb-739cb10c0ecd53524e937f1d52518a8eebc3d359.zip gdb-739cb10c0ecd53524e937f1d52518a8eebc3d359.tar.gz gdb-739cb10c0ecd53524e937f1d52518a8eebc3d359.tar.bz2 |
register: "optimized out" -> "not saved".
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".
-rw-r--r-- | gdb/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/frame.c | 2 |
2 files changed, 6 insertions, 1 deletions
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); |