]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
patch ../102438285.patch
authorDoug Evans <dje@google.com>
Thu, 10 Dec 2015 20:00:33 +0000 (12:00 -0800)
committerDoug Evans <dje@google.com>
Thu, 10 Dec 2015 20:00:33 +0000 (12:00 -0800)
README.google
gdb/objfiles.c
gdb/symtab.c
gdb/windows-tdep.c

index 86cec17289e6cd5eb19d04c57a88e15a7f45f8db..a1ab047ad3ac7b59275486bf2920b32ba9619ccd 100644 (file)
@@ -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.
index c6f9f001a3c687658b711eb751344e2f22719996..f6023add382f34bb3f1dc4ee7bdb284efdff125c 100644 (file)
@@ -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;
     }
 }
 
index c4678ea12f74d93fd578a98843c7613f97d72f6e..6c09da674684c8914491f898703e3893711f4acc 100644 (file)
@@ -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;
index dc4e2e43c1c071153f6abe00cc8bfe89de3a54d5..49460f2b06154d174cb2ebb2011e7ab508a3dba2 100644 (file)
@@ -448,6 +448,8 @@ windows_iterate_over_objfiles_in_search_order
 
   ALL_OBJFILES (objfile)
     {
+      QUIT;
+
       if (objfile != current_objfile)
        {
          stop = cb (objfile, cb_data);