From 89295b4d6f980663e6bd35568e2b733659dc58df Mon Sep 17 00:00:00 2001 From: Paul Pluzhnikov Date: Thu, 23 Jul 2009 16:03:13 +0000 Subject: [PATCH] 2009-07-23 Paul Pluzhnikov * symtab.c (search_symbols): Add QUIT. --- gdb/ChangeLog | 4 ++++ gdb/symtab.c | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index b638a8ce5cb..ca7e063232c 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2009-07-23 Paul Pluzhnikov + + * symtab.c (search_symbols): Add QUIT. + 2009-07-22 Paul Pluzhnikov * symfile.c (symbol_file_add_with_addrs_or_offsets): Call observer. diff --git a/gdb/symtab.c b/gdb/symtab.c index 009c52d3251..c88156a0f3d 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 ||