aboutsummaryrefslogtreecommitdiff
path: root/gdb/symtab.c
diff options
context:
space:
mode:
authorPaul Pluzhnikov <ppluzhnikov@google.com>2009-07-23 16:03:13 +0000
committerPaul Pluzhnikov <ppluzhnikov@google.com>2009-07-23 16:03:13 +0000
commit89295b4d6f980663e6bd35568e2b733659dc58df (patch)
tree0cbf526d69ffe4851860624ca7b84f0bd9d3b01a /gdb/symtab.c
parentf658ca2c9fdaa19b2f68b6a9c8138ca0536d03c7 (diff)
downloadgdb-89295b4d6f980663e6bd35568e2b733659dc58df.zip
gdb-89295b4d6f980663e6bd35568e2b733659dc58df.tar.gz
gdb-89295b4d6f980663e6bd35568e2b733659dc58df.tar.bz2
2009-07-23 Paul Pluzhnikov <ppluzhnikov@google.com>
* symtab.c (search_symbols): Add QUIT.
Diffstat (limited to 'gdb/symtab.c')
-rw-r--r--gdb/symtab.c4
1 files changed, 4 insertions, 0 deletions
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 ||