diff options
author | Dmitry Kozlov <ddk@sourceware.org> | 2013-06-26 15:24:10 +0000 |
---|---|---|
committer | Dmitry Kozlov <ddk@sourceware.org> | 2013-06-26 15:24:10 +0000 |
commit | 86ebe1497f1fc9f5b7a4d56a9e5689f1fcf38882 (patch) | |
tree | 808613d963148289c6316c862131a7230d2c94c1 | |
parent | cdba14e0bf03ec44867081354aecf0a7a1ef2050 (diff) | |
download | gdb-86ebe1497f1fc9f5b7a4d56a9e5689f1fcf38882.zip gdb-86ebe1497f1fc9f5b7a4d56a9e5689f1fcf38882.tar.gz gdb-86ebe1497f1fc9f5b7a4d56a9e5689f1fcf38882.tar.bz2 |
Fix trace status to output username without trailing colon.
-rw-r--r-- | gdb/gdbserver/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/gdbserver/tracepoint.c | 2 |
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, |