aboutsummaryrefslogtreecommitdiff
path: root/gdb/auto-load.c
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 /gdb/auto-load.c
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.
Diffstat (limited to 'gdb/auto-load.c')
-rw-r--r--gdb/auto-load.c2
1 files changed, 0 insertions, 2 deletions
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);