gdb/
authorJan Kratochvil <jan.kratochvil@redhat.com>
Thu, 26 Jul 2012 18:21:50 +0000 (18:21 +0000)
committerJan Kratochvil <jan.kratochvil@redhat.com>
Thu, 26 Jul 2012 18:21:50 +0000 (18:21 +0000)
* auto-load.c (auto_load_info_scripts): Remove immediate_quit increment
and decrement.

gdb/ChangeLog
gdb/auto-load.c

index 64d83b6..80fb57e 100644 (file)
@@ -1,3 +1,8 @@
+2012-07-26  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * auto-load.c (auto_load_info_scripts): Remove immediate_quit increment
+       and decrement.
+
 2012-07-26  Tom Tromey  <tromey@redhat.com>
 
        * copying.c: Rebuild.
index 87dd1e4..2cc52c6 100644 (file)
@@ -916,11 +916,9 @@ auto_load_info_scripts (char *pattern, int from_tty,
     {
       struct collect_matching_scripts_data data = { &scripts, language };
 
-      immediate_quit++;
       /* Pass a pointer to scripts as VEC_safe_push can realloc space.  */
       htab_traverse_noresize (pspace_info->loaded_scripts,
                              collect_matching_scripts, &data);
-      immediate_quit--;
     }
 
   nr_scripts = VEC_length (loaded_script_ptr, scripts);