OSDN Git Service

* bpwin.itb (BpWin::goto_bp): Handle multiple source windows.
authortromey <tromey>
Thu, 7 Dec 2000 20:14:02 +0000 (20:14 +0000)
committertromey <tromey>
Thu, 7 Dec 2000 20:14:02 +0000 (20:14 +0000)
commit8a3d5b29072245f4fc412bf483f6c45a6219b6a9
treeb518eda8d98a52274af249b735c6bd8502e2fca7
parent8f6dd4b76bc86c259ffc0237fe9d38ba2656305b
* 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