aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitry Kozlov <ddk@sourceware.org>2013-06-26 15:24:10 +0000
committerDmitry Kozlov <ddk@sourceware.org>2013-06-26 15:24:10 +0000
commit86ebe1497f1fc9f5b7a4d56a9e5689f1fcf38882 (patch)
tree808613d963148289c6316c862131a7230d2c94c1
parentcdba14e0bf03ec44867081354aecf0a7a1ef2050 (diff)
downloadgdb-86ebe1497f1fc9f5b7a4d56a9e5689f1fcf38882.zip
gdb-86ebe1497f1fc9f5b7a4d56a9e5689f1fcf38882.tar.gz
gdb-86ebe1497f1fc9f5b7a4d56a9e5689f1fcf38882.tar.bz2
Fix trace status to output username without trailing colon.
-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 a976ee0..781f910 100644
--- a/gdb/gdbserver/ChangeLog
+++ b/gdb/gdbserver/ChangeLog
@@ -1,5 +1,10 @@
2013-06-10 Dmitry Kozlov <ddk@codesourcery.com>
+ Fix trace-status to output user name without trailing colon.
+ * tracepoint.c (cmd_qtstatus): Remove unnecessary colon from user name.
+
+2013-06-10 Dmitry Kozlov <ddk@codesourcery.com>
+
Fix trace-status to output proper start-time and stop-time.
* tracepoint.c (cmd_qtstatus): Modify trace-status output to
output start time and stop time in hex as gdb expects.
diff --git a/gdb/gdbserver/tracepoint.c b/gdb/gdbserver/tracepoint.c
index 1a6ea3c..5c0dec7 100644
--- a/gdb/gdbserver/tracepoint.c
+++ b/gdb/gdbserver/tracepoint.c
@@ -3656,7 +3656,7 @@ cmd_qtstatus (char *packet)
"circular:%d;"
"disconn:%d;"
"starttime:%s;stoptime:%s;"
- "username:%s:;notes:%s:",
+ "username:%s;notes:%s:",
tracing ? 1 : 0,
stop_reason_rsp, tracing_stop_tpnum,
traceframe_count, traceframes_created,