OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [trunk/] [insight/] [gdb/] [gdbtcl/] [ehandler.ith] - Blame information for rev 1765

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 578 markom
# GDBEventHandler class definition for Insight.
2
# Copyright 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
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
}

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.