From: Doug Evans <dje@google.com>
To: gdb-patches@sourceware.org
Subject: [PATCH] dwarf2read.c (dw2_expand_symtabs_matching): Add some QUIT calls.
Date: Mon, 30 Mar 2015 23:29:00 -0000 [thread overview]
Message-ID: <yjt2wq1y5aje.fsf@ruffy.mtv.corp.google.com> (raw)
Hi.
"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.
2015-03-30 Doug Evans <dje@google.com>
* dwarf2read.c (dw2_expand_symtabs_matching): Add some QUIT calls.
diff --git a/gdb/dwarf2read.c b/gdb/dwarf2read.c
index f6b0c01..b91fbf5 100644
--- a/gdb/dwarf2read.c
+++ b/gdb/dwarf2read.c
@@ -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;
next reply other threads:[~2015-03-30 23:29 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-03-30 23:29 Doug Evans [this message]
2015-04-15 20:27 ` Doug Evans
2015-04-15 21:35 ` Doug Evans
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=yjt2wq1y5aje.fsf@ruffy.mtv.corp.google.com \
--to=dje@google.com \
--cc=gdb-patches@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox