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

Subversion Repositories or1k

[/] [or1k/] [trunk/] [insight/] [gdb/] [gdbtcl/] [regwin.ith] - Blame information for rev 578

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 578 markom
# Register display window class definition for Insight.
2
# Copyright 1998, 1999, 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
 
15
class RegWin {
16
  inherit EmbeddedWin GDBWin
17
 
18
  private {
19
    variable reg_display_list {}
20
    variable all_regs_shown    1
21
    variable disp_all_menu_item
22
    variable num_regs 0
23
    variable nRows
24
    variable nCols
25
    variable changed_reg_list {}
26
    variable oldValue
27
    variable ScrolledWin
28
    variable Menu
29
    variable Editing -1
30
    variable selected -1
31
    variable mbar 1
32
    variable reg_names_dirty 0
33
    variable Running 0
34
 
35
    common HighlightForeground {}
36
    common NormalForeground {}
37
 
38
    method init_reg_display_vars {args}
39
    method disassembly_changed {}
40
    method dimensions {}
41
    method fixLength {s size where}
42
    method build_win {}
43
  }
44
 
45
  public {
46
    proc save_reg_display_vars {}
47
 
48
    method constructor {args}
49
    method destructor {}
50
    method reg_select_up {}
51
    method reg_select_down {}
52
    method reg_select_right {}
53
    method reg_select_left {}
54
    method reg_select { r }
55
    method but3 {rn X Y}
56
    method display_all {}
57
    method delete_from_display_list {rn}
58
    method addToWatch {reg}
59
    method edit {r}
60
    method acceptEdit {r}
61
    method unedit {}
62
    method reconfig {}
63
 
64
    #
65
    # Gdb Events
66
    #
67
    method set_variable {event}
68
    method busy {event}
69
    method idle {event}
70
    method update {event}
71
  }
72
 
73
 
74
}
75
 

powered by: WebSVN 2.1.0

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