* [PATCH] Run gdb_idle_hooks until all gone
@ 2001-05-31 15:31 Keith Seitz
0 siblings, 0 replies; only message in thread
From: Keith Seitz @ 2001-05-31 15:31 UTC (permalink / raw)
To: Insight Maling List
Hi,
I was a bit overzealous removing this hook: the stop button still uses it.
So we need to still run the hook(s) until this is fixed.
Keith
ChangeLog:
2001-05-31 Keith Seitz <keiths@redhat.com>
* library/interface.tcl (gdbtk_idle): Run hooks, too,
until they're all gone.
Patch:
Index: library/interface.tcl
===================================================================
RCS file: /cvs/src/src/gdb/gdbtk/library/interface.tcl,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -p -w -r1.24 -r1.25
--- interface.tcl 2001/05/31 20:32:57 1.24
+++ interface.tcl 2001/05/31 22:11:27 1.25
@@ -194,6 +194,11 @@ proc gdbtk_idle {} {
# could replace it.
gdb_restore_fputs
+ set err [catch {run_hooks gdb_idle_hook}]
+ if {$err} {
+ dbug E "Error running gdb_idle_hook: $::errorInfo"
+ }
+
set e [IdleEvent \#auto]
GDBEventHandler::dispatch $e
delete object $e
@@ -204,6 +209,7 @@ proc gdbtk_idle {} {
dbug E "no_inferior_hook error: $txt"
}
}
+
# Force the screen to update
update
}
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2001-05-31 15:31 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-05-31 15:31 [PATCH] Run gdb_idle_hooks until all gone Keith Seitz
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).