Suppress ARI warnings for vsprintf
[deliverable/binutils-gdb.git] / gdb / maint.c
index 7ab3fdb64c167faf28e92339159daa57806594da..f71cb80cec688dcb99598e5ed2fcb5c471a41a0d 100644 (file)
@@ -589,7 +589,7 @@ maintenance_translate_address (const char *arg, int from_tty)
          gdb_assert (sect->objfile && objfile_name (sect->objfile));
          obj_name = objfile_name (sect->objfile);
 
-         if (MULTI_OBJFILE_P ())
+         if (current_program_space->multi_objfile_p ())
            printf_filtered (_("%s + %s in section %s of %s\n"),
                             symbol_name, symbol_offset,
                             section_name, obj_name);
@@ -845,7 +845,12 @@ maintenance_set_profile_cmd (const char *args, int from_tty,
 }
 #endif
 
-static int n_worker_threads = -1;
+static int n_worker_threads = 0;
+
+bool worker_threads_disabled ()
+{
+  return n_worker_threads == 0;
+}
 
 /* Update the thread pool for the desired number of threads.  */
 static void
This page took 0.035555 seconds and 4 git commands to generate.