aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorStan Shebs <shebs@codesourcery.com>2011-11-25 04:41:15 +0000
committerStan Shebs <shebs@codesourcery.com>2011-11-25 04:41:15 +0000
commit242f5f1ced68c163da6b1ccb5dcf07e55c239ca3 (patch)
treec076a40c78d153f296084c0a0e84211fcc20e814 /gdb
parentf2ce354f2f0d3266d8b96c947b91d6a2f1350f16 (diff)
downloadgdb-242f5f1ced68c163da6b1ccb5dcf07e55c239ca3.zip
gdb-242f5f1ced68c163da6b1ccb5dcf07e55c239ca3.tar.gz
gdb-242f5f1ced68c163da6b1ccb5dcf07e55c239ca3.tar.bz2
2011-11-24 Stan Shebs <stan@codesourcery.com>
* tracepoint.c (cmd_qtstatus): Use plongest instead of %llx.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/gdbserver/ChangeLog4
-rw-r--r--gdb/gdbserver/tracepoint.c4
2 files changed, 6 insertions, 2 deletions
diff --git a/gdb/gdbserver/ChangeLog b/gdb/gdbserver/ChangeLog
index c556eeb..f383edc 100644
--- a/gdb/gdbserver/ChangeLog
+++ b/gdb/gdbserver/ChangeLog
@@ -1,3 +1,7 @@
+2011-11-24 Stan Shebs <stan@codesourcery.com>
+
+ * tracepoint.c (cmd_qtstatus): Use plongest instead of %llx.
+
2011-11-17 Stan Shebs <stan@codesourcery.com>
* tracepoint.c (struct tracepoint): New field traceframe_usage.
diff --git a/gdb/gdbserver/tracepoint.c b/gdb/gdbserver/tracepoint.c
index e6a5bbc..585f18d 100644
--- a/gdb/gdbserver/tracepoint.c
+++ b/gdb/gdbserver/tracepoint.c
@@ -3448,7 +3448,7 @@ cmd_qtstatus (char *packet)
"tfree:%x;tsize:%s;"
"circular:%d;"
"disconn:%d;"
- "starttime:%llx;stoptime:%llx;"
+ "starttime:%s;stoptime:%s;"
"username:%s:;notes:%s:",
tracing ? 1 : 0,
stop_reason_rsp, tracing_stop_tpnum,
@@ -3456,7 +3456,7 @@ cmd_qtstatus (char *packet)
free_space (), phex_nz (trace_buffer_hi - trace_buffer_lo, 0),
circular_trace_buffer,
disconnected_tracing,
- tracing_start_time, tracing_stop_time,
+ plongest (tracing_start_time), plongest (tracing_stop_time),
buf1, buf2);
}