aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);
}