The "record goto" command scans its arguments for "begin", "start", or "end".
[deliverable/binutils-gdb.git] / gdb / record-btrace.c
index bbb0bd57df36dff5fc0691460b5561090b08025d..8fb413e4041b7c8ace05b880025dc974a069b325 100644 (file)
@@ -190,8 +190,12 @@ record_btrace_stop_recording (void)
 /* The to_close method of target record-btrace.  */
 
 static void
-record_btrace_close (int quitting)
+record_btrace_close (void)
 {
+  /* Make sure automatic recording gets disabled even if we did not stop
+     recording before closing the record-btrace target.  */
+  record_btrace_auto_disable ();
+
   /* We already stopped recording.  */
 }
 
This page took 0.0237 seconds and 4 git commands to generate.