2004-02-08 Andrew Cagney <cagney@redhat.com>
authorAndrew Cagney <cagney@redhat.com>
Mon, 9 Feb 2004 04:10:58 +0000 (04:10 +0000)
committerAndrew Cagney <cagney@redhat.com>
Mon, 9 Feb 2004 04:10:58 +0000 (04:10 +0000)
* frame.c: Print both the register number and name.

gdb/ChangeLog
gdb/frame.c

index 75e0806cbc71497afc0de26f82b04c406ab4cf2f..909eb8d29ad824427ac22f2e4b6056a2b0c6eaec 100644 (file)
@@ -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.
index 1c54f563a5c9013fa554fa5aca5632e88427b5d3..072fcd89b30ffdc7b00175cb19ed1f1fe0f02b72 100644 (file)
@@ -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
This page took 0.03393 seconds and 4 git commands to generate.