diff options
author | Doug Evans <dje@google.com> | 2015-12-10 12:00:33 -0800 |
---|---|---|
committer | Doug Evans <dje@google.com> | 2015-12-10 12:00:33 -0800 |
commit | 5ca623bde7d8fd87f93aa869295ed033f083c5a8 (patch) | |
tree | 69bb02704eb758ae0c0769d889b5e7d2deca80d2 | |
parent | 8c0db0bffe1ff6b7644d3f6a90fce0a110311a7e (diff) | |
download | fsf-binutils-gdb-5ca623bde7d8fd87f93aa869295ed033f083c5a8.zip fsf-binutils-gdb-5ca623bde7d8fd87f93aa869295ed033f083c5a8.tar.gz fsf-binutils-gdb-5ca623bde7d8fd87f93aa869295ed033f083c5a8.tar.bz2 |
patch ../102438285.patch
-rw-r--r-- | README.google | 11 | ||||
-rw-r--r-- | gdb/objfiles.c | 8 | ||||
-rw-r--r-- | gdb/symtab.c | 10 | ||||
-rw-r--r-- | gdb/windows-tdep.c | 2 |
4 files changed, 28 insertions, 3 deletions
diff --git a/README.google b/README.google index 86cec17..a1ab047 100644 --- a/README.google +++ b/README.google @@ -373,3 +373,14 @@ they are an ongoing maintenance burden. + * dwarf2read.c (dw2_map_symtabs_matching_filename): Add QUIT calls. + * psymtab.c (psym_map_symtabs_matching_filename): Add QUIT call. + * symtab.c (iterate_over_symtabs): Add QUIT calls. +--- README.google 2015-09-06 00:28:23.000000000 -0700 ++++ README.google 2015-09-06 00:32:11.000000000 -0700 ++ ++2015-09-05 Doug Evans <dje@google.com> ++ ++ * objfiles.c (default_iterate_over_objfiles_in_search_order): Add ++ QUIT call. ++ * symtab.c (lookup_static_symbol): Ditto. ++ (basic_lookup_transparent_type): Ditto. ++ * windows-tdep.c (windows_iterate_over_objfiles_in_search_order): ++ Ditto. diff --git a/gdb/objfiles.c b/gdb/objfiles.c index c6f9f00..f6023ad 100644 --- a/gdb/objfiles.c +++ b/gdb/objfiles.c @@ -1487,9 +1487,11 @@ default_iterate_over_objfiles_in_search_order ALL_OBJFILES (objfile) { - stop = cb (objfile, cb_data); - if (stop) - return; + QUIT; + + stop = cb (objfile, cb_data); + if (stop) + return; } } diff --git a/gdb/symtab.c b/gdb/symtab.c index c4678ea..6c09da6 100644 --- a/gdb/symtab.c +++ b/gdb/symtab.c @@ -2657,6 +2657,8 @@ lookup_static_symbol (const char *name, const domain_enum domain) ALL_OBJFILES (objfile) { + QUIT; + result = lookup_symbol_in_objfile (objfile, STATIC_BLOCK, name, domain); if (result != NULL) { @@ -2869,6 +2871,8 @@ basic_lookup_transparent_type (const char *name) ALL_OBJFILES (objfile) { + QUIT; + t = basic_lookup_transparent_type_1 (objfile, GLOBAL_BLOCK, name); if (t) return t; @@ -2876,6 +2880,8 @@ basic_lookup_transparent_type (const char *name) ALL_OBJFILES (objfile) { + QUIT; + t = basic_lookup_transparent_type_quick (objfile, GLOBAL_BLOCK, name); if (t) return t; @@ -2890,6 +2896,8 @@ basic_lookup_transparent_type (const char *name) ALL_OBJFILES (objfile) { + QUIT; + t = basic_lookup_transparent_type_1 (objfile, STATIC_BLOCK, name); if (t) return t; @@ -2897,6 +2905,8 @@ basic_lookup_transparent_type (const char *name) ALL_OBJFILES (objfile) { + QUIT; + t = basic_lookup_transparent_type_quick (objfile, STATIC_BLOCK, name); if (t) return t; diff --git a/gdb/windows-tdep.c b/gdb/windows-tdep.c index dc4e2e4..49460f2 100644 --- a/gdb/windows-tdep.c +++ b/gdb/windows-tdep.c @@ -448,6 +448,8 @@ windows_iterate_over_objfiles_in_search_order ALL_OBJFILES (objfile) { + QUIT; + if (objfile != current_objfile) { stop = cb (objfile, cb_data); |