aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Kratochvil <jan.kratochvil@redhat.com>2012-07-26 18:21:50 +0000
committerJan Kratochvil <jan.kratochvil@redhat.com>2012-07-26 18:21:50 +0000
commit7cfe01b4b36c6e349f692f7ea8f80a9d93aa0453 (patch)
tree5b9e91892ebf0d22dd9996d8c85c2f44671600d9
parentf725daa870859ce411549931f9d7fe36e8371a07 (diff)
downloadgdb-7cfe01b4b36c6e349f692f7ea8f80a9d93aa0453.zip
gdb-7cfe01b4b36c6e349f692f7ea8f80a9d93aa0453.tar.gz
gdb-7cfe01b4b36c6e349f692f7ea8f80a9d93aa0453.tar.bz2
gdb/
* auto-load.c (auto_load_info_scripts): Remove immediate_quit increment and decrement.
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/auto-load.c2
2 files changed, 5 insertions, 2 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 64d83b6..80fb57e 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -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.
diff --git a/gdb/auto-load.c b/gdb/auto-load.c
index 87dd1e4..2cc52c6 100644
--- a/gdb/auto-load.c
+++ b/gdb/auto-load.c
@@ -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);