From: dje@google.com (Doug Evans)
To: gdb-patches@sourceware.org
Subject: [RFA] watch for ^c in maint info {symtabs,psymtabs}
Date: Sat, 04 Oct 2008 07:29:00 -0000 [thread overview]
Message-ID: <20081004072825.1E2891C78EB@localhost> (raw)
If debugging a large app, it's painful if ^c doesn't work in
maint info {symtabs,psymtabs}.
Ok to check in?
2008-10-04 Doug Evans <dje@google.com>
* symmisc.c (maintenance_info_symtabs): Watch for ^c.
(maintenance_info_psymtabs): Ditto.
Index: symmisc.c
===================================================================
RCS file: /cvs/src/src/gdb/symmisc.c,v
retrieving revision 1.58
diff -u -p -u -p -r1.58 symmisc.c
--- symmisc.c 3 Oct 2008 16:36:10 -0000 1.58
+++ symmisc.c 4 Oct 2008 07:23:59 -0000
@@ -937,6 +937,8 @@ maintenance_info_symtabs (char *regexp,
actually find a symtab whose name matches. */
int printed_objfile_start = 0;
+ QUIT;
+
ALL_OBJFILE_SYMTABS (objfile, symtab)
if (! regexp
|| re_exec (symtab->filename))
@@ -988,6 +990,8 @@ maintenance_info_psymtabs (char *regexp,
actually find a symtab whose name matches. */
int printed_objfile_start = 0;
+ QUIT;
+
ALL_OBJFILE_PSYMTABS (objfile, psymtab)
if (! regexp
|| re_exec (psymtab->filename))
next reply other threads:[~2008-10-04 7:29 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-10-04 7:29 Doug Evans [this message]
2008-10-04 12:48 ` Daniel Jacobowitz
2008-10-04 16:57 ` Doug Evans
2008-10-04 18:15 ` Daniel Jacobowitz
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=20081004072825.1E2891C78EB@localhost \
--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