2011-11-24 Stan Shebs <stan@codesourcery.com>
authorStan Shebs <shebs@codesourcery.com>
Fri, 25 Nov 2011 04:41:15 +0000 (04:41 +0000)
committerStan Shebs <shebs@codesourcery.com>
Fri, 25 Nov 2011 04:41:15 +0000 (04:41 +0000)
* tracepoint.c (cmd_qtstatus): Use plongest instead of %llx.

gdb/gdbserver/ChangeLog
gdb/gdbserver/tracepoint.c

index c556eeb..f383edc 100644 (file)
@@ -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.
index e6a5bbc..585f18d 100644 (file)
@@ -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);
 }