From 0e428c78b5f6766187ede39c0cceeb2246cba9fa Mon Sep 17 00:00:00 2001 From: kseitz Date: Fri, 1 Jun 2001 20:05:55 +0000 Subject: [PATCH] * library/console.itb (constructor): Pass dummy argument to idle method. (destructor): Ditto. --- gdb/gdbtk/ChangeLog | 6 ++++++ gdb/gdbtk/library/console.itb | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/gdb/gdbtk/ChangeLog b/gdb/gdbtk/ChangeLog index bcd178bfd9..70090cb785 100644 --- a/gdb/gdbtk/ChangeLog +++ b/gdb/gdbtk/ChangeLog @@ -1,3 +1,9 @@ +2001-06-01 Keith Seitz + + * library/console.itb (constructor): Pass dummy argument + to idle method. + (destructor): Ditto. + 2001-05-31 Keith Seitz * library/interface.tcl (gdbtk_idle): Run hooks, too, diff --git a/gdb/gdbtk/library/console.itb b/gdb/gdbtk/library/console.itb index e1a600fb93..e6a89f5f9d 100644 --- a/gdb/gdbtk/library/console.itb +++ b/gdb/gdbtk/library/console.itb @@ -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} { -- 2.11.0