[PATCH] Re-enable background reading

Tom Tromey tom@tromey.com
Sat Dec 14 16:46:33 GMT 2024


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
---
 gdb/dwarf2/read.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gdb/dwarf2/read.c b/gdb/dwarf2/read.c
index 86448abc339..a6e822aafe8 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
-- 
2.46.1



More information about the Gdb-patches mailing list