Make info fun|var|types interruptable.

"info fun foo" can be a pain when it's not interruptable,
especially if you're not exactly sure of what you're looking for
and provide something that matches too much.

gdb/ChangeLog:

	* dwarf2read.c (dw2_expand_symtabs_matching): Add some QUIT calls.
This commit is contained in:
Doug Evans
2015-04-15 13:25:42 -07:00
parent 3888916da8
commit 61d96d7e2e
2 changed files with 8 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2015-04-15 Doug Evans <dje@google.com>
* dwarf2read.c (dw2_expand_symtabs_matching): Add some QUIT calls.
2015-04-15 Simon Marchi <simon.marchi@ericsson.com>
* python/lib/gdb/command/unwinders.py: Add parentheses.

View File

@ -3875,6 +3875,8 @@ dw2_expand_symtabs_matching
struct quick_file_names *file_data;
void **slot;
QUIT;
per_cu->v.quick->mark = 0;
/* We only need to look at symtabs not already expanded. */
@ -3935,6 +3937,8 @@ dw2_expand_symtabs_matching
offset_type *vec, vec_len, vec_idx;
int global_seen = 0;
QUIT;
if (index->symbol_table[idx] == 0 && index->symbol_table[idx + 1] == 0)
continue;