OSDN Git Service

fa005a65c62a9bda8c6d96cce4182bdbcd6104a3
[pf3gnuchains/pf3gnuchains4x.git] / gdb / gdbtk / library / bpwin.ith
1 # Breakpoint window class definition for Insight
2 # Copyright (C) 1997, 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 itcl::class BpWin {
16   inherit EmbeddedWin GDBWin
17
18   public {
19     variable tracepoints 0
20
21     method constructor {args}
22     method destructor {}
23     method bp_select {r}
24     method bp_able { i } 
25     method bp_remove { i }
26     method bp_restore {}
27     method bp_store {}
28     method bp_type { i }
29     method bp_all { command }
30     method get_actions {bpnum}
31     method toggle_threads {}
32     method reconfig {} 
33     method goto_bp {r}
34
35     # GDB Events
36     method breakpoint {event}
37     method tracepoint {event}
38   }
39
40   private {
41     variable twin
42     variable next_row 0
43     variable index_to_bpnum
44     variable Index_to_bptype
45     variable temp
46     variable mbar 1
47     variable selected 0
48     variable bg1
49     variable Menu
50     variable show_threads       ;#cached copy of [pref get gdb/bp/show_threads]
51     
52     method build_win {}
53     method bp_add {bp_event {tracepoint 0}}
54     method bp_modify {bp_event {tracepoint 0}} 
55     method bp_delete {bp_event}
56     method _select_and_popup {bp X Y}
57   }
58
59 }