OSDN Git Service

* library/console.itb (constructor): Pass dummy argument
authorKeith Seitz <keiths@redhat.com>
Fri, 1 Jun 2001 20:05:55 +0000 (20:05 +0000)
committerKeith Seitz <keiths@redhat.com>
Fri, 1 Jun 2001 20:05:55 +0000 (20:05 +0000)
to idle method.
(destructor): Ditto.

gdb/gdbtk/ChangeLog
gdb/gdbtk/library/console.itb

index bcd178b..70090cb 100644 (file)
@@ -1,3 +1,9 @@
+2001-06-01  Keith Seitz  <keiths@redhat.com>
+
+       * library/console.itb (constructor): Pass dummy argument
+       to idle method.
+       (destructor): Ditto.
+
 2001-05-31  Keith Seitz  <keiths@redhat.com>
 
        * library/interface.tcl (gdbtk_idle): Run hooks, too,
index e1a600f..e6a89f5 100644 (file)
@@ -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} {