diff options
author | Andrew Cagney <cagney@redhat.com> | 2004-02-09 04:10:58 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2004-02-09 04:10:58 +0000 |
commit | 67ea4701d0c040d12f1b69ef261b7f9220a33aac (patch) | |
tree | ea5f28dea44e9b6ed6d085262d7684fe526f5e3f | |
parent | fa83084e3c2d55e6e881a20a745d3a92b32200c4 (diff) | |
download | gdb-67ea4701d0c040d12f1b69ef261b7f9220a33aac.tar.gz |
2004-02-08 Andrew Cagney <cagney@redhat.com>
* frame.c: Print both the register number and name.
-rw-r--r-- | gdb/ChangeLog | 2 | ||||
-rw-r--r-- | gdb/frame.c | 7 |
2 files changed, 6 insertions, 3 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 75e0806cbc7..909eb8d29ad 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,7 @@ 2004-02-08 Andrew Cagney <cagney@redhat.com> + * frame.c: Print both the register number and name. + * Makefile.in (init.c): Eliminate duplicates. Combine two greps and a sed into a single sed. Make .c and .o patterns more robust. (OBS): Delete. diff --git a/gdb/frame.c b/gdb/frame.c index 1c54f563a5c..072fcd89b30 100644 --- a/gdb/frame.c +++ b/gdb/frame.c @@ -509,9 +509,10 @@ frame_register_unwind (struct frame_info *frame, int regnum, if (frame_debug) { - fprintf_unfiltered (gdb_stdlog, - "{ frame_register_unwind (frame=%d,regnum=\"%s\",...) ", - frame->level, frame_map_regnum_to_name (frame, regnum)); + fprintf_unfiltered (gdb_stdlog, "\ +{ frame_register_unwind (frame=%d,regnum=%d(%s),...) ", + frame->level, regnum, + frame_map_regnum_to_name (frame, regnum)); } /* Require all but BUFFERP to be valid. A NULL BUFFERP indicates |