From f1d293cc58bfe5f6b507dc2351f17632df8ab677 Mon Sep 17 00:00:00 2001 From: Christian Biesinger Date: Fri, 13 Dec 2019 17:35:05 -0500 Subject: Revert "Turn off threaded minsym demangling by default" This reverts commit 62e77f56f0ce8b10122881d8f0acd70e113fde93. (except for ChangeLog and a bugfix in minimal_symbol_reader::install) As agreed on the mailing list, now that GDB 9 has branched, this patch reverts the change to set worker-threads to zero. After this patch, multithreaded minsym demangling will be enabled again by default. gdb/ChangeLog: 2019-12-13 Christian Biesinger * maint.c (n_worker_threads): Default to -1. (worker_threads_disabled): Remove function. * maint.h (worker_threads_disabled): Remove function. * minsyms.c (minimal_symbol_reader::record_full): Don't call symbol_set_names here if worker_threads_disabled () is true. Change-Id: I5ff3e318d96f60968c8b8bedb84546ad2314d94b --- gdb/maint.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'gdb/maint.h') diff --git a/gdb/maint.h b/gdb/maint.h index cbaf9de..827964d 100644 --- a/gdb/maint.h +++ b/gdb/maint.h @@ -26,8 +26,6 @@ extern void set_per_command_time (int); extern void set_per_command_space (int); -extern bool worker_threads_disabled (); - /* Records a run time and space usage to be used as a base for reporting elapsed time or change in space. */ -- cgit v1.1