This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[OB] Remove "0x" that don't need
- From: Hui Zhu <teawater at gmail dot com>
- To: gdb-patches ml <gdb-patches at sourceware dot org>
- Date: Mon, 28 Sep 2009 15:22:28 +0800
- Subject: [OB] Remove "0x" that don't need
Checked in cvs-head and 7.0 under the obvious rule.
Thanks,
Hui
2009-09-28 Hui Zhu <teawater@gmail.com>
* i386-tdep.c (i386_process_record): Remove "0x" that
don't need.
Index: i386-tdep.c
===================================================================
RCS file: /cvs/src/src/gdb/i386-tdep.c,v
retrieving revision 1.287
diff -d -u -r1.287 i386-tdep.c
--- i386-tdep.c 7 Sep 2009 11:09:33 -0000 1.287
+++ i386-tdep.c 28 Sep 2009 06:20:56 -0000
@@ -4043,7 +4043,7 @@
if (ir.override >= 0)
{
warning (_("Process record ignores the memory change "
- "of instruction at address 0x%s because "
+ "of instruction at address %s because "
"it can't get the value of the segment "
"register."),
paddress (gdbarch, ir.orig_addr));
@@ -4468,7 +4468,7 @@
{
/* addr += ((uint32_t) read_register (I386_ES_REGNUM)) << 4; */
warning (_("Process record ignores the memory "
- "change of instruction at address 0x%s "
+ "change of instruction at address %s "
"because it can't get the value of the "
"ES segment register."),
paddress (gdbarch, ir.orig_addr));