[committed/obvious] fix typo in frame.c debug message
Tristan Gingold
gingold@adacore.com
Fri Oct 23 14:30:00 GMT 2009
Hi,
hex_string already generates the '0x' prefix.
Tristan.
2009-10-23 Tristan Gingold <gingold@adacore.com>
* frame.c (frame_unwind_pc): Fix typo: remove duplicate 0x.
--- frame.c 19 Oct 2009 09:51:40 -0000 1.275
+++ frame.c 23 Oct 2009 14:27:30 -0000
@@ -639,7 +639,7 @@
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));
}
More information about the Gdb-patches
mailing list