From: Keith Seitz <keiths@cygnus.com>
To: Insight Maling List <insight@sources.redhat.com>
Subject: [PATCH] Run gdb_idle_hooks until all gone
Date: Thu, 31 May 2001 15:31:00 -0000 [thread overview]
Message-ID: <Pine.GSO.4.33.0105311527230.27811-100000@ryobi.cygnus.com> (raw)
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
}
reply other threads:[~2001-05-31 15:31 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=Pine.GSO.4.33.0105311527230.27811-100000@ryobi.cygnus.com \
--to=keiths@cygnus.com \
--cc=insight@sources.redhat.com \
/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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).