2004-02-08 Andrew Cagney <cagney@redhat.com>

* frame.c: Print both the register number and name.
This commit is contained in:
Andrew Cagney 2004-02-09 04:10:58 +00:00
parent a376b2ce3a
commit 6764ddad5a
2 changed files with 6 additions and 3 deletions

View File

@ -1,5 +1,7 @@
2004-02-08 Andrew Cagney <cagney@redhat.com> 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 * Makefile.in (init.c): Eliminate duplicates. Combine two greps
and a sed into a single sed. Make .c and .o patterns more robust. and a sed into a single sed. Make .c and .o patterns more robust.
(OBS): Delete. (OBS): Delete.

View File

@ -509,9 +509,10 @@ frame_register_unwind (struct frame_info *frame, int regnum,
if (frame_debug) if (frame_debug)
{ {
fprintf_unfiltered (gdb_stdlog, fprintf_unfiltered (gdb_stdlog, "\
"{ frame_register_unwind (frame=%d,regnum=\"%s\",...) ", { frame_register_unwind (frame=%d,regnum=%d(%s),...) ",
frame->level, frame_map_regnum_to_name (frame, regnum)); frame->level, regnum,
frame_map_regnum_to_name (frame, regnum));
} }
/* Require all but BUFFERP to be valid. A NULL BUFFERP indicates /* Require all but BUFFERP to be valid. A NULL BUFFERP indicates