Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* [RFA] watch for ^c in maint info {symtabs,psymtabs}
@ 2008-10-04  7:29 Doug Evans
  2008-10-04 12:48 ` Daniel Jacobowitz
  0 siblings, 1 reply; 4+ messages in thread
From: Doug Evans @ 2008-10-04  7:29 UTC (permalink / raw)
  To: gdb-patches

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))


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2008-10-04 18:15 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-10-04  7:29 [RFA] watch for ^c in maint info {symtabs,psymtabs} Doug Evans
2008-10-04 12:48 ` Daniel Jacobowitz
2008-10-04 16:57   ` Doug Evans
2008-10-04 18:15     ` Daniel Jacobowitz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox