This is the mail archive of the
insight@sources.redhat.com
mailing list for the Insight project.
[PATCH] Add dummy args to no_inferior_hook
- To: Insight Maling List <insight at sources dot redhat dot com>
- Subject: [PATCH] Add dummy args to no_inferior_hook
- From: Keith Seitz <keiths at cygnus dot com>
- Date: Fri, 1 Jun 2001 13:05:44 -0700 (PDT)
This patch fixes a small error with the no_inferior_hook in the console
window. Not going to be needed by next week, but, well...
Keith
ChangeLog:
2001-06-01 Keith Seitz <keiths@redhat.com>
* library/console.itb (constructor): Pass dummy argument
to idle method.
(destructor): Ditto.
Patch:
Index: library/console.itb
===================================================================
RCS file: /cvs/src/src/gdb/gdbtk/library/console.itb,v
retrieving revision 1.10
diff -u -p -r1.10 console.itb
--- console.itb 2001/05/31 20:32:57 1.10
+++ console.itb 2001/06/01 20:05:30
@@ -19,7 +19,7 @@ body Console::constructor {args} {
debug "$args"
_build_win
eval itk_initialize $args
- add_hook gdb_no_inferior_hook [list $this idle]
+ add_hook gdb_no_inferior_hook [list $this idle dummy]
# Right now the preferences window directly uses preference
# variables. This means that if we track the preference changes
@@ -38,7 +38,7 @@ body Console::constructor {args} {
body Console::destructor {} {
global gdbtk_state
set gdbtk_state(console) ""
- remove_hook gdb_no_inferior_hook [list $this idle]
+ remove_hook gdb_no_inferior_hook [list $this idle dummy]
# foreach option {gdb/console/wrap gdb/console/prompt_fg \
# gdb/console/error_fg gdb/console/font} {