Use hex_string instead of phex_nz for error.
authorH.J. Lu <hjl.tools@gmail.com>
Thu, 1 Apr 2010 23:13:24 +0000 (23:13 +0000)
committerH.J. Lu <hjl.tools@gmail.com>
Thu, 1 Apr 2010 23:13:24 +0000 (23:13 +0000)
2010-04-01  H.J. Lu  <hongjiu.lu@intel.com>

* remote.c (remote_parse_stop_reply): Use hex_string instead
of phex_nz for error.

gdb/ChangeLog
gdb/remote.c

index 087b57d025379b8bae4b521702a461e0a62e8da8..3c2f5d86aee5f980d469f4f83167c9810c188b26 100644 (file)
@@ -1,3 +1,8 @@
+2010-04-01  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * remote.c (remote_parse_stop_reply): Use hex_string instead
+       of phex_nz for error.
+
 2010-04-01  Stan Shebs  <stan@codesourcery.com>
            Nathan Sidwell  <nathan@codesourcery.com>
 
index 395a56db777ea3d5da5e899c89376608d7f836e6..0108fdb402180f49665400da59a1aa26621c8618 100644 (file)
@@ -4884,7 +4884,7 @@ Packet: '%s'\n"),
              if (reg == NULL)
                error (_("Remote sent bad register number %s: %s\n\
 Packet: '%s'\n"),
-                      phex_nz (pnum, 0), p, buf);
+                      hex_string (pnum), p, buf);
 
              cached_reg.num = reg->regnum;
 
This page took 0.031562 seconds and 4 git commands to generate.