2001-01-26 Fernando Nasser * generic/gdbtk-cmds.c (gdb_clear_file): Call exec_file_clear() and symbol_file_clear() instead of exec_file_command() and symbol_file_command(). (gdb_find_file_command): Return the proper error text. 2001-01-25 Fernando Nasser * library/srcbar.itcl: New file. Implement SrcBar, a menu and toolbar for the Source Window (code previously in srcmenubar.itcl and srctoolbar.itcl). * library/srcmenubar.itcl: Remove obsolete file. * library/srctoolbar.itcl: Remove obsolete file. * library/srcbar.tcl: Remove obsolete file. * library/gdbmenubar.itcl (menubar_show): New method. Associate the menu with the toplevel window. * library/srcwin.itb (_build_win): Use SrcBar. * library/tclIndex: Regenerate. 2001-01-24 Fernando Nasser From Martin Hunt * generic/gdbtk-cmds.c (gdb_set_bp_addr, gdb_set_bp): Change strsave() to xstrdup(). 2001-01-24 Fernando Nasser From Martin Hunt * generic/gdbtk-cmds.c (gdbtk_dis_asm_read_memory): Fix call to xfer_memory(). 2001-01-19 Fernando Nasser * library/prefs.tcl (pref_set_defaults): Set default value of gdb/src/top_control to place the source window controls at the top. 2001-01-18 Fernando Nasser * library/srctextwin.itb (_highlightAsmLine): Add missing FUNCNAME parameter. (FillAssembly, FillMixed): Pass the FUNCNAME parameter that is needed by the above method. * library/srctextwin.ith (_highlightAsmLine): Add FUNCNAME parameter to method definition. 2001-01-17 Fernando Nasser * library/srctextwin.itb (_highlightAsmLine): Add missing FILENAME parameter. (FillAssembly, FillMixed): Pass the FILENAME parameter that is needed by the above method. * library/srctextwin.ith (_highlightAsmLine): Add FILENAME parameter to method definition. 2001-01-15 Fernando Nasser * srcwin.itb (clear_file): Pass the appropriate value to the GO argument of mode() so it does not try to read a source file when no executable is loaded. 2001-01-09 Fernando Nasser * library/srcmenubar.itcl (create_file_menu): Add missing incr for session numbers. 2001-01-04 Fernando Nasser The following changes fix the problem of having to click on a splash window to make it disapear. * modal.tcl (post): Take as an argument "expire", the time a modal window is displayed. * managedwin.itb (open): Check for an "expire" argument and pass the value down to modal post method. 2001-01-04 Fernando Nasser * library/gdbmenubar.itcl (set_class_state): New public method. Standard method to control state by class. (menubar_menu_class_find): Delete public accessor method. (menubar_change_menu_state): Change the state of a menu item not of a whole class list. * library/srcmenubar.itcl (enable_ui): Use set_class_state instead of prying into base class internal data. * library/gdbtoolbar.itcl (set_class_state): New public method. Standard method to control state by class. (toolbar_button_class_find): Delete public accessor method. * library/srctoolbar.itcl (enable_ui): Use set_class_state instead of prying into base class internal data. 2001-01-04 Fernando Nasser * library/interface.tcl (gdbtk_connect): New proc. Connects to ai remote target (code previously at library/gdbmenubar.itcl). (disconnect): Rename to... (gdbtk_disconnect): New name for proc disconnect. * library/srcmenubar.itcl (do_connect): Remove the code mentioned above and call the new interface proc gdbtk_connect. Also, call ::update idletasks after changing the state of the menu entries. (do_detach): Call gdbtk_disconnect, not ::disconnect (old name). (do_disconnect): Call gdbtk_disconnect, not disconnect (old name). 2001-01-03 Fernando Nasser * library/prefs.tcl (pref_set_defaults): Define gdb/src/top_control to allow the source window controls to be placed at the top. * library/srcwin.itb (_build_win): Test for gdb/src/top_control and place the controls accordingly. 2001-01-02 Fernando Nasser * library/gdbmenubar.itcl: New file. Define the GDBMenuBar class, a generic menubar building facility for Insight windows (WIP). * library/gdbtoolbar.itcl: New file. Define the GDBToolBar class, a generic toolbar building facility for Insight windows (WIP). * library/srcmenubar.itcl: New file. Define the SrcMenuBar class, which implements the Source Window menubar (inherits GDBMenuBar). * library/srctoolbar.itcl: New file. Define the SrcToolBar class, which implements the Source Window toolbar (inherits GDBToolBar). * library/srcwin.itb (_build_win): Use SrcMenuBar and SrcToolBar instead of the obsolete GDBSrcBar. * library/srcbar.tcl: Mark as OBSOLETE. * library/toolbar.tcl: Mark as OBSOLETE. Rename class GDBToolBar to avoid conflict with new class with the same name. * library/Makefile (TCL): Include .itcl files. * library/tclIndex: Regenerate. 2001-01-02 Fernando Nasser * library/srcwin.itb (_build_win): If gdb is running a program, load the window with source for that location (if available). (download_progress): Calls to "update" must refer to the global namespace. 2001-01-02 Fernando Nasser * library/interface.tcl (gdbtk_quit_check): Save session whenever possible. 2001-01-01 Fernando Nasser * library/ChangeLog-2000: New file. Entries dated 2000 moved here from library/ChangeLog. * library/ChangeLog: Removed. * generic/ChangeLog-2000: New file. Entries dated 2000 moved here from library/ChangeLog. * generic/ChangeLog: Removed. 2000-12-14 Fernando Nasser * library/ChangeLog-1999: New file. Entries dated 1999 moved here from library/ChangeLog. * library/ChangeLog-1998: New file. Similar change for 1998. * library/ChangeLog-1997: New file. Similar change for 1997. * library/ChangeLog: Removed entries previous to 2000. * generic/ChangeLog-1999: New file. Entries dated 1999 moved here from library/ChangeLog. * generic/ChangeLog-1998: New file. Similar change for 1998. * generic/ChangeLog-1997: New file. Similar change for 1997. * generic/ChangeLog: Removed entries previous to 2000. 2000-04-17 Jonathan Larmour * ChangeLog-gdbtk: Renamed to ChangeLog * ChangeLog: New file * README.GDBTK: No need for changelog-default-name hint for Emacs now Sat Feb 5 00:14:30 2000 Andrew Cagney * gdb.rc, gdbtool.ico, README.GDBTK: To here from top level GDB directory. * gdb/gdbtcl2: Directory moved to gdbtk/library. * gdb/gdbtk/generic: New directory.