OSDN Git Service

r288@cf-ppc-macosx: monabuilder | 2008-12-07 13:17:34 +0900
[pf3gnuchains/pf3gnuchains3x.git] / gdb / gdbtk / library / ehandler.ith
1 # GDBEventHandler class definition for Insight.
2 # Copyright (C) 2001 Red Hat, Inc.
3 #
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.
8 #
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.
13
14 itcl::class GDBEventHandler {
15
16   constructor {args} {}
17   destructor {}
18
19   # Dispatching proc. ALL events should be funneled through this
20   # procedure.
21   public proc dispatch {event}
22
23   #
24   # Events
25   #
26
27   # See gdbevent.ith for descriptions of event
28   public {
29     # Breakpiont/tracepoint events
30     method breakpoint {event} {}
31     method tracepoint {event} {}
32
33     # Set variable
34     method set_variable {event} {}
35
36     # Busy event
37     method busy {event} {}
38
39     # Idle event
40     method idle {event} {}
41
42     # Update event
43     method update {event} {}
44
45     # Architecture changed event
46     method arch_changed {event} {}
47   }
48 }