diff options
author | Hafiz Abid Qadeer <abidh@codesourcery.com> | 2013-05-03 15:43:58 +0000 |
---|---|---|
committer | Hafiz Abid Qadeer <abidh@codesourcery.com> | 2013-05-03 15:43:58 +0000 |
commit | 1ebff1fdfdbf851157c55915a6a87ba3b3902823 (patch) | |
tree | c8b68e6833235d6242bb002d3b745c06023b75fc /gdb/gdbserver | |
parent | cde7cb0129a884a060b99c7c83e8f5c9af728b0a (diff) | |
download | gdb-1ebff1fdfdbf851157c55915a6a87ba3b3902823.zip gdb-1ebff1fdfdbf851157c55915a6a87ba3b3902823.tar.gz gdb-1ebff1fdfdbf851157c55915a6a87ba3b3902823.tar.bz2 |
2013-05-03 Hafiz Abid Qadeer <abidh@codesourcery.com>
* tracepoint.c (cmd_qtinit): Call 'stop_tracing'.
2013-05-03 Hafiz Abid Qadeer <abidh@codesourcery.com>
* status-stop.exp (test_tstart_tstart): Check for error
returned by the second 'tstart' command.
Diffstat (limited to 'gdb/gdbserver')
-rw-r--r-- | gdb/gdbserver/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/gdbserver/tracepoint.c | 2 |
2 files changed, 6 insertions, 0 deletions
diff --git a/gdb/gdbserver/ChangeLog b/gdb/gdbserver/ChangeLog index e34d03f..16a2e79 100644 --- a/gdb/gdbserver/ChangeLog +++ b/gdb/gdbserver/ChangeLog @@ -1,3 +1,7 @@ +2013-05-03 Hafiz Abid Qadeer <abidh@codesourcery.com> + + * tracepoint.c (cmd_qtinit): Call 'stop_tracing'. + 2013-04-25 Hui Zhu <hui@codesourcery.com> PR gdb/15186 diff --git a/gdb/gdbserver/tracepoint.c b/gdb/gdbserver/tracepoint.c index 419765b..1ff6114 100644 --- a/gdb/gdbserver/tracepoint.c +++ b/gdb/gdbserver/tracepoint.c @@ -2354,6 +2354,8 @@ cmd_qtinit (char *packet) /* Make sure we don't try to read from a trace frame. */ current_traceframe = -1; + stop_tracing (); + trace_debug ("Initializing the trace"); clear_installed_tracepoints (); |