aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdb/ChangeLog4
-rw-r--r--gdb/symtab.c4
2 files changed, 8 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index b638a8c..ca7e063 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,7 @@
+2009-07-23 Paul Pluzhnikov <ppluzhnikov@google.com>
+
+ * symtab.c (search_symbols): Add QUIT.
+
2009-07-22 Paul Pluzhnikov <ppluzhnikov@google.com>
* symfile.c (symbol_file_add_with_addrs_or_offsets): Call observer.
diff --git a/gdb/symtab.c b/gdb/symtab.c
index 009c52d..c88156a 100644
--- a/gdb/symtab.c
+++ b/gdb/symtab.c
@@ -3243,6 +3243,8 @@ search_symbols (char *regexp, domain_enum kind, int nfiles, char *files[],
{
ALL_MSYMBOLS (objfile, msymbol)
{
+ QUIT;
+
if (MSYMBOL_TYPE (msymbol) == ourtype ||
MSYMBOL_TYPE (msymbol) == ourtype2 ||
MSYMBOL_TYPE (msymbol) == ourtype3 ||
@@ -3333,6 +3335,8 @@ search_symbols (char *regexp, domain_enum kind, int nfiles, char *files[],
{
ALL_MSYMBOLS (objfile, msymbol)
{
+ QUIT;
+
if (MSYMBOL_TYPE (msymbol) == ourtype ||
MSYMBOL_TYPE (msymbol) == ourtype2 ||
MSYMBOL_TYPE (msymbol) == ourtype3 ||