aboutsummaryrefslogtreecommitdiff
path: root/gdb/frame.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2004-02-09 04:10:58 +0000
committerAndrew Cagney <cagney@redhat.com>2004-02-09 04:10:58 +0000
commit6764ddad5af55fc8f87009d4af8d2afcc034cbd7 (patch)
treee5e8801e3e89f7fcf026c2c49acde0e8d4d49966 /gdb/frame.c
parenta376b2ce3ace29c011c8ec06d6415d8b59d0d01a (diff)
downloadgdb-6764ddad5af55fc8f87009d4af8d2afcc034cbd7.zip
gdb-6764ddad5af55fc8f87009d4af8d2afcc034cbd7.tar.gz
gdb-6764ddad5af55fc8f87009d4af8d2afcc034cbd7.tar.bz2
2004-02-08 Andrew Cagney <cagney@redhat.com>
* frame.c: Print both the register number and name.
Diffstat (limited to 'gdb/frame.c')
-rw-r--r--gdb/frame.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/gdb/frame.c b/gdb/frame.c
index 1c54f56..072fcd8 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