aboutsummaryrefslogtreecommitdiff
path: root/gdb/gdbserver
diff options
context:
space:
mode:
authorYao Qi <yao@codesourcery.com>2013-02-28 01:21:08 +0000
committerYao Qi <yao@codesourcery.com>2013-02-28 01:21:08 +0000
commit736cd5852660e6ff9c5741efb7724bbe0d94ca67 (patch)
treecf65e8847453dd7d065fa8f141a83e30c359e033 /gdb/gdbserver
parent1c942fb948433dd19f6cf599c463b7617f0b98cc (diff)
downloadgdb-736cd5852660e6ff9c5741efb7724bbe0d94ca67.zip
gdb-736cd5852660e6ff9c5741efb7724bbe0d94ca67.tar.gz
gdb-736cd5852660e6ff9c5741efb7724bbe0d94ca67.tar.bz2
gdb/gdbserver/
* tracepoint.c (cmd_qtbuffer): Call phex_nz instead of pulongest.
Diffstat (limited to 'gdb/gdbserver')
-rw-r--r--gdb/gdbserver/ChangeLog5
-rw-r--r--gdb/gdbserver/tracepoint.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/gdb/gdbserver/ChangeLog b/gdb/gdbserver/ChangeLog
index 8d3acba..6e51f73 100644
--- a/gdb/gdbserver/ChangeLog
+++ b/gdb/gdbserver/ChangeLog
@@ -1,3 +1,8 @@
+2013-02-28 Yao Qi <yao@codesourcery.com>
+
+ * tracepoint.c (cmd_qtbuffer): Call phex_nz instead of
+ pulongest.
+
2013-02-27 Jiong Wang <jiwang@tilera.com>
* Makefile.in (clean): Remove reg-tilegx.c, reg-tilegx32.c.
diff --git a/gdb/gdbserver/tracepoint.c b/gdb/gdbserver/tracepoint.c
index ba681c4..0f83ae6 100644
--- a/gdb/gdbserver/tracepoint.c
+++ b/gdb/gdbserver/tracepoint.c
@@ -3969,7 +3969,7 @@ cmd_qtbuffer (char *own_buf)
unpack_varlen_hex (packet, &num);
trace_debug ("Want to get trace buffer, %d bytes at offset 0x%s",
- (int) num, pulongest (offset));
+ (int) num, phex_nz (offset, 0));
tot = (trace_buffer_hi - trace_buffer_lo) - free_space ();