GDB/MI: Document support for -exec-run --start in -list-features
[deliverable/binutils-gdb.git] / gdb / record-btrace.c
index e85de5e50f8ce4cc66a222987e6947c4d8b05844..68f40c859ae4f971cee181cef0fc16050d007d20 100644 (file)
@@ -192,6 +192,10 @@ record_btrace_stop_recording (void)
 static void
 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.  */
 }
 
@@ -465,13 +469,13 @@ btrace_func_history (struct btrace_thread_info *btinfo, struct ui_out *uiout,
       ui_out_field_uint (uiout, "index", idx);
       ui_out_text (uiout, "\t");
 
-      if ((flags & record_print_insn_range) != 0)
+      if ((flags & RECORD_PRINT_INSN_RANGE) != 0)
        {
          btrace_func_history_insn_range (uiout, bfun);
          ui_out_text (uiout, "\t");
        }
 
-      if ((flags & record_print_src_line) != 0)
+      if ((flags & RECORD_PRINT_SRC_LINE) != 0)
        {
          btrace_func_history_src_line (uiout, bfun);
          ui_out_text (uiout, "\t");
This page took 0.024429 seconds and 4 git commands to generate.