2009-10-23 Tristan Gingold <gingold@adacore.com>
authorTristan Gingold <gingold@adacore.com>
Fri, 23 Oct 2009 14:31:33 +0000 (14:31 +0000)
committerTristan Gingold <gingold@adacore.com>
Fri, 23 Oct 2009 14:31:33 +0000 (14:31 +0000)
* frame.c (frame_unwind_pc): Fix typo: remove duplicate 0x.

gdb/ChangeLog
gdb/frame.c

index 0f66c4d..30579b9 100644 (file)
@@ -1,5 +1,9 @@
 2009-10-23  Tristan Gingold  <gingold@adacore.com>
 
+       * frame.c (frame_unwind_pc): Fix typo: remove duplicate 0x.
+
+2009-10-23  Tristan Gingold  <gingold@adacore.com>
+       
        * objfiles.c (allocate_objfile): Remove useless test.  Move
        declaration of last_one to the block that uses it.
 
index 12a38e7..02a9bd1 100644 (file)
@@ -639,7 +639,7 @@ frame_unwind_pc (struct frame_info *this_frame)
       this_frame->prev_pc.p = 1;
       if (frame_debug)
        fprintf_unfiltered (gdb_stdlog,
-                           "{ frame_unwind_caller_pc (this_frame=%d) -> 0x%s }\n",
+                           "{ frame_unwind_caller_pc (this_frame=%d) -> %s }\n",
                            this_frame->level,
                            hex_string (this_frame->prev_pc.value));
     }