OSDN Git Service

* bpwin.itb (BpWin::goto_bp): Handle multiple source windows.
authorTom Tromey <tromey@redhat.com>
Thu, 7 Dec 2000 20:14:02 +0000 (20:14 +0000)
committerTom Tromey <tromey@redhat.com>
Thu, 7 Dec 2000 20:14:02 +0000 (20:14 +0000)
commit2dabfe8f7cbfe1cf3bb36745f9197c2c59382090
treed439533b1b44fa0c5453685cc4a9c62f62782185
parent792ea30b38e03a95ed414cd627f188f9403210d6
* bpwin.itb (BpWin::goto_bp): Handle multiple source windows.
* srctextwin.itb (SrcTextWin::get_file): New method.
(SrcTextWin::set_tag_to_stack): New method.
* srctextwin.ith (get_file): Declare.
* srcwin.ith (update_hook_init, window_list, pc_window): New
common variables.
(_choose_window, choose_and_update, is_fixed, get_file): Declare.
* srcwin.itb (SrcWin::_choose_window): New method.
(SrcWin::choose_and_update): Likewise.
(SrcWin::_update): Renamed from update.  Now private.  Added `loc'
argument.
(SrcWin::get_file): New method.
(SrcWin::is_fixed): Likewise.
(SrcWin::constructor): Only add update hook once.  Append this
object to window list.
(SrcWin::destructor): Don't add update hook.  Remove this object
from window list.  Clear pc_window if necessary.
(SrcWin::get_top): New method.
(SrcWin::_set_tag_to_stack): New method.
(SrcWin::choose_and_display): New method.
gdb/gdbtk/library/ChangeLog
gdb/gdbtk/library/bpwin.itb
gdb/gdbtk/library/srctextwin.itb
gdb/gdbtk/library/srctextwin.ith
gdb/gdbtk/library/srcwin.itb
gdb/gdbtk/library/srcwin.ith
gdb/gdbtk/library/tclIndex