aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdb/ChangeLog4
-rw-r--r--gdb/frame.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 0f66c4d..30579b9 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -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.
diff --git a/gdb/frame.c b/gdb/frame.c
index 12a38e7..02a9bd1 100644
--- a/gdb/frame.c
+++ b/gdb/frame.c
@@ -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));
}