This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[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));
     }


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]