]> sourceware.org Git - insight.git/commit
Restructure breakpoint/tracepoint window code.
authorPatrick Monnerat <patrick@monnerat.net>
Sun, 24 Jun 2018 12:18:45 +0000 (14:18 +0200)
committerPatrick Monnerat <patrick@monnerat.net>
Sun, 24 Jun 2018 13:19:39 +0000 (15:19 +0200)
commit0178258133e86f537cad5d48f2a6c15f6d575c62
tree1b6bd25eb385fb0aa18e829f3057e754f608a14f
parent6dba775f849c17b9054bebff6c0db4139ba2f37b
Restructure breakpoint/tracepoint window code.

BpWin and TpWin classes are now subclasses of a new PointWin class.
PointWin implements the window layout and its subclasses only provide
specific content-related code. See gdbtk/library/pointwin.ith for more
details.

Condition, ignore count and hits count columns are also added.

* gdbtk/library/pointwin.ith (PointWin): new class.
  (PointWin::PointKind): new variable.
  (PointWin::MenuBar): new variable.
  (PointWin::Menu): new variable.
  (PointWin::columns): new variable.
  (PointWin::twin): new variable.
  (PointWin::selected): new variable.
  (PointWin::next_row): new variable.
  (PointWin::bg1): new variable.
  (PointWin::index_to_num): new variable.
  (PointWin::enabled): new variable.
  (PointWin::hidden): new variable.
* gdbtk/library/pointwin.itb (PointWin::constructor): new method.
  (PointWin::create_event): new method.
  (PointWin)::select): new method.
  (PointWin::enable_disable): new method.
  (PointWin::remove): new method.
  (PointWin::delete_point): new method.
  (PointWin::breakpoint): new method.
  (PointWin::tracepoint): new method.
  (PointWin::forall): new method.
  (PointWin::hide_column): new method.
  (PointWin::show_column): new method.
  (PointWin::change): new method.
  (PointWin::add): new method.
  (PointWin::modify): new method.
  (PointWin::restore): new method.
  (PointWin::_select_and_popup): new method.
  (PointWin::basename): new method.
  (PointWin::header): new method.
  (PointWin::global_menu): new method.
  (PointWin::local_menu): new method.
  (PointWin::update_local_menu): new method.
  (PointWin::goto): new method.
  (PointWin::store_details): new method.
* gdbtk/library/bpwin.it[hb] (BpWin): subclass of PointWin.
  (BpWin::tracepoints): removed.
  (BpWin::twin): removed.
  (BpWin::next_row): removed.
  (BpWin::index_to_bpnum): removed.
  (BpWin::Index_to_bptype): renamed BpWin::disposition.
  (BpWin::selected): removed.
  (BpWin::mbar): removed.
  (BpWin::bg1): removed.
  (BpWin::Menu): removed.
  (BpWin::show_threads): removed.
  (BpWin::constructor): moved to bpwin.ith.
  (BpWin::destructor): removed.
  (BpWin::build_win): removed.
  (BpWin::bp_add): renamed BpWin::add. Uses parent method.
  (BpWin::bp_store): renamed BpWin::store.
  (BpWin::bp_restore): removed.
  (BpWin::bp_select): removed.
  (BpWin:: _select_and_popup): removed.
  (BpWin::bp_modify): removed.
  (BpWin::bp_able): renamed BpWin::enable_disable. Uses parent method.
  (BpWin::bp_remove): removed.
  (BpWin::bp_type): renamed BpWin::set_type.
  (BpWin::bp_delete): removed.
  (BpWin::tracepoint): removed.
  (BpWin::bp_all): renamed BpWin::forall. Uses parent method.
  (BpWin::get_actions): removed.
  (BpWin::toggle_threads): Use parent methods hide_column/show_column.
  (BpWin::reconfig): removed.
  (BpWin::goto_bp): renamed BpWin::goto.
  (BpWin::global_menu): new overloaded method.
  (BpWin::local_menu): new overloaded method.
  (BpWin::update_local_menu): new overloaded method.
  (BpWin::header): new overloaded method.
  (BpWin::change): new overloaded method.
  (BpWin::get_point_list): new overloaded method.
* gdbtk/library/tpwin.itcl: deleted.
* gdbtk/library/tpwin.it[hb] (TpWin): subclass of PointWin.
  (TpWin::constructor): uses parent method.
  (TpWin::local_menu): new overloaded method.
  (TpWin::update_local_menu): new overloaded method.
  (TpWin::header): new overloaded method.
  (TpWin::change): new overloaded method.
  (TpWin::add): new overloaded method.
  (TpWin::store): new method.
  (TpWin::forall): new overloaded method.
  (TpWin::enable_disable): new overloaded method.
  (TpWin::remove): new overloaded method.
  (TpWin::tracepoint): new overloaded method.
  (TpWin::get_actions): new method.
  (TpWin::goto): new overloaded method.
  (TpWin::get_point_list): new overloaded method.
gdbtk/library/bpwin.itb
gdbtk/library/bpwin.ith
gdbtk/library/pointwin.itb [new file with mode: 0644]
gdbtk/library/pointwin.ith [new file with mode: 0644]
gdbtk/library/tclIndex
gdbtk/library/tpwin.itb [new file with mode: 0644]
gdbtk/library/tpwin.itcl [deleted file]
gdbtk/library/tpwin.ith [new file with mode: 0644]
This page took 0.083469 seconds and 5 git commands to generate.