diff options
author | Paul Pluzhnikov <ppluzhnikov@google.com> | 2009-07-23 16:03:13 +0000 |
---|---|---|
committer | Paul Pluzhnikov <ppluzhnikov@google.com> | 2009-07-23 16:03:13 +0000 |
commit | 89295b4d6f980663e6bd35568e2b733659dc58df (patch) | |
tree | 0cbf526d69ffe4851860624ca7b84f0bd9d3b01a | |
parent | f658ca2c9fdaa19b2f68b6a9c8138ca0536d03c7 (diff) | |
download | gdb-89295b4d6f980663e6bd35568e2b733659dc58df.zip gdb-89295b4d6f980663e6bd35568e2b733659dc58df.tar.gz gdb-89295b4d6f980663e6bd35568e2b733659dc58df.tar.bz2 |
2009-07-23 Paul Pluzhnikov <ppluzhnikov@google.com>
* symtab.c (search_symbols): Add QUIT.
-rw-r--r-- | gdb/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/symtab.c | 4 |
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 || |