aboutsummaryrefslogtreecommitdiff
path: root/gdb/remote.c
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2010-04-01 23:13:24 +0000
committerH.J. Lu <hjl.tools@gmail.com>2010-04-01 23:13:24 +0000
commit7c47795c2b4b17d9322fcc45a12649a6b57b4f0e (patch)
tree9b46d3826047c030e2d22ed5264b10cfc6a7111b /gdb/remote.c
parentb6c5ae6807f7ea25e05589a53c6ce213d2ec976f (diff)
downloadgdb-7c47795c2b4b17d9322fcc45a12649a6b57b4f0e.zip
gdb-7c47795c2b4b17d9322fcc45a12649a6b57b4f0e.tar.gz
gdb-7c47795c2b4b17d9322fcc45a12649a6b57b4f0e.tar.bz2
Use hex_string instead of phex_nz for error.
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.
Diffstat (limited to 'gdb/remote.c')
-rw-r--r--gdb/remote.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/remote.c b/gdb/remote.c
index 395a56d..0108fdb 100644
--- a/gdb/remote.c
+++ b/gdb/remote.c
@@ -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;