summaryrefslogtreecommitdiff
path: root/gdb/gdbtk/library/ehandler.ith
diff options
context:
space:
mode:
authorKeith Seitz <keiths@redhat.com>2001-06-04 15:49:53 +0000
committerKeith Seitz <keiths@redhat.com>2001-06-04 15:49:53 +0000
commit006bcd5475f3a1f622a646f0a3e1c4bb437412bc (patch)
tree0f34c4fa210161cceb0aeb731a8a6c60e71f19bf /gdb/gdbtk/library/ehandler.ith
parenta0019f14bb78d60963cc364663da0b26e52c3c18 (diff)
downloadgdb-006bcd5475f3a1f622a646f0a3e1c4bb437412bc.tar.gz
* library/interface.tcl (gdb_update_hook): Mark as deprecated.
(gdbtk_update): Dispatch and UpdateEvent, too. * library/ehandler.ith (update): New event handler. * library/gdbevent.ith (UpdateEvent): New event. * library/gdbevent.itb (UpdateEvent::constructor): New method. (UpdateEvent::get): New method. * library/kod.ith (udpate): Match event handler definition. * library/kod.itb (update): Ditto. (build_win): Pass dummy argument to update method. (top): Ditto. (up): Ditto. (set_variable): Ditto. * library/memwin.ith (update): Match event handler definition. * library/memwin.itb (update): Ditto. (constructor): Remove gdb_update_hook. (destructor): Ditto. * library/process.ith (update): Match event handler definition. * library/process.itb (update): Ditto. (constructor): Remove gdb_update_hook. (destructor): Ditto. (build_win): Pass dummy argument to update method. * library/regwin.ith (update): Match event handler definition. * library/regwin.itb (update): Ditto. (constructor): Remove gdb_update_hook. (destructor): Ditto. (build_win): Pass dummy argument to update method. (but3): Ditto. (unedit): Ditto. * library/stackwin.ith (update): Match event handler definition. * library/stackwin.itb (update): Ditto. (constructor): Remove gdb_update_hook. (destructor): Ditto. (build_win): Pass dummy argument to update method. * library/tdump.tcl (update): Match event handler definition. (constructor): Remove gdb_update_hook. (destructor): Ditto. (build_win): Pass dummy argument to update method. * library/variables.tcl (update): Match event handler definition. (build_win): Pass dummy argument to update method. * library/locals.tcl (update): Match event handler definition. (constructor): Pass dummy argument to update method. * library/watch.tcl (update): Match event handler definition. Pass dummy argument to VariableWin::update. (add): Pass dummy argument to update method. * library/srcwin.ith (update): New method. (update_hook_init): Remove. * library/srcwin.itb (update): New method. (constructor): Remove gdb_update_hook. (destructor): Ditto. * tclIndex: Regenerate.
Diffstat (limited to 'gdb/gdbtk/library/ehandler.ith')
-rw-r--r--gdb/gdbtk/library/ehandler.ith3
1 files changed, 3 insertions, 0 deletions
diff --git a/gdb/gdbtk/library/ehandler.ith b/gdb/gdbtk/library/ehandler.ith
index 3c3517d4583..0c3f21e1e3a 100644
--- a/gdb/gdbtk/library/ehandler.ith
+++ b/gdb/gdbtk/library/ehandler.ith
@@ -38,5 +38,8 @@ class GDBEventHandler {
# Idle event
method idle {event} {}
+
+ # Update event
+ method update {event} {}
}
}