This makes the 'print_thread_events' global static. It's never used
outside of thread.c.
Reviewed-by: Stephan Rohr <stephan.rohr@intel.com>
extern void thread_command (const char *tidstr, int from_tty);
-/* Print notices on thread events (attach, detach, etc.), set with
- `set print thread-events'. */
-extern bool print_thread_events;
-
/* Prints the list of threads and their details on UIOUT. If
REQUESTED_THREADS, a list of GDB ids/ranges, is not NULL, only
print threads whose ID is included in the list. If PID is not -1,
#include "interps.h"
#include "record-full.h"
+/* Print notices when new threads are attached and detached. */
+static bool print_thread_events = true;
+
/* See gdbthread.h. */
bool debug_threads = false;
gdb_printf (_("No threads match '%s'\n"), arg);
}
-/* Print notices when new threads are attached and detached. */
-bool print_thread_events = true;
static void
show_print_thread_events (struct ui_file *file, int from_tty,
struct cmd_list_element *c, const char *value)