aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Gingold <gingold@adacore.com>2009-10-23 14:31:33 +0000
committerTristan Gingold <gingold@adacore.com>2009-10-23 14:31:33 +0000
commit7e2183ccaf10c63e53ce59060a025cdcf662be6e (patch)
tree23e573d5d362aa9e899b0f1a0ac6944790ab7b9d
parent2f6e5d7e9d6a416093702b75a536e8fed5c30d03 (diff)
downloadgdb-7e2183ccaf10c63e53ce59060a025cdcf662be6e.zip
gdb-7e2183ccaf10c63e53ce59060a025cdcf662be6e.tar.gz
gdb-7e2183ccaf10c63e53ce59060a025cdcf662be6e.tar.bz2
2009-10-23 Tristan Gingold <gingold@adacore.com>
* frame.c (frame_unwind_pc): Fix typo: remove duplicate 0x.
-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));
}