1 # GDBEventHandler class definition for Insight.
2 # Copyright (C) 2001 Red Hat, Inc.
4 # This program is free software; you can redistribute it and/or modify it
5 # under the terms of the GNU General Public License (GPL) as published by
6 # the Free Software Foundation; either version 2 of the License, or (at
7 # your option) any later version.
9 # This program is distributed in the hope that it will be useful,
10 # but WITHOUT ANY WARRANTY; without even the implied warranty of
11 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 # GNU General Public License for more details.
14 itcl::class GDBEventHandler {
19 # Dispatching proc. ALL events should be funneled through this
21 public proc dispatch {event}
27 # See gdbevent.ith for descriptions of event
29 # Breakpiont/tracepoint events
30 method breakpoint {event} {}
31 method tracepoint {event} {}
34 method set_variable {event} {}
37 method busy {event} {}
40 method idle {event} {}
43 method update {event} {}
45 # Architecture changed event
46 method arch_changed {event} {}