This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[committed/obvious] fix typo in frame.c debug message
- From: Tristan Gingold <gingold at adacore dot com>
- To: gdb-patches ml <gdb-patches at sourceware dot org>
- Date: Fri, 23 Oct 2009 16:30:27 +0200
- Subject: [committed/obvious] fix typo in frame.c debug message
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));
}