From: Tom Tromey Date: Thu, 12 Dec 2024 23:21:30 +0000 (-0700) Subject: Re-enable background reading X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=f77f3d6d9cef650cf1c3aaf51d91eb9af9cd026d;p=thirdparty%2Fbinutils-gdb.git Re-enable background reading All the reported races have been fixed, so this patch re-enabled background DWARF reading. Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=31751 Tested-By: Tom de Vries --- diff --git a/gdb/dwarf2/read.c b/gdb/dwarf2/read.c index 5214168f7ff..70e90226d09 100644 --- a/gdb/dwarf2/read.c +++ b/gdb/dwarf2/read.c @@ -740,7 +740,7 @@ show_dwarf_max_cache_age (struct ui_file *file, int from_tty, } /* When true, wait for DWARF reading to be complete. */ -static bool dwarf_synchronous = true; +static bool dwarf_synchronous = false; /* "Show" callback for "maint set dwarf synchronous". */ static void