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.
This commit is contained in:
Hafiz Abid Qadeer
2013-05-03 15:43:58 +00:00
parent cde7cb0129
commit 1ebff1fdfd
4 changed files with 18 additions and 3 deletions

View File

@@ -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 ();