1 # Breakpoint window class definition for Insight
2 # Copyright (C) 1997, 1998, 1999, 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.
16 inherit EmbeddedWin GDBWin
19 variable tracepoints 0
21 method constructor {args}
25 method bp_remove { i }
29 method bp_all { command }
30 method get_actions {bpnum}
31 method toggle_threads {}
36 method breakpoint {event}
37 method tracepoint {event}
43 variable index_to_bpnum
44 variable Index_to_bptype
50 variable show_threads ;#cached copy of [pref get gdb/bp/show_threads]
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}