From 1ab578bf12fc6986e6cd55477b78d7a1afc947d5 Mon Sep 17 00:00:00 2001 From: Stan Shebs Date: Fri, 2 Jan 1998 16:22:03 +0000 Subject: Moved all gdbtk change entries into new file ChangeLog-gdbtk --- gdb/.Sanitize | 2 +- gdb/ChangeLog-94 | 211 --------- gdb/ChangeLog-95 | 209 --------- gdb/ChangeLog-96 | 376 +--------------- gdb/ChangeLog-97 | 459 +------------------- gdb/ChangeLog-gdbtk | 1196 +++++++++++++++++++++++++++++++++++++++++++++++++++ 6 files changed, 1203 insertions(+), 1250 deletions(-) create mode 100644 gdb/ChangeLog-gdbtk (limited to 'gdb') diff --git a/gdb/.Sanitize b/gdb/.Sanitize index 4c13be8..7da9ce0 100644 --- a/gdb/.Sanitize +++ b/gdb/.Sanitize @@ -15,7 +15,7 @@ Do-first: -gdbtk_files="README.GDBTK gdbtk.c gdbtcl gdbtcl2 gdbtk.tcl" +gdbtk_files="ChangeLog-gdbtk README.GDBTK gdbtk.c gdbtcl gdbtcl2 gdbtk.tcl" if ( echo $* | grep lose\-gdbtk > /dev/null ) ; then lose_these_too="${gdbtk_files} ${lose_these_too}" diff --git a/gdb/ChangeLog-94 b/gdb/ChangeLog-94 index 74e176c..a691ace 100644 --- a/gdb/ChangeLog-94 +++ b/gdb/ChangeLog-94 @@ -2,13 +2,6 @@ Fri Dec 30 17:58:55 1994 Steve Chamberlain (sac@jonny.cygnus.com) * config/m68k/tm-est.h: Remove cruft. -start-sanitize-gdbtk -Fri Dec 30 15:49:00 1994 Stan Shebs - - * gdbtk.tcl (FSBox): New proc, File Selection Box code from exmh. - (not_implemented_yet): New proc. - (build_framework): Add various file commands to file menu. -end-sanitize-gdbtk Thu Dec 29 22:40:00 1994 Jeff Law (law@snake.cs.utah.edu) @@ -104,10 +97,6 @@ Fri Dec 23 17:03:13 1994 Steve Chamberlain (sac@jonny.cygnus.com) Fri Dec 23 16:18:50 1994 Stu Grossman (grossman@cygnus.com) * Makefile.in (CLIBS): Put LIBIBERTY last. -start-sanitize-gdbtk - * gdbtk.c (gdbtk_wait gdbtk_init): Portability improvements for - SIGIO handling. -end-sanitize-gdbtk Thu Dec 22 09:27:16 1994 Jim Kingdon @@ -136,45 +125,6 @@ Tue Dec 20 11:44:28 1994 Jim Kingdon (kingdon@lioth.cygnus.com) * value.h: Remove obsolete comments about FRAME vs struct frame_info *. -start-sanitize-gdbtk -Mon Dec 19 09:55:47 1994 Stu Grossman (grossman@cygnus.com) - - * gdbtk.tcl (update_assembly): Force update to make sure that pc - is visible when creating new assembly windows. - -Sun Dec 18 23:31:20 1994 Stu Grossman (grossman@cygnus.com) - - * gdbtk.c (gdbtk_wait gdbtk_init): Use different method of - enabling I/O interrupts for SVR4 (streams). - * (start_saving_output save_output get_saved_output - finish_saving_output flush_holdbuf gdbtk_flush gdbtk_fputs - gdbtk_init): - Totally revamp to use TCLs dynamic string functions. Also, quote - all data passed back to TCL to prevent errors with unmatched - braces, odd characters, etc... This fixes several wierd problems - with outputting strings containing unmatched braces. - * (breakpoint_notify gdb_loc): Use long hex format to output - addresses of breakpoints and PCs. This fixes some Alpha problems. - * (breakpoint_notify): Add stream arg to call to gdbtk_fputs. - * (gdb_listfiles): Also, go through the symtabs when looking for - files. This makes xcoff work (sort of), but probably breaks - something else. - * (gdb_stop): Return TCL_OK instead of nothing. This fixes odd - TCL errors when hitting stop button. - * (tk_command): Don't pass interp->result on to Tcl_{Var}Eval, as - that will trash the result. strdup the result instead and pass - that on. Improve error handling as well. - - * gdbtk.tcl (gdbtk_tcl_flush): Use global def of - current_output_win. Makes flushing actually work! - * (asm_win_name create_asm_win update_assembly): Bunch of fixes - to make assembly windows stop flashing when loading a new file. - * (gdbtk_tcl_busy gdbtk_tcl_idle): Use catch to prevent gdb_cmd - errors from losing control. - * (create_source_window): Add source file selection to View menu. - * (create_command_window ( binding): Quote text fed - into gdb_cmd to prevent eval errors. -end-sanitize-gdbtk Sun Dec 18 11:52:58 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) @@ -266,20 +216,6 @@ Thu Dec 15 16:40:10 1994 Stu Grossman (grossman@cygnus.com) * defs.h, main.c (gdb_fputs), top.c: Add stream arg to fputs_unfiltered_hook. * defs.h, top.c, utils.c (error): Add error_hook. -start-sanitize-gdbtk - * gdbtk.c: Improve mechanism for capturing output values. - (full_filename): Remove. - (gdb_cmd call_wrapper gdbtk_init): Protect all calls from tcl land - with call_wrapper. This prevents longjmps (usually via error()) - from jumping out of tcl/tk and leaving things in an indeterminate - state. - (gdbtk_fputs): Differentiate stdout from stderr when passing text - into tcl land. - * gdbtk.tcl: New view option to disable line numbers. Put catch - around most uses of gdb_cmd. Add update button to reg config - window. Stop doing immediate updates when selecting registers. - Change register view values into checkbuttons. -end-sanitize-gdbtk Tue Dec 13 15:15:33 1994 Stan Shebs @@ -300,15 +236,6 @@ Mon Dec 12 17:08:02 1994 Stan Shebs (INIT_EXTRA_FRAME_INFO): Call sparc_init_extra_frame_info. (PRINT_EXTRA_FRAME_INFO): Define. -start-sanitize-gdbtk -Mon Dec 12 16:59:29 1994 Stu Grossman (grossman@cygnus.com) - - * gdbtk.tcl (reg_config_menu create_registers_window - recompute_reg_display_list): Use array instead of individual vars - for register display list. - * (recompute_reg_display_list update_registers): Fix bug with not - displaying all registers. -end-sanitize-gdbtk Mon Dec 12 13:06:59 1994 Jim Kingdon @@ -320,22 +247,6 @@ Mon Dec 12 13:06:59 1994 Jim Kingdon not OBJ_UNWIND_INFO. Assigning to a cast is a GCC-ism which the HP compiler doesn't like. -start-sanitize-gdbtk -Mon Dec 12 12:22:21 1994 Stu Grossman (grossman@cygnus.com) - - * gdbtk.c: New tcl commands: gdb_fetch_registers, - gdb_changed_register_list, and gdb_regnames. - * gdbtk.tcl: Use monochrome color model for now. - * (delete_breakpoint_tag create_file_win): Add breakdot support. - * (create_file_win create_asm_win update_listing build_framework - create_source_window create_command_window): Re-org window - creation to give all windows consistent look and feel. - * (update_listing update_asm): Change pc pointer to '->'. - * (registers_command reg_config_menu create_registers_window - populate_reg_window update_registers): Revamp register window. - Allow selection of registers to be displayed. Highlight changed - registers. -end-sanitize-gdbtk Fri Dec 9 15:50:05 1994 Stan Shebs @@ -454,16 +365,6 @@ Mon Nov 28 11:03:14 1994 J.T. Conklin (jtc@rtl.cygnus.com) * config/rs6000/tm-rs6000.h (setpgrp): move defn from here... * config/rs6000/xm-rs6000.h: ...to here. -start-sanitize-gdbtk -Mon Nov 28 09:17:20 1994 Stu Grossman (grossman@cygnus.com) - - * gdbtk.tcl (build_framework): Fix bug with setting window titles. - - * gdbtk.tcl (build_framework): Add "Report bug" to help menu. - - * gdbtk.tcl: Re-arrange windows using new, consistent layout. Clean - up lots of code and centralize framework initialization. -end-sanitize-gdbtk Fri Nov 25 21:26:02 1994 Jeff Law (law@snake.cs.utah.edu) @@ -597,9 +498,6 @@ Wed Nov 16 16:41:52 1994 Stan Shebs (shebs@andros.cygnus.com) Wed Nov 16 15:28:29 1994 Rob Savoye (rob@cygnus.com) -start-sanitize-gdbtk - * Makefile.in: Fix the test for installing gdbtk. -end-sanitize-gdbtk * hppa-tdep.c: Remove including sys/dir.h from a target file. @@ -633,14 +531,6 @@ Tue Nov 15 01:03:56 1994 Rob Savoye (rob@slipknot.cygnus.com) to set remote load type and protocol. * rom68k-rom.c: Add to_stop in target_ops. -start-sanitize-gdbtk -Mon Nov 14 08:51:29 1994 Stu Grossman (grossman@cygnus.com) - - * Makefile.in: Install gdbtk.tcl. - * configure.in: Add ENABLE_GDBTK flag. - * gdbtk.c (gdb_sourcelines): Returns list of source lines - containing code. (gdb_regnames): Returns list of register names. -end-sanitize-gdbtk Sat Nov 12 21:55:47 1994 Jeff Law (law@snake.cs.utah.edu) @@ -821,9 +711,6 @@ Thu Nov 3 14:25:24 1994 Stu Grossman (grossman@cygnus.com) remote-nindy.c, remote-os9k.c, remote-pa.c, remote-sim.c, remote-st.c, remote-udi.c, remote-vx.c, remote-z8k.c, remote.c, w89k-rom.c, target.c, target.h: Add support for target_stop(). -start-sanitize-gdbtk - * gdbtk.c (gdb_stop): Switch to target_stop(). -end-sanitize-gdbtk Thu Nov 3 01:23:45 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) @@ -844,18 +731,6 @@ Wed Nov 2 11:01:55 1994 J.T. Conklin (jtc@phishhead.cygnus.com) * nlm/Makefile.in: install gdbserve.nlm. -start-sanitize-gdbtk -Tue Nov 1 16:41:12 1994 Stu Grossman (grossman@cygnus.com) - - * Makefile.in: Use $(objdir)/tcl and $(objdir)/tk if they are - available. - * configure.in (ENABLE_CLIBS): Use $(TCL) and $(TK) instead of - -ltcl and -ltk. - * gdbtk.c: Get rid of lots of unnecessary #includes. - * (gdbtk_init): Use ConnectionNumber macro instead of referencing - Display structure directly. - * gdbtk.tcl: Change exit button to quit button. -end-sanitize-gdbtk Tue Nov 1 13:00:46 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) @@ -928,9 +803,6 @@ Wed Oct 26 15:41:07 1994 Stu Grossman (grossman@cygnus.com) * defs.h, main.c, top.c: Change sense and name of no_windows variable. Now called use_windows, and defaults to off (for compatibility). -start-sanitize-gdbtk - * gdbtk.c: Ditto. -end-sanitize-gdbtk Wed Oct 26 12:20:53 1994 Jim Kingdon @@ -959,28 +831,6 @@ Thu Oct 20 17:35:45 1994 Stu Grossman (grossman@cygnus.com) target_wait_hook to allow GUI to handle blocking for inferior. Call call_command_hook in execute_command to provide means for wrapping commands with GUI state change updates. -start-sanitize-gdbtk - * gdbtk.c (gdb_cmd): Force GUI into idle mode when errors occur. - * (gdb_stop): New tcl command to stop the target process. - * (x_event, gdbtk_wait): Allow GUI to interrupt gdb out of target - waits. - * (gdbtk_call_command): Wrapper around command processing to - alert GUI of target state changes. - * (gdbtk_init): Get the fd of X server for doing async - notification of X events (via x_event). Setup new hooks. - * gdbtk.tcl: Add scrollbars to assembly and command windows. - * Change window foreground & background colors. - * Create margin tag for breakpoints in source and assembly windows. - * Add new routines to be invoked when target state changes to/from - idle. - * Add start of expression window. - * Change bindings of mouse button 1 in assembly and source window - to just set or clear breakpoints when in the margin tag. - * Change shape of register window to be more vertical to better - reflect its contents. - * Add stop button. - * Cleanup some code around command window bindings. -end-sanitize-gdbtk * infrun.c (wait_for_inferior): Make sure through_sigtramp_breakpoint is non-null before deleting. @@ -1561,11 +1411,6 @@ Mon Sep 19 07:48:36 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) char * (from const char *) before assigning. Don't save string we pass to record_minimal_symbol (it already saves it). -start-sanitize-gdbtk -Sat Sep 17 17:05:14 1994 Stu Grossman (grossman@cygnus.com) - - * gdbtk.tcl: Let ^U delete lines in the command window. -end-sanitize-gdbtk Sat Sep 17 02:26:58 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) @@ -1615,19 +1460,6 @@ Fri Sep 16 15:40:34 1994 Stu Grossman (grossman@cygnus.com) * defs.h (QUIT): Call interactive_hook to allow GUI to interrupt. Also, add decl for symtab_to_filename. -start-sanitize-gdbtk - * gdbtk.c: Replace calls to full_filename with symtab_to_filename. - * gdbtk.tcl: New routine pc_to_line replaces in line code. New - routine decr replaces in line code. - * (create_file_win): Use catch to handle open failures more - elegantly. Also, create special window to display file open - failure message. Move opening of file prior to creation of text - widget. - * (create_asm_win): Add PC as argument. We now base disassembly - on PC instead of function name, since function names can be - ambiguous (usually seen with shared libs). Also, use catch to - simplify code where we don't care about failures. -end-sanitize-gdbtk * source.c (symtab_to_filename): New. Returns the file associated with a symtab. * top.c: Define interactive_hook. Called during QUIT to animate @@ -1674,18 +1506,6 @@ Wed Sep 14 14:26:21 1994 Jim Kingdon (kingdon@lioth.cygnus.com) Having the objfile point to bfd_asymbol_name directly doesn't work if we save and restore a mapped symbol file. -start-sanitize-gdbtk -Wed Sep 14 00:55:26 1994 Stu Grossman (grossman@cygnus.com) - - * gdbtk.tcl: Add ref counts to breakpoint tags. - * Put quotes around function name in disassemble command to better - handle assembler names containing `.'. - * Make pclist element 0 be filler to avoid off-by-one problem with - line numbers. - * Set names of top-level windows. - * Add register display window. - * Add PC to label of assembly window. -end-sanitize-gdbtk Tue Sep 13 18:23:26 1994 Rob Savoye (rob@darkstar.cygnus.com) @@ -1693,25 +1513,6 @@ Tue Sep 13 18:23:26 1994 Rob Savoye (rob@darkstar.cygnus.com) to add a generic ROM monitor interface, and support file for the WinBond W89K and the Oki OP50N PA based target boards. -start-sanitize-gdbtk -Tue Sep 13 08:59:04 1994 Stu Grossman (grossman@cygnus.com) - - * gdbtk.c (gdbtk_flush gdbtk_fputs): Buffer up output to make - disassembly more efficient. - * (breakpoint_notify): Include pc in gdbtk_tcl_breakpoint - callback. - * (gdb_loc): Include pc in return value. Also, return function - name if arg was specified. - * (gdb_cmd_stub): Call gdb_flush to drain internal GDB buffers - after command completes. - * (gdbtk_init): Improve error handling. - - * gdbtk.tcl: Add lots of comments. Clean up code. - * (gdbtk_tcl_fputs): Make output window redirectable. - * Add assembly window, and breapoint support. - * Make button 1 in margin toggle breakpoints. - * Use stippling to indicate breakpoint disabling. -end-sanitize-gdbtk Sun Sep 11 22:34:57 1994 Jeff Law (law@snake.cs.utah.edu) @@ -1839,11 +1640,6 @@ Sun Sep 4 16:06:34 1994 Stan Shebs (shebs@andros.cygnus.com) * config/mips/nm-sysv4.h: New file, includes config/nm-sysv4.h. * config/sparc/nm-sysv4.h: New file, includes config/nm-sysv4.h. -start-sanitize-gdbtk -Fri Sep 2 19:11:40 1994 Stu Grossman (grossman@cygnus.com) - - * configure.in: Don't symlink to gdbtk.tcl if it's already there. -end-sanitize-gdbtk Fri Sep 2 17:35:55 1994 J.T. Conklin (jtc@phishhead.cygnus.com) @@ -2497,13 +2293,6 @@ Thu Jul 28 14:37:36 1994 Stu Grossman (grossman@cygnus.com) * Change _initialize_utils to initialize_utils cuz we don't use automatic initialization of utils.c anymore. -start-sanitize-gdbtk - * Support for TK GUI. - * Makefile.in: Add rule for gdbtk.o. - * configure.in: Add support for --enable-gdbtk. - * gdbtk.c: New file. Contains support routines for TK interface. - * gdbtk.tcl: New file. Implements GUI policy. -end-sanitize-gdbtk * remote.c: Get rid of #ifdef DONT_USE_REMOTE. It's no longer necessary. diff --git a/gdb/ChangeLog-95 b/gdb/ChangeLog-95 index bb7e152..b35da0b 100644 --- a/gdb/ChangeLog-95 +++ b/gdb/ChangeLog-95 @@ -3,12 +3,6 @@ Fri Dec 29 16:30:58 1995 Stan Shebs * symfile.c (find_sym_fns): Add PowerMac to xcoff file recognition kludge. -start-sanitize-gdbtk -Thu Dec 28 15:10:49 1995 Stan Shebs - - * README.GDBTK: Polish introductory paragraph. -end-sanitize-gdbtk - Fri Dec 22 11:05:59 1995 Michael Meissner * configure.in (gdb_host): Add support for DG/UX running on x86 as @@ -1014,10 +1008,6 @@ Mon Oct 16 11:27:06 1995 Stu Grossman (grossman@cygnus.com) * config/mips/idt.mt (TDEPFILES): Remove remote-array.o. This has *nothing* to do with IDT!!! -start-sanitize-gdbtk - * gdbtk.c (gdb_disassemble): Use fprintf_unfiltered instead of - fprintf_filtered. -end-sanitize-gdbtk * Makefile.in sh3-rom.c config/sh/sh.mt config/sh/tm-sh.h: Add sh3 monitor support. @@ -1079,9 +1069,6 @@ Tue Oct 10 15:26:39 1995 Fred Fish * Makefile.in (VERSION): Version 4.15 released. * README: Updated for version 4.15. -start-sanitize-gdbtk - * README.GDBTK: Updated for version 4.15 -end-sanitize-gdbtk * NEWS: Updated for 4.15 release. Tue Oct 10 13:18:50 1995 Fred Fish @@ -1617,13 +1604,6 @@ Mon Aug 21 00:45:17 1995 Jeff Law (law@snake.cs.utah.edu) that we're using autoconf. (uninstall): Likewise. -start-sanitize-gdbtk -Sat Aug 19 17:20:22 1995 Michael Tiemann - - * gdbtk.tcl: ENABLE comes back as "1" or "0", not "enable" or - "disable". - Also, wire up the breakpoint window so that it can be demo'd. -end-sanitize-gdbtk Sat Aug 19 01:19:34 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) @@ -1845,9 +1825,6 @@ Tue Aug 1 11:44:53 1995 J.T. Conklin symmisc.c, symtab.c, target.c, top.c, typeprint.c, utils.c, valarith.c, valops.c, valprint.c, values.c, xcoffread.c: Include "gdb_string.h" instead of . -start-sanitize-gdbtk - * gdbtk.c: Likewise. -end-sanitize-gdbtk * config/xm-sysv4.h, i386/xm-ptx.h, m68k/xm-sun3os4.h, sparc/xm-sun4os4.h (HAVE_MMAP): Removed. @@ -2410,22 +2387,6 @@ Tue Jun 20 12:03:36 1995 Stan Shebs if its value is 0. * w89k-rom.c (w89k_open): Define to be static. -start-sanitize-gdbtk -Tue Jun 20 10:19:40 1995 Stu Grossman (grossman@cygnus.com) - - * gdbtk.c: Add functions Tcl_Malloc, Tcl_Realloc, and Tcl_Free. - - * gdbtk.tcl (add_breakpoint_frame): Add more fields. - * (create_file_win create_asm_win build_framework): Create null - bindings for meta keys to keep window from dropping down to - insertion point when meta is pressed by itself. New bindings: - Up/Down - Scroll up/down one line at a time - Next/Prior - Scroll up/down one page at a time - Home/End - Warp to current pc/end of file - * (build_framework): Turn on breakpoint menu. - * (create_command_window): Implement tab completion. Add binding - for ^C to stop target. -end-sanitize-gdbtk Sat Jun 17 10:17:16 1995 Jeff Law (law@snake.cs.utah.edu) @@ -2713,9 +2674,6 @@ Fri May 19 06:15:40 1995 Jim Kingdon remote-mips.c, remote-os9k.c, remote-st.c: Conditionalize use of stdarg rather than varargs on ANSI_PROTOTYPES not __STDC__; it must match the definition of PARAMS. -start-sanitize-gdbtk - * gdbtk.c: Likewise. -end-sanitize-gdbtk Thu May 18 15:58:46 1995 J.T. Conklin @@ -2730,9 +2688,6 @@ Thu May 18 15:58:46 1995 J.T. Conklin * remote-mips.c (mips_error): Likewise. * remote-os9k.c (printf_monitor): Likewise. * remote-st.c (printf_stdebug): Likewise. -start-sanitize-gdbtk - * gdbtk.c (gdbtk_query): Likewise. -end-sanitize-gdbtk * defs.h, complaints.h, language.h, monitor.h: Add prototypes to match above changes. @@ -3072,16 +3027,6 @@ Sat Apr 15 14:04:32 1995 Per Bothner * alpha-tdep.c (alpha_push_arguments): Only cast to long for TYPE_CODE_INT. -start-sanitize-gdbtk -Sat Apr 15 13:52:24 1995 Stan Shebs - - * gdbtk.c (gdb_disassemble): Read from inferior if connected - to a VxWorks target. - -Fri Apr 14 10:18:20 1995 Stu Grossman (grossman@cygnus.com) - - * README.GDBTK: New file. Contains the obvious. -end-sanitize-gdbtk Thu Apr 13 16:17:04 1995 Rob Savoye @@ -3178,12 +3123,6 @@ Tue Apr 11 09:35:20 1995 Jim Kingdon (kingdon@lioth.cygnus.com) * nlm/Makefile.in: Remove comments discussing munch. -start-sanitize-gdbtk -Tue Apr 11 11:07:12 1995 Michael Meissner - - * gdbtk.c (gdbtk_init): If SIOCSPGRP is not available, but - F_SETOWN is, use that. -end-sanitize-gdbtk Mon Apr 10 18:31:57 1995 Stan Shebs @@ -3417,16 +3356,6 @@ Thu Apr 6 17:00:46 1995 Michael Meissner (X11_LIB_SWITCHES): Define as empty. (X11_LIBS): Define as -lX11. -start-sanitize-gdbtk - * configure.in (enable_gdbtk): If gdbtk, support the --x-includes - and --x-libraries switches, setting the X11_INCLUDES and - X11_LIB_SWITCHES respectively. Instead of using a hardcoded -lX11 - in ENABLE_CLIBS, use the X11_LIB_SWITCHES and X11_LIBS variables. - - * gdbtk.c (gdbtk_init): If SIOCSPGRP is not available, don't use - it. This means that the stop button doesn't work, but is better - than nothing. -end-sanitize-gdbtk Wed Apr 5 19:57:38 1995 Jim Kingdon (kingdon@lioth.cygnus.com) @@ -3483,13 +3412,6 @@ Wed Mar 29 18:30:03 1995 Stan Shebs Wed Mar 29 17:09:29 1995 Stu Grossman (grossman@cygnus.com) -start-sanitize-gdbtk - * Makefile.in (gdbtk.o): Use X11_CFLAGS to provide alternate - locations (per-host) for X11 include files. - * config/pa/hppahpux.mh (XM_CLIBS): Add -L/usr/lib/X11R5 to force - the use of R5 libs. (X11_CFLAGS): Add this to indicate the locs - of the R5 include files. -end-sanitize-gdbtk * monitor.c monitor.h remote-est.c rom68k-rom.c: Add start of support for interrupting target. * monitor.c (monitor_open): Send stop command before doing @@ -3818,10 +3740,6 @@ Wed Mar 8 23:35:10 1995 Jeff Law (law@snake.cs.utah.edu) Wed Mar 8 16:12:21 1995 Stu Grossman (grossman@cygnus.com) -start-sanitize-gdbtk - * gdbtk.c (gdb_get_breakpoint_info): Return error if breakpoint - type is not bp_breakpoint. -end-sanitize-gdbtk * source.c (forward_search_command reverse_search_command): Set convenience variable $_ to be the line # of the match. @@ -4113,43 +4031,6 @@ Tue Feb 14 17:16:41 1995 Stu Grossman (grossman@cygnus.com) * annotate.c, breakpoint.c, defs.h, top.c: Replace enable/disable_breakpoint_hook with modify_breakpoint_hook. -start-sanitize-gdbtk - * gdbtk.c: Ditto. - * gdbtk.c: General cleanups, get rid of unused variables. Redo - handling of stdout/stderr to just return output as the result of - the tcl command that caused the output. Cleanup -Wall stuff. - * (breakpoint_notify): Now returns just action and breakpoint - number. - * (gdb_get_breakpoint_list): New routine. Does the obvious. - * (gdb_get_breakpoint_info): Mostly derived from the old - breakpoint_notify, but returns lots more info. - * (dsprintf_append_element): Helper routine, works like printf, - but appends a tcl element onto the specified DString. Good for - building up lists as return values. - * (gdbtk_enable/disable_breakpoint): Go away. Replaced with - gdbtk_modify_breakpoint. - * (*many routines*): Use new result protocol. - * (call_wrapper): Make sure that recursive calls don't trash results. - * gdbtk.tcl: New windows, autocmd, and breakpoints. - * (gdbtk_tcl_fputs): Don't use $current_output_win redirection - anymore. It's not needed (in fact, this routine may not be needed - anymore). - * (gdbtk_tcl_breakpoint): Change to reflect new breakpoint - notification protocol. - * (gdbtk_tcl_busy gdbtk_tcl_idle): Straighten out buttons, remove - catches. - * (interactive_cmd): Use this wrapper around button invocations - of many commands. This will catch errors and put the results into - the command window. It also updates all the other windows. - * Also, change reliefs of most things to sunken. This actually - looks better. - * (create_file_win): Fix margin binding to allow breakpoints to - work again. - * (create_asm_win): Use return value of gdb_disassemble instead - of implicit I/O to the command window. - * (create_command_window): Use new result protocol to get output - from commands. -end-sanitize-gdbtk Tue Feb 14 16:58:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com) @@ -4323,13 +4204,6 @@ Mon Feb 6 14:44:36 1995 Rob Savoye GDB. * mips-tdep.c: Add LSI33k register names and processor type. -start-sanitize-gdbtk -Sun Feb 5 20:32:44 1995 Jim Kingdon (kingdon@lioth.cygnus.com) - - * gdbtk.c (gdb_disassemble): Deference pointer to function before - calling it (pre-ANSI compilers generally require this). - -end-sanitize-gdbtk Sat Feb 4 13:29:52 1995 Stan Shebs * config/m68k/est.mt (TDEPFILES): Remove m68k-pinsn.o. @@ -4339,9 +4213,6 @@ Fri Feb 3 11:19:20 1995 Stu Grossman (grossman@cygnus.com) * core.c (dis_asm_read_memory), defs.h, top.c: Get rid of dis_asm_read_memory_hook. We can now call the disassemblers directly and have no need for this hook anymore. -start-sanitize-gdbtk - * gdbtk.c (gdb_disassemble): Ditto. -end-sanitize-gdbtk * defs.h, printcmd.c: Make print_insn be static. * ser-go32.c (dos_comisr): Make this 8 bit clean. @@ -4534,10 +4405,6 @@ Tue Jan 31 09:40:11 1995 Jim Kingdon (kingdon@lioth.cygnus.com) actually present. Mon Jan 30 17:34:24 1995 Stu Grossman (grossman@cygnus.com) -start-sanitize-gdbtk - * gdbtk.tcl (create_file_win): Disable old popup menu for source - window. -end-sanitize-gdbtk * sparcl-tdep.c: Add `sparclite' target for doing serial and udp downloads to SPARClite demo boards. @@ -4637,14 +4504,6 @@ Wed Jan 25 18:13:14 1995 Per Bothner (value_subscript): Use enhanced value_subscripted_rvalue if c_style_arrays is false (and index is in range). -start-sanitize-gdbtk -Wed Jan 25 18:23:46 1995 Stu Grossman (grossman@cygnus.com) - - * gdbtk.c (gdbtk_init): Prevent segfault when gdbtk.tcl can't be - found. - * gdbtk.tcl: Initialize expr_update_list() to prevent errors when - popping up expression window for the first time. -end-sanitize-gdbtk Wed Jan 25 18:13:14 1995 Per Bothner @@ -4662,21 +4521,6 @@ Wed Jan 25 01:11:21 1995 Jeff Law (law@snake.cs.utah.edu) * hpread.c (hpread_process_one_debug_symbol): Fix lines garbled by an ill-advised global search and replace. -Tue Jan 24 12:10:28 1995 Stu Grossman (grossman@cygnus.com) - - * gdbtk.tcl (create_registers_window): Work around a radiobutton - widget bug to make Options|Natural button work. - - * gdbtk.c (gdb_disassemble): Fix problem with source+assembly and - g++ caused by out-of-order pc's. - * gdbtk.tcl (files_command): Remove duplicate file names. Also, - add scrollbar. - -Mon Jan 23 17:21:09 1995 Stu Grossman (grossman@cygnus.com) - - * gdbtk.tcl: Take .gdbtkinit if it exists. Makes gdbtk match the - doc! - Mon Jan 23 13:11:46 1995 Per Bothner Add support for Chill bitstring literals (e.h. H'FF00'). @@ -4895,14 +4739,6 @@ Thu Jan 12 21:23:25 1995 Per Bothner put into the enum type, they must be inserted in "backwards order, in case we've overflowed a struct pending buffer. -start-sanitize-gdbtk -Thu Jan 12 15:02:40 1995 Stu Grossman (grossman@cygnus.com) - - * gdbtk.c, gdbtk.tcl: Update/add copyright. - * gdbtk.tcl (build_framework): Several fixes for filespec widget, - including dismiss button, and better error handling. - * (create_command_win): Bind button 2 to retrieve selection. -end-sanitize-gdbtk Thu Jan 12 09:33:24 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) @@ -4949,21 +4785,6 @@ Thu Jan 12 09:33:24 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) (_initialize_procfs): Don't add procfs support if we have an optional procfs and /proc is not accessible. -start-sanitize-gdbtk -Wed Jan 11 17:06:55 1995 Stu Grossman (grossman@cygnus.com) - - * gdbtk.tcl: Add button to control mixed source disassembly. - Use text widgets in expr window. The give me more control over - layout. - Add auto-updating of exprs in expression window. - Handle expressions out of scope a bit better. - Make selected window pop up to the top when invoked via the - menubar. - Make copyright message have raised relief. - - * gdbtk.c (gdbtk_init): Improve handling for errors in gdbtk.tcl - during startup. -end-sanitize-gdbtk Wed Jan 11 17:53:26 1995 Rob Savoye @@ -5043,42 +4864,12 @@ Thu Jan 5 17:38:29 1995 Stu Grossman (grossman@cygnus.com) * top.c: Make window startup be the default. * Add dis_asm_read_memory_hook. -start-sanitize-gdbtk - * gdbtk.c (finish_saving_output): Don't do anything if not saving - output. - * (breakpoint_notify): Don't send null filename to tcl. - * (gdb_eval): New tcl command to eval an expression. - * (gdb_disassemble): New tcl command to do disassembly. This - allows tcl code to choose between exec file and target memeory, - and can also do mixed source and assembly. - * (gdbtk_init): Move reading of gdbtk.tcl to the end to make sure - that more of the environment is set up. Also, create link between - gdb and tcl vars disassemble{-_}from{-_}exec. - - * gdbtk.tcl: New expression window support. - * Make assembly window be 80 columns wide. - * Use new disassembly method. Add menu items to select - disassembly from exec file or target. - * Change View menubar item to Options. - - * Get rid of Stack, Breakpoints, Signals, and Variables Windows, - since they don't exist yet. - - * Pop up a copyright window on startup. -end-sanitize-gdbtk Thu Jan 5 01:16:40 1995 Jeff Law (law@snake.cs.utah.edu) * stabsread.c (define_symbol): Handle `a' symbol type used for reference parameter passed in a register. -start-sanitize-gdbtk -Wed Jan 4 19:49:10 1995 Stan Shebs - - * gdbtk.tcl (build_framework): Add standard commands menu, more - windows to standard windows menu. - (not_implemented_yet): Clarify message. -end-sanitize-gdbtk Wed Jan 4 12:27:29 1995 Kung Hsu diff --git a/gdb/ChangeLog-96 b/gdb/ChangeLog-96 index 3cee54c..64873df 100644 --- a/gdb/ChangeLog-96 +++ b/gdb/ChangeLog-96 @@ -188,10 +188,6 @@ Thu Dec 12 13:29:14 1996 Michael Meissner * config/powerpc/ppc{,le}-sim.mt (SIM): Add the simulator common library ../sim/common/libcommon.a. -Wed Dec 11 18:51:35 1996 Mark Alexander - - * gdbtk.c (gdb_loc): Correct truncation of PC on 64-bit MIPS. - Wed Dec 11 11:15:08 1996 Doug Evans * monitor.c (monitor_load): Add support for load address argument. @@ -609,19 +605,6 @@ Wed Nov 20 00:43:09 1996 Doug Evans * config/h8300/h8300.mt (SIM): Change to ../sim/h8300/libsim.a. * config/h8500/h8500.mt (SIM): Change to ../sim/h8500/libsim.a. -start-sanitize-gdbtk -Tue Nov 19 09:26:14 1996 Tom Tromey - - * gdbtk.c (gdbtk_readline): Fix memory leak. - -Mon Nov 18 23:43:05 1996 Tom Tromey - - Fixes for Tcl 7.6 / Tk 4.2: - * gdbtk.tcl (apply_filespec): Use tk_getOpenFile. - Remove old fileselect code. - * gdbtk.c (Tcl_Alloc): Rename from Tcl_Malloc. - -end-sanitize-gdbtk Mon Nov 18 15:58:05 1996 Jim Wilson * config/mips/tm-mips.h (FIX_CALL_DUMMY): Change unsigned LONGEST @@ -1192,10 +1175,6 @@ Fri Sep 27 10:25:30 1996 Fred Fish add prototype. (main): Call print_gdb_help rather than inlining it. (main): Remove call to print_gnu_advertisement. -start-sanitize-gdbtk - * gdbtk.tcl (create_copyright_window): Increase timeout from - 15 seconds to 30 seconds. -end-sanitize-gdbtk Fri Sep 27 13:32:53 1996 Michael Meissner @@ -1349,10 +1328,6 @@ Wed Sep 4 17:28:40 1996 Stu Grossman (grossman@critters.cygnus.com) * (breakpoint_inserted_here_p): New func, just like breakpoint_here_p, except it's honest. Honestly. * breakpoint.h: Proto for above. -start-sanitize-gdbtk - * configure configure.in: Add host *windows* to list of hosts - that don't support GDBtk. -end-sanitize-gdbtk * configure configure.in: Add mswin to configdirs if host is i[3456]86-*-windows. * core-aout.c (fetch_core_registers register_addr) gdbcore.h: @@ -1469,12 +1444,6 @@ Fri Aug 23 13:55:05 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) * infrun.c (wait_for_inferior): Try to reenable shared library breakpoints even if auto_solib_load is not set. -Fri Aug 23 00:44:57 1996 Fred Fish - - * gdbtk.c (gdbtk_init): Check for a DISPLAY env variable and - gracefully degrade to using command line interface if none is - found. - Wed Aug 21 16:31:27 1996 Fred Fish * valprint.c (print_longest): Test for CC_HAS_LONG_LONG as well as @@ -1656,13 +1625,6 @@ Sun Aug 11 20:54:16 1996 Stu Grossman (grossman@critters.cygnus.com) * main.c (main): Make sure command loop is used with cygwin32. * terminal.h: Allow cygwin32 to use termios.h. -start-sanitize-gdbtk -Fri Aug 9 12:32:53 1996 Tom Tromey - - * Makefile.in (LIB_INSTALL_DIR): New macro. - (TCL): Include @TCL_LD_SEARCH_FLAGS@. - -end-sanitize-gdbtk Fri Aug 9 12:42:49 1996 Jeffrey A Law (law@cygnus.com) * somread.c (som_symtab_read): Handle secondary definition @@ -1731,22 +1693,6 @@ Sat Aug 3 04:02:46 1996 Fred Fish (MMALLOC_CFLAGS): Define NO_MMCHECK to not install consistency checks. -start-sanitize-gdbtk -Thu Aug 1 20:35:01 1996 Tom Tromey - - * gdbtk.c (mainWindow): Deleted. - (cleanup_init): Don't destroy main window. - (gdbtk_init): Main window now created by Tk_Init. - - * configure.in: Most X checks now handled automatically by Tk. - Use new macros to find Tcl/Tk. - * aclocal.m4: New version for new Tcl/Tk; from Don Libes. - * config.in, configure: Regenerated. - - * Makefile.in (TCL, TCL_CFLAGS, TK, TK_CFLAGS, X11_CFLAGS, - X11_LDFLAGS, X11_LIBS): Changed for new Tcl and Tk. - -end-sanitize-gdbtk Thu Aug 1 10:11:34 1996 Fred Fish * config/mips/tm-mips.h (TM_MIPS_H): Enclose file contents in @@ -1756,12 +1702,6 @@ Thu Aug 1 10:11:34 1996 Fred Fish * mdebugread.c (ecoff_relocate_efi): Add prototype. (fixup_sigtramp): Only needed when TM_MIPS_H is defined. -start-sanitize-gdbtk -Thu Aug 1 16:12:05 1996 Jason Molenda (crash@godzilla.cygnus.co.jp) - - * Makefile.in (gdbtk.tcl): put in $(datadir), not $(libdir). - -end-sanitize-gdbtk Wed Jul 31 20:21:24 1996 Fred Fish * rs6000-nat.c (add_vmap): Return 0 to caller rather than random value. @@ -1993,9 +1933,6 @@ Fri Jul 26 14:07:37 1996 Ian Lance Taylor * printcmd.c (_initialize_printcmd): Initialize tm_print_insn_info.flavour. -start-sanitize-gdbtk - * gdbtk.c (gdb_disassemble): Initialize di.flavour. -end-sanitize-gdbtk Thu Jul 25 19:41:31 1996 Fred Fish @@ -2278,45 +2215,6 @@ Thu Jul 25 19:41:31 1996 Fred Fish (debug_to_notice_signals): Ditto. (debug_to_thread_alive): Ditto. (debug_to_stop): Ditto. -start-sanitize-gdbtk - * gdbtk.c (null_routine): Ditto. - (gdbtk_flush): Ditto. - (gdbtk_fputs): Ditto. - (gdbtk_query): Ditto. - (gdbtk_readline): Ditto. - (gdbtk_readline_end): Ditto. - (gdb_get_breakpoint_list): Ditto. - (gdb_get_breakpoint_info): Ditto. - (breakpoint_notify): Ditto. - (gdbtk_create_breakpoint): Ditto. - (gdbtk_delete_breakpoint): Ditto. - (gdbtk_modify_breakpoint): Ditto. - (gdb_loc): Ditto. - (gdb_eval): Ditto. - (gdb_sourcelines): Ditto. - (map_arg_registers): Ditto. - (get_register_name): Ditto. - (gdb_regnames): Ditto. - (get_register): Ditto. - (gdb_fetch_registers): Ditto. - (register_changed_p): Ditto. - (gdb_changed_register_list): Ditto. - (gdb_cmd): Ditto. - (call_wrapper): Ditto. - (gdb_listfiles): Ditto. - (gdb_stop): Ditto. - (gdbtk_dis_asm_read_memory): Ditto. - (compare_lines): Ditto. - (gdb_disassemble): Ditto. - (tk_command): Ditto. - (cleanup_init): Ditto. - (gdbtk_interactive): Ditto. - (x_event): Ditto. - (gdbtk_wait): Ditto. - (gdbtk_call_command): Ditto. - (tk_command_loop): Ditto. - (gdbtk_init): Ditto. -end-sanitize-gdbtk * breakpoint.h (set_breakpoint_sal): Ditto. * remote-utils.c (usage): Ditto. * remote.c (set_thread): Ditto. @@ -2505,11 +2403,6 @@ end-sanitize-gdbtk uninitialized. * utils.c (vfprintf_maybe_filtered): Change second arg from "char *" to "const char *". -start-sanitize-gdbtk - * gdbtk.c (gdb_fetch_registers): Cast fourth arg to map_arg_registers - to proper pointer type, from int. - (gdbtk_query): Change first arg to "const char *" from "char *". -end-sanitize-gdbtk * infptrace.c (udot_info): Add two dummy args so that the type is correct for passing to add_info. * f-lang.c (saved_fcn): Move decl to head of file so it can be used @@ -2536,9 +2429,6 @@ end-sanitize-gdbtk * eval.c (init_array_element): Declare previously undeclared last two args as LONGEST. * dcache.c (dcache_xfer_memory): Change xfunc decls to prototype form. -start-sanitize-gdbtk - * gdbtk.c (register_changed_p): Remove unused local variable "buf". -end-sanitize-gdbtk Thu Jul 25 16:11:54 1996 Doug Evans @@ -2555,31 +2445,12 @@ Mon Jul 22 18:13:27 1996 Stu Grossman (grossman@critters.cygnus.com) partial-stab.h. * stabsread.h (end_psymtab): Add textlow_not_set arg to prototype. -start-sanitize-gdbtk -Sat Jul 20 17:46:40 1996 Fred Fish - - * gdbtk.tcl (files_command): Reorder the binding tags for - the listbox widget to avoid referencing the listbox after - the containing widget has been destroyed by the action of - a previous binding. -end-sanitize-gdbtk - Sat Jul 20 10:41:06 1996 Fred Fish * dwarf2read.c (struct filenames): Change internal "struct file" to "struct fileinfo" to avoid conflict with "struct file" in on HPUX and Solaris. -start-sanitize-gdbtk -Sat Jul 20 10:09:28 1996 Fred Fish - - * gdbtk.tcl (delete_expr): Unset corresponding element of - expr_update_list when destroying an expression. - (create_expr_window): Initialize expr_num, delete_expr_num, - and expr_update_list here when each new expression window - is created, rather than once at startup. -end-sanitize-gdbtk - Fri Jul 19 14:05:57 1996 Stan Shebs * dwarf2read.c: New file, DWARF 2 reader originally contributed by @@ -2625,10 +2496,6 @@ Mon Jul 15 16:44:05 1996 Stu Grossman (grossman@critters.cygnus.com) * defs.h printcmd.c: Create global disassemble_info structure tm_print_insn_info. -start-sanitize-gdbtk - * gdbtk.c (gdb_disassemble): Setup di.mach from - tm_print_insn_info.mach, and set endian from TARGET_BYTE_ORDER. -end-sanitize-gdbtk * i386-tdep.c (set_assembly_language_command): set tm_print_insn_info.mach to the appropriate value for 386 or 8086 disassembly. @@ -2906,28 +2773,6 @@ Sun Jun 23 23:40:48 1996 Doug Evans (set_pathstyle_dos): Delete. (_initialize_inftarg): Delete dos-path-style command. -start-sanitize-gdbtk -Fri Jun 21 11:04:47 1996 Fred Fish - - * gdbtk.tcl (create_register_windows): Include missing '$'s. - Add global declarations for various reg_format_* variables. - * gdbtk.tcl (populate_register_window): Make initial window one - line taller to account for new column header line. - -Fri Jun 21 09:46:47 1996 Fred Fish - - * gdbtk.c (get_register): Support for printing raw formats. - * gdbtk.tcl: Add hint for using debug_interface. - (center_window, add_breakpoint_frame, delete_breakpoint_frame): - Enclose arg in braces for consistency. - (create_registers_window, populate_reg_window, update_registers): - Major rewrite to support displaying multiple formats in the register - window. - (init_reg_info): New function. - (recompute_reg_display_list): Reset reg_display_list, start - register display lines at line 2. - -end-sanitize-gdbtk Thu Jun 20 13:42:23 1996 Doug Evans * configure.in: Revise sol-thread.o test. @@ -2935,22 +2780,6 @@ Thu Jun 20 13:42:23 1996 Doug Evans * source.c (find_source_lines): Reassign size to result of read. -start-sanitize-gdbtk -Thu Jun 20 08:18:59 1996 Fred Fish - - * gdbtk.tcl (gdbtk_tcl_readline_begin): Handle backspace to - avoid backing up over prompt. At every input, make sure insert - point is at least after command start, handle control-u to delete - current input line. - (tclsh): Handle backspace to avoid backing up over prompt. Handle - control-u to delete current input line. - -Wed Jun 19 17:23:38 1996 Geoffrey Noer - - * configure.in: disable gdbtk for *cygwin32* hosted compiles - * configure: regenerated with autoconf 2.8 - -end-sanitize-gdbtk Tue Jun 18 16:25:54 1996 Jeffrey A. Law * h8300-dep.c (gdb_print_insn_h8300): Handle the H8/S. @@ -3205,16 +3034,6 @@ Sun May 19 16:49:37 1996 Fred Fish (define_command, document_command): Build message in a temporary buffer and pass it to read_command_lines, along with tty flag. -start-sanitize-gdbtk - * gdbtk.c (gdbtk_readline_begin, gdbtk_readline, gdbtk_readline_end): - New functions. - (tk_command_loop): Set instream to NULL to enable Tk user interaction. - (gdbtk_init): Set readline_begin_hook, readline_hook, - and readline_end_hook. - * gdbtk.tcl (gdbtk_tcl_readline_begin, gdbtk_tcl_readline, - gdbtk_tcl_readline_end): New functions. - (tclsh): Pack scroll bar on right side of window, not left. -end-sanitize-gdbtk Sat May 18 02:43:58 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) @@ -3225,48 +3044,11 @@ Sat May 18 02:43:58 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) * stack.c (print_frame_info): Remove check for fi->pc in known section, now handled by lookup_minimal_symbol_by_pc. -start-sanitize-gdbtk -Fri May 17 13:54:34 1996 Fred Fish - - * gdbtk.tcl (create_command_window): Change a misspelled "get" - to the intended "cget". - (delete_line): Fix so it deletes the current line at the - insertion cursor. -end-sanitize-gdbtk Fri May 17 13:31:04 1996 Stan Shebs * sh-stub.c: New file, was config/sh/stub.c. -start-sanitize-gdbtk -Thu May 16 19:20:29 1996 Fred Fish - - * gdbtk.tcl (gdb_prompt): Set this early on. - (create_command_window): Use gdb_prompt rather than "(gdb) ". - (gdbtk_tcl_preloop): Proc executed just prior to Tk main loop. - (tclsh): If an evaluation window already exists, just bring it - to the front instead of trying to create another. - * gdbtk.c (tk_command_loop): New function. - (gdbtk_init): Call tk_command_loop rather than Tk_MainLoop. - -Thu May 16 16:16:35 1996 Fred Fish - - * gdbtk.tcl (evaluate_tcl_command, tclsh): New functions that - implement a tcl evaluation window for gdbtk maintainers to use. - -Thu May 16 11:42:58 1996 Tom Tromey - - * gdbtk.tcl (files_command): Correctly insert list of files into - listbox widget. - - * gdbtk.tcl (files_command): listbox command no longer accepts - -geometry. - -Wed May 15 16:04:09 1996 Stan Shebs - - * gdbtk.tcl (create_command_window): If command window's buffer - is disabled, don't execute any of the key bindings. -end-sanitize-gdbtk Wed May 15 08:25:12 1996 Jeffrey A Law (law@cygnus.com) @@ -3302,13 +3084,6 @@ Mon May 13 23:53:30 1996 Stu Grossman (grossman@critters.cygnus.com) * procfs.c (info_proc): Use int instead of id_t. Old versions of Irix don't seem to define this. -start-sanitize-gdbtk -Mon May 13 13:43:25 1996 Fred Fish - - * gdbtk.c (tk_command): Catch case where no argument is given - since this will cause the tcl interpreter to dump core. -end-sanitize-gdbtk - Mon May 13 17:40:58 1996 Jeffrey A Law (law@cygnus.com) * top.c (execute_control_command, case while_control): Allow @@ -3386,9 +3161,6 @@ Wed May 8 20:33:24 1996 Fred Fish (enable_delete_breakpoint): Ditto. * breakpoint.h (clear_momentary_breakpoints): Remove prototype. * symtab.c (find_pc_line): Improve comments. -start-sanitize-gdbtk - * gdbtk.c: Fix a couple of misspellings. -end-sanitize-gdbtk * xcoffread.c: Ditto. Tue May 7 18:37:06 1996 Stan Shebs @@ -3442,20 +3214,6 @@ Mon May 6 07:52:48 1996 Michael Meissner * config/powerpc/tm-ppc-eabi.h: Define ELF_OBJECT_FORMAT. -start-sanitize-gdbtk -Thu May 2 19:17:49 1996 Stan Shebs - - * gdbtk.tcl (debug_interface): New global, use to aid debugging. - (insert_breakpoint_tag, delete_breakpoint_tag): Fix range. - (file_popup_menu): Delete, never used. - (listing_window_popup): Rename from listing_window_button_1, - remove breakpoint toggling code. - (toggle_breakpoint): New procedure. - (create_file_win): Bind popup menu to button 2, toggle breakpoints - with button 1 in breakpoint area, add display of tagged areas if - debugging on. -end-sanitize-gdbtk - Thu May 2 12:46:14 1996 Jeffrey A Law (law@cygnus.com) From Peter Schauer: @@ -3842,21 +3600,6 @@ Sat Apr 6 00:46:26 1996 Fred Fish (hpread_build_psymtabs): Ditto. (demangle.h): Include -start-sanitize-gdbtk -Fri Apr 5 13:44:40 1996 Stan Shebs - - * gdbtk.c (running_now): New global variable. - (gdb_cmd): Test it before executing any command. - (gdbtk_call_command): Set it when inferior is running. - * gdbtk.tcl (gdbtk_tcl_busy, gdbtk_tcl_idle): Enable and - disable interaction with command window's text appropriately. - -Fri Apr 5 13:25:42 1996 Michael Meissner - - * gdbtk.c (SIOCSPGRP, linux): If on Linux, undef SIOCSPGRP, since - some versions of the kernel don't support it. -end-sanitize-gdbtk - Thu Apr 4 20:16:55 1996 Fred Fish * configure.in: Check for setpgid function. @@ -4814,19 +4557,6 @@ Tue Feb 6 18:38:51 1996 J.T. Conklin * nindy-share/nindy.c (say): Use stdarg.h macros when compiling with an ANSI compiler. -start-sanitize-gdbtk -Tue Feb 6 16:31:25 1996 Tom Tromey - - * gdbtk.tcl (create_file_win): Eliminate text widget B1 binding so - double-clicking will work again. - (create_asm_win): Put "break" at end of all B1 bindings. - (create_file_win): Lower "sel" tag, don't raise it. - (ensure_line_visible): New proc. - (update_listing, update_assembly): Use it. - (create_copyright_window): Destroy window on Leave event. - (create_command_window): Put "break" at end of all B2 bindings. - -end-sanitize-gdbtk Mon Feb 5 18:24:28 1996 Steve Chamberlain From Michael_Snyder@NeXT.COM (Michael Snyder): @@ -5004,10 +4734,8 @@ Thu Jan 25 13:08:51 1996 Doug Evans (dje@cygnus.com) Thu Jan 25 03:26:38 1996 Doug Evans * configure.in (sparc64-*-*): Add default host configuration. -start-sanitize-gdbtk - (sparc64-*-solaris2* host): Link statically if GCC used. -end-sanitize-gdbtk (sparc64-*-solaris2*): Add target configuration. + (sparc64-*-solaris2* host): Link statically if GCC used. * configure: Regenerated. * sparc/sp64sol2.mt: New file. @@ -5019,16 +4747,6 @@ Wed Jan 24 15:42:24 1996 Tom Tromey * Makefile.in (lint): Close backquotes. -start-sanitize-gdbtk -Wed Jan 24 15:28:41 1996 Tom Tromey - - * gdbtk.tcl, gdbtk.c: Updated copyrights. - - * configure.in: Look for -ldl or -ldld when using Tcl 7.5 or - greater. - * configure: Rebuilt. - -end-sanitize-gdbtk Wed Jan 24 13:19:10 1996 Fred Fish * NEWS: Make note of new record and replay feature for @@ -5122,9 +4840,6 @@ Tue Jan 23 09:00:48 1996 Doug Evans * printcmd.c (print_insn): Pass fprintf_unfiltered to INIT_DISASSEMBLE_INFO. -start-sanitize-gdbtk - * gdbtk.c (gdb_disassemble): Likewise. -end-sanitize-gdbtk Mon Jan 22 16:59:40 1996 Stan Shebs @@ -5173,17 +4888,6 @@ Tue Jan 16 11:22:58 1996 Stu Grossman (grossman@cygnus.com) * Makefile.in (CLIBS): Add LIBS to allow libraries to be specified on the make command line (via make LIBS=xxx). -start-sanitize-gdbtk -Mon Jan 15 09:58:41 1996 Tom Tromey - - * gdbtk.tcl (create_expr_window): Many changes to update GUI. - (add_expr): Changes from create_expr_window. - (create_command_window): Set focus. - (delete_expr): Rewrote. - (expr_update_button): New proc. - (add_expr): Put bindings on FocusIn, FocusOut. - Don't allow .file_popup to be torn off. -end-sanitize-gdbtk Fri Jan 12 21:41:58 1996 Jeffrey A Law (law@cygnus.com) @@ -5210,30 +4914,6 @@ Fri Jan 12 13:11:42 1996 Stan Shebs * remote.c (remotetimeout): New GDB variable, use to set the remote timeout for reading. -start-sanitize-gdbtk -Fri Jan 12 09:36:17 1996 Tom Tromey - - * gdbtk.tcl (gdbtk_tcl_query): Swap Yes and No buttons. - (update_listing): Use lassign. Use "see" to scroll. Don't need - screen_top, screen_bot, screen_height. - (update_assembly): Use "see" to scroll. - (textscrollproc): Removed. - (create_file_win): Don't use textscrollproc. - (asmscrollproc): Removed. - (create_asm_window): Don't use asmscrollproc. - (create_asm_win): Ditto. - (screen_height, screen_top, screen_bot): Removed. - (run_editor): New proc. - (build_framework): Use it. - (create_file_win, create_source_window): Don't use textscrollproc. - (create_breakpoints_window): Set -xscrollcommand on canvas. - (not_implemented_yet): Default button is 0. - (delete_char): Don't use tk_textBackspace. - (create_command_window): Allow Tk bindings to fire after deleting - character. - (create_command_window): Make Delete delete left, not right. -end-sanitize-gdbtk - Fri Jan 12 07:14:27 1996 Fred Fish * lynx-nat.c, irix4-nat.c, sparc-nat.c: Include gdbcore.h @@ -5260,21 +4940,11 @@ Thu Jan 11 17:21:25 1996 Per Bothner parameter type as the expected type when evaluating arg expressions. * ch-lang.c (evaluate_subexp_chill): Likewise (for MULTI_SUBSCRIPT). -start-sanitize-gdbtk Thu Jan 11 10:08:14 1996 Tom Tromey * main.c (main): Disable window interface if --help or --version specified. - * gdbtk.tcl (FSBox): Don't use tk_listboxSingleSelect. - - Changes in sync with expect: - * configure.in (ENABLE_GDBTK): Use CY_AC_PATH_TCL and - CY_AC_PATH_TK. - * aclocal.m4: Replaced with version from expect. - * configure: Regenerated. -end-sanitize-gdbtk - Wed Jan 10 16:08:49 1996 Brendan Kehoe * configure.in, configure: Recognize rs6000-*-aix4*. @@ -5294,47 +4964,6 @@ Wed Jan 10 11:25:37 1996 Fred Fish * stabsread.c (define_symbol): If register value is too large, tell what it is and what max is. -start-sanitize-gdbtk -Wed Jan 10 09:07:22 1996 Tom Tromey - - * gdbtk.tcl (gdbtk_tcl_fputs, gdbtk_tcl_fputs_error, - gdbtk_tcl_flush): Use "see", not "yview". - (gdbtk_tcl_query): Use questhead bitmap. - various: Always wrap condition of 'if' in {...}. - (add_breakpoint_frame): Set -value on radiobuttons. - (lassign): New proc. - (add_breakpoint_frame): Use lassign, not series of assignments. - (decr): Made faster. - (interactive_cmd): Use "see", not "yview". - (not_implemented_yet): Use warning bitmap. - (update_expr): Don't allow $expr to be evalled by Tcl. - (create_expr_window): Don't use "focus". - (delete_char, delete_line): Define globally. - (delete_line, delete_char, create_command_window, update_autocmd, - build_framework, create_asm_win, create_file_win): Use "see", not - "yview". - (create_copyright_window, center_window, bind_widget_after_class): - New procs. - (FSBox,create_command_window, create_autocmd_window): Binding - changes for Tk4. - (textscrollproc): Define globally. - (build_framework): tk_menuBar no longer needed. Keys Prior, Next, - Home, End, Up, and Down are all defined by Tk. - (apply_filespec): Use error bitmap in dialog. - (files_command): Don't use tk_listboxSingleSelect. - (files_command): Don't use "uniq" to remove duplicates from a - list. - (update_assembly): Use lassign. - (create_asm_win): Removed redundant bindings. - (listing_window_button_1, file_popup_menu): Use tk_popup. - (ButtonRelease-1 binding): Just remove tag from window; rest - handled by Tk. - - * gdbtk.c (gdbtk_query): Use Tcl_Merge to provide quoting. - (call_wrapper): Use Tcl_Eval, not Tcl_VarEval. - (gdbtk_call_command): Ditto. -end-sanitize-gdbtk - Tue Jan 9 09:33:53 1996 Jeffrey A Law (law@cygnus.com) * hpread.c (hpread_build_psymtabs): Finish Jan 4th @@ -5400,9 +5029,6 @@ Thu Jan 4 16:04:54 1996 Stu Grossman (grossman@cygnus.com) * breakpoint.c (remove_breakpoint): Change error to warning so that hardware watchpoint removal problems won't leave breakpoint traps in the target. -start-sanitize-gdbtk - * configure configure.in: Make --enable-gdbtk be the default. -end-sanitize-gdbtk * remote-e7000.c (e7000_insert_breakpoint, e7000_remove_breakpoint): Use e7000 based breakpoints, not memory breakpoints. diff --git a/gdb/ChangeLog-97 b/gdb/ChangeLog-97 index 556f270..99e3e6c 100644 --- a/gdb/ChangeLog-97 +++ b/gdb/ChangeLog-97 @@ -102,16 +102,6 @@ start-sanitize-tx19 * configure.tgt: Change little-endian tx19 target name to tx19l. end-sanitize-tx19 -start-sanitize-gdbtk -Tue Dec 16 21:16:42 1997 Ian Lance Taylor - - * Makefile.in (LIBGUI): New variable. - (GUI_CFLAGS_X): New variable. - (IDE_CFLAGS): Add $(GUI_CFLAGS_X). - * configure.in: Add $(LIBGUI) to TCL_LIBS and CONFIG_DEPS. - * configure: Rebuild. - -end-sanitize-gdbtk Tue Dec 16 11:24:30 1997 Jeffrey A Law (law@cygnus.com) * remote-sim.c (gdbsim_open): Use "--architecture" instead of @@ -183,18 +173,6 @@ Thu Dec 11 14:28:01 1997 Michael Snyder (msnyder@cleaver.cygnus.com) backwards thru the trace buffer in a loop. * (struct tracepoint): delete unused field. -Wed Dec 10 13:16:45 1997 Keith Seitz - - * gdbtk.c (gdb_get_tracepoint_info): Use info in struct - symtab_and_line (not struct tracepoint) so that we get the - real line info for an address. Arrange data more like - gdb_get_breakpoint_info. - (tracepoint_notify): Use info in struct symtab_and_line again. - (gdbtk_init): Add command "gdb_get_tracepoint_list" into - interpreter. - (gdb_get_tracepoint_list): New function that aids the source - window in displaying tracepoints when the file changes. - start-sanitize-d30v Wed Dec 10 17:57:00 1997 David Taylor @@ -228,12 +206,6 @@ Mon Dec 8 14:28:49 1997 Michael Snyder (msnyder@cleaver.cygnus.com) * tracepoint.c (memrange_sortmerge): allow for memranges that overlap. (collect_pseudocommand etc.) cleanup decls. -Fri Dec 5 10:31:23 1997 Keith Seitz - - * gdbtk.c (gdbtk_init): Add gdb_find_file into interpreter. - (gdb_find_file_command): New function which searches source path - to find the real full filename of a file. - Fri Dec 5 09:22:35 1997 Nick Clifton * config/v850/tm-v850.h (BREAKPOINT): Reverted back to old value... @@ -281,81 +253,25 @@ Tue Dec 2 10:14:15 1997 Michael Snyder (msnyder@cleaver.cygnus.com) * tracepoint.c: move prototype of validate_actionline(), and make it consistent with the function declaration. -Mon Dec 1 10:19:44 1997 Keith Seitz - - * gdbtk.c: move include of "guitcl.h" back out of IDE ifdef - (gdbtk_init): move ide_initialize_paths out of IDE ifdef - - * configure.in (TCL_LIBS, CONFIG_DEPS): add IDE libraries for all - builds - (CONFIG_OBS): remove tracepoint.o, which should always be included - - * configure: regenerate - - * Makefile.in (install-only): ALWAYS install the new gdbtk - (REMOTE_OBS): add tracepoint.o - Thu Nov 27 09:07:18 1997 Michael Meissner - * configure.in ({TCL_LIBS,CONFIG_DEPS}): Don't add IDE libraries - if not --enable-ide. - (CONFIG_OBS): Add tracepoint.o to list if --enable-gdbtk. - * configure: Regenerate. - - * gdbtk.c (gdb_get_breakpoint_info): Add missing filename - argument. - (toplevel): Move include of guitcl.h into #ifdef IDE region. - (gdbtk_init): Move ide_initialize_paths call into #ifdef IDE - section. - * Makefile.in (tracepoint_h): New macro for tracepoint.h includes. (tracepoint.o): Add rule to build. - (gdbtk.o): Update dependencies. Wed Nov 26 22:59:04 1997 Jeffrey A Law (law@cygnus.com) * remote-sim.c (gdbsim_cntrl_c): Lose ANSI prototype. -Wed Nov 26 15:02:43 1997 Keith Seitz - - * gdbtk.c (gdb_loc): symtab_to_filename can return NULL - (breakpoint_notify): symtab_to_filename can return NULL - (gdb_get_breakpoint_info): symtab_to_filename can return NULL - * tracepoint.c (set_raw_tracepoint): fix typo Wed Nov 26 11:33:09 1997 Keith Seitz - * tracepoint.c (set_raw_tracepoint): make sure there's a trailing slash on - the directory name + * tracepoint.c (set_raw_tracepoint): Make sure there's a trailing + slash on the directory name. - * Merge (lots) with foundry's 11/18/97 build - - * Makefile.in (install-only): install the new gdbtk, not the old - - * top.h: add declaration of get_prompt - - * top.c (get_prompt): new function - - * gdbtk.c (gdbtk_call_command): also run idle hooks for class_trace - commands - (gdbtk_init): add new commands "gdb_get_locals", "gdb_get_args", - "gdb_get_function", "gdb_get_line", "gdb_get_file", - "gdb_tracepoint_exists", "gdb_get_tracepoint_info", "gdb_actions", - and "gdb_prompt" - (gdb_get_vars_command): new function - (gdb_get_line_command): new function - (gdb_get_file_command): new function - (gdb_get_function_command): new function - (gdb_get_tracepoint_info): new function - (gdbtk_create_tracepoint): new function - (gdbtk_delete_tracepoint): new function - (tracepoint_notify): new function - (tracepoint_exists): new function - (gdb_actions_command): new function - (gdb_tracepoint_exists_command): new function - (gdb_prompt_command): new function + * top.c (get_prompt): New function. + * top.h: Declare it. Wed Nov 26 09:59:47 1997 Andrew Cagney @@ -465,15 +381,6 @@ Fri Nov 14 13:04:34 1997 Jeffrey A Law (law@cygnus.com) * jv-exp.y (copy_exp, insert_exp): Avoid ANSI prototypes. -Thu Nov 13 18:15:54 1997 Ian Lance Taylor - - * gdbtk.c: Move include of gdbcore.h to top of file. - (close_bfds): New static function if _WIN32. - (gdbtk_readline): Call close_bfds. - (call_wrapper, tk_command_loop): Likewise. - (gdb_clear_file): New static function. - (gdbtk_init): Create gdb_clear_file Tcl command. - start-sanitize-d30v Thu Nov 13 09:47:35 1997 Michael Meissner @@ -491,9 +398,6 @@ end-sanitize-d30v Wed Nov 12 14:58:39 1997 Jeff Holcomb - * gdbtk.c: gdbtk_load_hash and ui_load_progress_hook return an - int result. - (gdbtk_load_hash): download hash routine returns an int result. * symfile.c (generic_load): Handle cancel from the ui_load_progress_hook routine. * dsrec.c (load_srec): Handle cancel from the @@ -504,21 +408,10 @@ Mon Nov 10 15:13:13 1997 Ian Lance Taylor * valprint.c (print_longest): The b, h, w, and g format specifiers print unsigned values. -Mon Nov 10 15:11:51 1997 Ian Lance Taylor - - * gdbtk.c (gdbtk_init): Call ide_create_shell_execute_command if - __CYGWIN32__. - * configure.in: Add -lshell32 to WIN32LIBS on cygwin32. - * configure: Rebuild. - Mon Nov 10 02:02:49 1997 Martin M. Hunt * top.c (quit_confirm): Change exit message. -Sun Nov 9 16:25:34 1997 Tom Tromey - - * gdbtk.c (gdbtk_init): Run ide_create_help_command. - Tue Nov 4 16:52:50 1997 Geoffrey Noer * config/i386/cygwin32.mh: because cygwin.dll calls malloc/realloc @@ -551,8 +444,6 @@ Wed Oct 29 15:53:24 1997 David Taylor Tue Oct 28 17:31:47 1997 Martin M. Hunt - * gdbtk.c (gdbtk_init): Call ide_create_winprint_command. - * configure.in (configdir): Add -lcomdlg32 and -ladvapi32 to WIN32LIBS. @@ -576,16 +467,6 @@ Thu Oct 23 16:16:04 1997 Jeff Law (law@fast.cs.utah.edu) found. All callers changed appropriately. (define_symbol): Don't perform assignment inside conditionals. -Thu Oct 23 15:53:37 1997 Ian Lance Taylor - - * configure.in: Add -lgdi32 to WIN32LIBS when linking gdbtk on - cygwin32. - * configure: Rebuild. - -Wed Oct 22 21:32:54 1997 Martin M. Hunt - - * gdbtk.c (gdbtk_init): Create sizebox command on Windows. - Wed Oct 22 13:04:52 1997 Jeffrey A Law (law@cygnus.com) * mdebugread.c (psymtab_to_symtab_1): Handle new live range stabs @@ -648,12 +529,6 @@ Tue Oct 14 22:13:27 1997 Dawn Perchik * stabsread.c: Make ref_map entries dynamically allocated. -Thu Oct 9 14:33:21 1997 Ian Lance Taylor - - * gdbtk.c (gdbtk_init): Remove assertion argument from call to - ide_create_window_register_command. - * gdbtcl2/main.tcl: Call ide_window_register restorer. - Thu Oct 9 12:37:57 1997 Frank Ch. Eigler * printcmd.c (print_address_symbolic, address_info): Mask @@ -697,11 +572,6 @@ start-sanitize-r5900 to disable use of FP registers for function arguments. end-sanitize-r5900 -Wed Oct 1 11:09:52 1997 Tom Tromey - - * gdbtk.c (gdbtk_init): Pass name of restore interface to - ide_create_window_register_command. - Mon Sep 29 23:03:03 1997 Mark Alexander * mips-tdep.c (set_reg_offset): New function. @@ -730,8 +600,6 @@ end-sanitize-r5900 Fri Sep 26 21:08:22 1997 Keith Seitz - * gdbtk.c (gdbtk_init): initialize ui_load_progress_hook - * dsrec.c (load_srec): add ui_load_progress_hook to display some feedback to user @@ -774,13 +642,6 @@ Fri Sep 26 10:33:54 1997 Felix Lee * configure.tgt (v850-*-*): necmsg.lib instead of v850.lib. -Thu Sep 25 03:05:00 1997 Martin M. Hunt - - * gdbtk.c (gdb_load_info): New function. Returns a list - of section names and sizes for an executable. - (gdbtk_load_hash): Stub function to call tcl function - download_hash. - Wed Sep 24 14:02:09 1997 Andrew Cagney * config/v850/tm-v850.h (BREAKPOINT): Use 1 word DIVH insn with @@ -815,10 +676,6 @@ Tue Sep 23 11:24:13 1997 Stan Shebs * Makefile.in (ALLCONFIG): Remove, inaccurate and never used. -Tue Sep 23 01:29:00 1997 Martin M. Hunt - - * gdbtk.c (gdb_get_mem): Fix compiler warning. - Tue Sep 23 00:08:18 1997 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) * mips-tdep.c (mips_push_arguments): Tweak alignment of register @@ -833,10 +690,6 @@ Mon Sep 22 15:32:06 1997 Dawn Perchik * stabsread.h, symtab.h, dbxread.c, symtab.c, stabsread.c: Fix prototypes. Remove function scoped function declarations. -Sun Sep 21 00:15:00 1997 Martin M. Hunt - - * gdbtk.c (gdb_get_mem): Fix problem with ASCII dump. - Fri Sep 19 18:51:26 1997 Felix Lee * config/i386/windows.mh (XDEPFILES): need to list some files @@ -874,11 +727,6 @@ Tue Sep 16 19:56:23 1997 Per Bothner on a new 'run' command. (symbol_add_stub): First look for existing objfile with same name. -Tue Sep 16 18:07:17 1997 Martin M. Hunt - - * gdbtk.c (gdb_get_mem): New function. Returns - a formatted memory dump with optional ASCII dump. - Tue Sep 16 16:00:01 1997 Stan Shebs * remote-sds.c (sds_load): New function. @@ -947,20 +795,11 @@ Mon Sep 8 16:45:51 1997 Stu Grossman Mon Sep 8 12:48:50 1997 Ian Lance Taylor - * gdbtk.c: Include ilutk.h if IDE. - (gdb_confirm_quit, gdb_force_quit): New static functions. - (gdbtk_init): Add Tcl commands gdb_confirm_quit and - gdb_force_quit. * top.c (quit_confirm, quit_force): New functions, broken out of quit_command. (quit_command): Just call quit_confirm and quit_force. * top.h (quit_confirm, quit_force): Declare. -Mon Sep 8 03:05:33 1997 Martin M. Hunt - - * gdbtk.c (gdb_get_breakpoint_info): Now returns the - function a breakpoint is in. - Sun Sep 7 17:26:30 1997 Dawn Perchik * dbxread.c, buildsym.c, symtab.c, stabsread.c: Add support for @@ -968,23 +807,6 @@ Sun Sep 7 17:26:30 1997 Dawn Perchik * stabsread.h, partial-stab.h: Add prototypes for new functions. * symtab.h: Add structure for storing live range information. -Fri Sep 5 20:23:58 1997 Ian Lance Taylor - - * gdbtk.c (gdbtk_init): Call ide_create_exit_command. - -Wed Sep 3 19:39:15 1997 Ian Lance Taylor - - * gdbtk.c: Include guitcl.h. - (gdbtk_init): Always call ide_initialize_paths. Set the Tcl - variable IDE to 1 when using the IDE. Always try using auto path - to find main.tcl. - * Makefile.in (IDE_CFLAGS_X): Always include libide. - (LIBIDE): New variable. - (IDE_X): Omit -lide. - (IDE_DEPS): Omit libide. - * configure.in: Add LIBIDE to TCL_LIBS and CONFIG_DEPS. - * configure: Rebuild. - Wed Sep 3 16:39:39 1997 Andrew Cagney * top.c (set_arch): New function, update target_architecture. @@ -1068,70 +890,11 @@ Mon Aug 25 12:21:46 1997 Andrew Cagney * remote-sim.c (gdbsim_open): Pass exec_bfd to sim_open call. -Mon Aug 25 02:28:55 1997 Keith Seitz - - * gdbtk.c: (gdb_target_has_inferior) check if inferior_pid is non-zero - before assuming that the inferior is running. - - -Mon Aug 25 01:06:48 1997 Ian Lance Taylor - - * gdbtk.c (gdbtk_start_timer): Pass third argument to setitimer. - (gdbtk_stop_timer): Likewise. - -Mon Aug 25 00:23:08 1997 Keith Seitz - - * gdbtk.c: (gdbtk_init) create new command "gdb_target_has_execution" - (gdb_target_has_execution_command) new function - Sun Aug 24 21:16:59 1997 Geoffrey Noer * ocd.c: comment out sections that create and flush wigglers.log log file when using the wiggler. -Sun Aug 24 20:27:22 1997 Ian Lance Taylor - - * gdbtk.c (gdb_loc): If there are no symbols, just bail - immediately. - (tk_command_loop): Print errors encountered while running - gdbtk_tcl_preloop. - -start-sanitize-gdbtk -Sun Aug 24 13:44:03 1997 Tom Tromey - - * gdbtk.c (gdbtk_init): Run ide_create_build_command. - -end-sanitize-gdbtk - -Sat Aug 23 21:53:39 1997 Ian Lance Taylor - - * gdbtk.c: If CYGWIN32, include . - (x_fd): Don't define if WINNT. - (gdbtk_start_timer, gdbtk_stop_timer): New static functions if - CYGWIN32. - (gdbtk_wait): Don't set up signal handling if WINNT. If CYGWIN32, - call gdbtk_start_timer and gdbtk_stop_timer. - (gdbtk_init): Don't set up signal handling or make x_fd - asynchronous if CYGWIN32. - -Fri Aug 22 15:23:15 1997 Ian Lance Taylor - - * gdbtk.c (error_string_ptr): New static variable. - (gdbtk_fputs): If result_ptr is NULL, and error_string_ptr is not - NULL, and we're outputting to stderr, append string to - error_string_ptr rather than calling gdbtk_tcl_fputs. - (call_wrapper): Set up error_string_ptr. Put both error string - and normal string in Tcl result. - - * gdbtk.c (gdbtk_init): Don't call ide_run_server_init until after - gdb has initialized. - -Thu Aug 21 19:14:38 1997 Ian Lance Taylor - - * gdbtk.c: If _WIN32, include winuser.h. - (gdbtk_init): If _WIN32, use MessageBox to display an error - evaluating main.tcl. - Thu Aug 21 16:18:08 1997 Geoffrey Noer * config/powerpc/ppc-eabi.mt: @@ -1152,34 +915,12 @@ Thu Aug 21 14:56:04 1997 Geoffrey Noer * ser-ocd.c (ocd_readchar): error if we attempt to read past the end of the from_wiggler_buffer. -start-sanitize-gdbtk -Thu Aug 21 00:48:00 1997 Martin M. Hunt - - * gdbtk.c (gdbtk_init): Add call to ide_run_server_init(). - (gdb_cmd): For the load command, don't buffer the I/O. - -end-sanitize-gdbtk Wed Aug 20 14:08:39 1997 Stan Shebs * dink32-rom.c: Don't use "mf" command to fill, is too picky about alignment. -start-sanitize-gdbtk -Wed Aug 20 11:41:22 1997 Martin M. Hunt - - * gdbtk.c (gdbtk_query): Chaneg free() call to Tcl_Free(). - -Tue Aug 19 17:09:19 1997 Ian Lance Taylor - - * Makefile.in (TCL_DEPS, TK_DEPS): New variables. - (ITCL_DEPS, TIX_DEPS): New variables. - (IDE_DEPS): New variable. - (CDEPS): Include @CONFIG_DEPS@. - * configure.in: Set and substitute CONFIG_DEPS and TIX_DEPS. - * configure: Rebuild. - -end-sanitize-gdbtk Tue Aug 19 08:41:36 1997 Fred Fish @@ -1224,14 +965,6 @@ Sun Aug 17 17:33:34 1997 Stan Shebs (putmessage): Tweak length handling so checksum comes out right. (sds_insert_breakpoint, sds_remove_breakpoint): Do correctly. -start-sanitize-gdbtk -Sun Aug 17 00:42:11 1997 Martin M. Hunt - - * gdbtk.c (gdb_listfuncs): New function that returns - a list of all the functions in a source file. - -end-sanitize-gdbtk - Fri Aug 15 20:53:13 1997 Ian Lance Taylor * Makefile.in (init.c): Don't use xargs. @@ -1287,12 +1020,6 @@ Tue Aug 12 14:37:18 1997 Geoffrey Noer * ocd.c (ocd_wait): loop until we're in BDM mode instead of assuming control has returned to GDB. -start-sanitize-gdbtk -Tue Aug 12 16:35:21 1997 Ian Lance Taylor - - * Makefile.in (install-only): Install tclIndex if ENABLE_IDE. - -end-sanitize-gdbtk Mon Aug 11 19:16:04 1997 Stan Shebs * dink32-rom.c: New file, support for DINK32 monitor. @@ -1330,12 +1057,6 @@ Mon Aug 11 16:08:52 1997 Fred Fish * frame.h (enum lval_type): Conditionalize on __GNUC__ instead of __STDC__. -start-sanitize-gdbtk -Mon Aug 11 10:43:04 1997 Tom Tromey - - * gdbtk.c (gdbtk_init): Use ide_event_init_from_environment. - -end-sanitize-gdbtk Sun Aug 10 19:08:26 1997 Jeffrey A Law (law@cygnus.com) * utils.c (error): Fix return type for !ANSI_PROTOTYPES. @@ -1391,43 +1112,15 @@ Fri Aug 8 15:59:24 1997 Ian Lance Taylor ($(BDM_LIBNAME)): Remove target. * wigglers.def: Remove. -start-sanitize-gdbtk - * gdbtk.c (gdbtk_init): Change gdbtk_lib_tmp and gdbtk_file to be - dynamically allocated, rather than fixed size. Pass "gdbtcl" to - ide_initialize_paths to match installed directory name. If IDE, - use auto_path to search for main.tcl. - * Makefile.in (install-only): If ENABLE_IDE, install from gdbtcl2 - rather than gdbtcl. - -end-sanitize-gdbtk * config/i386/cygwin32.mh ($(BDM_LIBNAME)): Rename target from libwigglers.def. (libwigglers.a): Remove target. -start-sanitize-gdbtk - * gdbtk.c (gdbtk_cleanup): New static function. - (gdbtk_init): Add gdbtk_cleanup as a final cleanup. Uncomment - call to ide_initialize_paths. If we can't initialize the event - system, set GDBTK_IDE to 0 in the Tcl interpreter. Create the - ide_window_register and the ide_window commands. Initialize tk, - itcl, and tix after initializing the IDE. - - * configure.in (tixdir): Update for cygwin32 case for Tcl 8.0. - * configure: Rebuild. - -end-sanitize-gdbtk Fri Aug 8 13:11:01 1997 Mike Meissner * config/powerpc/ppc{,le}-{eabi,sim}.mt (TDEPFILES): Make sure ppc-bdm.o and ocd.o are used for all powerpc-eabi targets. -start-sanitize-gdbtk -Fri Aug 8 00:13:32 1997 Martin M. Hunt - - * gdbtk.c (breakpoint_notify): Change buffer size from 100 - to 256 to avoid memory corruption with very long pathnames. - -end-sanitize-gdbtk Thu Aug 7 19:40:52 1997 Geoffrey Noer Changes to OCD support to support wiggler box as well as @@ -1449,13 +1142,6 @@ Thu Aug 7 19:40:52 1997 Geoffrey Noer return buffer and initializing curr location ptr to start of buffer. -start-sanitize-gdbtk -Thu Aug 7 14:08:23 1997 Martin M. Hunt - - * configure.in: Change required Tix version to 4.1.8.0 . - * configure: Rebuilt. - -end-sanitize-gdbtk Thu Aug 7 13:39:31 1997 Geoffrey Noer * ocd.h: add OCD_SET_CONNECTION @@ -1587,14 +1273,10 @@ Sun Aug 3 08:18:09 1997 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) Fri Aug 1 15:21:44 1997 Ian Lance Taylor - * gdbtk.c (Tcl_Alloc): Don't provide our own version of this if - _WIN32. - (Tcl_Realloc, Tcl_Free): Likewise. * configure.in: Check for cygwin32 environment. Define and substitute WIN32LIBS and WIN32LDAPP. Always set configdir to unix; setting it to win was for an old Tcl/Tk configuration scheme. - * aclocal.m4 (CY_AC_LOAD_TKCONFIG): Substitute TK_BUILD_INCLUDES. * Makefile.in (TK_CFLAGS): Add @TK_BUILD_INCLUDES@. (WIN32LDAPP, WIN32LIBS): Define. (CLIBS): Add $(WIN32LIBS). @@ -1655,27 +1337,12 @@ Fri Jul 25 15:37:15 1997 Stu Grossman * v850ice.c: Include . Support new v850 DLL interface. * Add defs for target status. -start-sanitize-gdbtk -Tue Jul 22 19:45:37 1997 Martin M. Hunt - - * configure.in, aclocal.m4: Another fix to find the - correct Tix library name. - - * configure: Rebuilt. - -end-sanitize-gdbtk Tue Jul 22 12:11:48 1997 Michael Snyder (msnyder@cleaver.cygnus.com) * config/mips/tm-mips64.h: longs, long longs, and pointers are all 64 bits on EABI mips targets. -start-sanitize-gdbtk -Mon Jul 21 22:24:07 1997 Martin M. Hunt - - * aclocal.m4: Search for the correct tix library. -end-sanitize-gdbtk - Thu Jul 17 11:38:46 1997 Michael Snyder (msnyder@cleaver.cygnus.com) * partial-stab.h (case N_BINCL): detect missing partial symtab. @@ -1702,35 +1369,13 @@ Mon Jul 14 18:02:53 1997 Michael Snyder (msnyder@cleaver.cygnus.com) * procfs.c (wait_fd): Handle an fd that has "hung up" or otherwise terminated (Solaris threads). -start-sanitize-gdbtk Thu Jul 10 00:02:41 1997 Martin M. Hunt - * Makefile.in, configure.in, aclocal.m4: Add Itcl, Tix, and - IDE configuration information. - - * gdbtk.c (breakpoint_notify): Send address, linenumber and - filename when a breakpoint is set. Avoids call to bp_info. - (gdbtk_init): Call Tcl_FindExecutable(). Add code to handle - Itcl, Tix and IDE initialization. - * defs.h (init_ui_hook): Change prototype to accept one arg. - * main.c (gdb_init): Change prototype to accept one arg. - * top.c (gdb_init): Accepts one argument which it uses to - call (*init_ui_hook), which will be gdbtk_init(). This is - used for calling Tcl_FindExecutable(). - - * gdbtcl/breakpoint.tcl (gdbtk_tcl_breakpoint): Change to - accept variable number of args for compatibility with - cchanges in gdbtk.c. - - * configure: Regenerated. + call (*init_ui_hook). - * gdbtcl/tclIndex: Regenerated. - -end-sanitize-gdbtk - Fri Jul 4 14:49:33 1997 Ian Lance Taylor * source.c (OPEN_MODE, FDOPEN_MODE): Define; value depends upon @@ -1963,11 +1608,6 @@ Fri Jun 13 10:28:09 1997 Fred Fish (java-exp.tab.c): Ditto. (f-exp.tab.c): Ditto. (m2-exp.tab.c): Ditto. -start-sanitize-gdbtk - - * gdbtk.c (gdbtk_init): Make truth value test explicit. - Remove unused static variable "Gdbtk_Library". -end-sanitize-gdbtk * sh-tdep.c (symfile.h): Include. (gdb_string.h): Include. @@ -1977,11 +1617,6 @@ end-sanitize-gdbtk Sat Jun 7 02:34:19 1997 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) -start-sanitize-gdbtk - * gdbtk.c (gdb_get_breakpoint_info): Add string for new - enumeration del_at_next_stop to bpdisp array. - -end-sanitize-gdbtk * eval.c (evaluate_subexp_for_sizeof): Handle dereferencing of non-pointer values. @@ -2025,12 +1660,6 @@ Tue Jun 3 16:24:46 1997 Michael Snyder (msnyder@cleaver.cygnus.com) * configure.tgt: add mipsr3900-elf target * config/mips/r3900.mt r3900l.mt tm-r3900.h tm-r3900l.h: ditto -start-sanitize-gdbtk -Tue Jun 3 15:46:51 1997 Tom Tromey - - * Makefile.in (LIB_RUNTIME_DIR): New variable. - -end-sanitize-gdbtk Tue May 27 10:34:11 1997 Michael Snyder * dbxread.c: Check malloc's return for null, prevent segv. @@ -2134,17 +1763,6 @@ Thu May 8 08:42:47 1997 Andrew Cagney * configure: Re-generate. * remote-sim.c: Signal returns RETSIGTYPE. -start-sanitize-gdbtk -Wed May 7 19:10:19 1997 Andrew Cagney - - * gdbtk.c (wrapped_call): New function - make actual call to tk - worker function. - (call_wrapper): Rewrite to use top.c:catch_errors. - - * gdbtk.c (gdb_stop): If No target_stop set quit flag and hope for - best. - -end-sanitize-gdbtk Wed May 7 20:05:07 1997 Andrew Cagney * target.h (target_stop): Drop argument so it can be tested for @@ -2299,12 +1917,6 @@ Tue Apr 22 09:02:10 1997 Stu Grossman (grossman@critters.cygnus.com) * Makefile.in (maintainer-clean): Add distclean to dependencies. Remove duplicate rm's of files. -start-sanitize-gdbtk -Mon Apr 21 14:00:08 1997 Doug Evans - - * gdbtk.c (gdb_disassemble): Store endian-ness in `di'. - -end-sanitize-gdbtk Mon Apr 21 09:49:25 1997 Stu Grossman (grossman@critters.cygnus.com) * remote-pa.c: Remove. It's broken and no longer necessary. @@ -2403,14 +2015,6 @@ Fri Apr 18 16:52:41 1997 Andrew Cagney (gdb_os_poll_quit): New function. Check for a quit pending on the console. -start-sanitize-gdbtk -Wed Apr 16 12:33:06 1997 Andrew Cagney - - * Makefile.in (install-only): Make list of gdbtcl files to install - explicit - was picking up files such as ChangeLog etc. - (install-only): Don't blindly create the directory. - -end-sanitize-gdbtk Thu Apr 17 14:30:04 1997 Per Bothner * defs.h (enum language): Add language_java. @@ -2616,13 +2220,6 @@ Wed Apr 2 14:16:51 1997 Doug Evans * remote-sim.c (gdbsim_open): Check return code from sim_open. Update call to sim_open (new arg SIM_OPEN_DEBUG). -start-sanitize-gdbtk -Tue Apr 1 15:04:21 1997 Jason Molenda (crash@godzilla.cygnus.co.jp) - - * configure.in (gdbtcl): Create soft-link for gdbtcl/ directory instead - of gdbtk.tcl. - -end-sanitize-gdbtk Mon Mar 31 14:55:53 1997 Ian Lance Taylor * gdbinit.in: New file. @@ -2658,13 +2255,6 @@ Fri Mar 28 15:38:04 1997 Mike Meissner to va_list from void *, since va_list might not be a pointer type. -start-sanitize-gdbtk -Fri Mar 28 17:04:02 1997 Jason Molenda (crash@godzilla.cygnus.co.jp) - - * Makefile.in (gdbtk.o): look for GDBTK_LIBRARY in $(datadir) by - default, not $(srcdir). - -end-sanitize-gdbtk Thu Mar 27 14:21:46 1997 Mark Alexander * remote-mips.c: Clean up comment and extraneous semicolon @@ -2770,21 +2360,6 @@ Wed Mar 19 16:13:22 1997 Geoffrey Noer * configure.tgt: added new entries * configure.host: added new entries -start-sanitize-gdbtk -Wed Mar 19 15:16:17 1997 Martin M. Hunt - - * Makefile.in: Install gdbtcl dir instead of gdbtk.tcl. - - * gdbtk.c: Added some ifdefs for Windows. Changed GDBTK_FILENAME - to GDBTK_LIBRARY, which is now a path to search. - (gdb_path_conv): New function. Convert Cygwin32 pathname to - DOS-style pathname. - - * {aclocal.m4,configure.in}: Changes for Windows builds. - - * configure: Rebuilt. - -end-sanitize-gdbtk Mon Mar 17 17:52:00 1997 J.T. Conklin * dsrec.c (load_srec): Print leading zeroes when printing section @@ -2816,13 +2391,6 @@ Fri Mar 14 15:44:03 1997 Ian Lance Taylor * Makefile.in (elfread.o): Depend upon elf-bfd.h and elf/mips.h. -start-sanitize-gdbtk -Fri Mar 14 10:01:29 1997 Tom Tromey - - * configure: Regenerated. - * configure.in (LIBS): Re-reverse order of TCL_LIBS and TK_LIBS. - -end-sanitize-gdbtk Thu Mar 13 22:51:00 1997 Dawn Perchik * utils.c (pollquit, notice_quit): If _WIN32, limit test for @@ -2852,17 +2420,6 @@ Wed Mar 12 14:40:06 1997 Tom Tromey * acconfig.h (START_INFERIOR_TRAPS_EXPECTED, sys_quotactl, HAVE_HPUX_THREAD_SUPPORT): Define. -start-sanitize-gdbtk -Wed Mar 12 14:29:52 1997 Tom Tromey - - * gdbtk.c (x_event): Use Tcl_DoOneEvent, TCL_DONT_WAIT, - TCL_ALL_EVENTS. - - * configure: Regenerated. - * configure.in (ENABLE_GDBTK): Put TCL_LIBS after TK_LIBS in - LIBS. - -end-sanitize-gdbtk Tue Mar 11 07:25:27 1997 Mark Alexander First cut at supporting simulators in gdbserver: @@ -3125,12 +2682,6 @@ Mon Feb 10 16:11:57 1997 Jeffrey A Law (law@cygnus.com) (value_arg_coerce): Similarly. (value_of_variable): Provide dummy initialization of "frame". -start-sanitize-gdbtk -Mon Feb 10 13:50:53 1997 Stu Grossman (grossman@critters.cygnus.com) - - * gdbtk.c (call_wrapper): Clear running_now if an error occurs. - -end-sanitize-gdbtk Mon Feb 10 07:54:26 1997 Fred Fish * xcoffread.c (RECORD_MINIMAL_SYMBOL): Add NULL asection* parameter diff --git a/gdb/ChangeLog-gdbtk b/gdb/ChangeLog-gdbtk new file mode 100644 index 0000000..be35ad6 --- /dev/null +++ b/gdb/ChangeLog-gdbtk @@ -0,0 +1,1196 @@ +Tue Dec 16 21:16:42 1997 Ian Lance Taylor + + * Makefile.in (LIBGUI): New variable. + (GUI_CFLAGS_X): New variable. + (IDE_CFLAGS): Add $(GUI_CFLAGS_X). + * configure.in: Add $(LIBGUI) to TCL_LIBS and CONFIG_DEPS. + * configure: Rebuild. + +Wed Dec 10 13:16:45 1997 Keith Seitz + + * gdbtk.c (gdb_get_tracepoint_info): Use info in struct + symtab_and_line (not struct tracepoint) so that we get the + real line info for an address. Arrange data more like + gdb_get_breakpoint_info. + (tracepoint_notify): Use info in struct symtab_and_line again. + (gdbtk_init): Add command "gdb_get_tracepoint_list" into + interpreter. + (gdb_get_tracepoint_list): New function that aids the source + window in displaying tracepoints when the file changes. + +Fri Dec 5 10:31:23 1997 Keith Seitz + + * gdbtk.c (gdbtk_init): Add gdb_find_file into interpreter. + (gdb_find_file_command): New function which searches source path + to find the real full filename of a file. + +Mon Dec 1 10:19:44 1997 Keith Seitz + + * gdbtk.c: Move include of "guitcl.h" back out of IDE ifdef. + (gdbtk_init): Move ide_initialize_paths out of IDE ifdef. + + * configure.in (TCL_LIBS, CONFIG_DEPS): Add IDE libraries for all + builds. + (CONFIG_OBS): Remove tracepoint.o, which should always be included. + + * configure: regenerate + + * Makefile.in (install-only): ALWAYS install the new gdbtk + (REMOTE_OBS): add tracepoint.o + +Thu Nov 27 09:07:18 1997 Michael Meissner + + * configure.in ({TCL_LIBS,CONFIG_DEPS}): Don't add IDE libraries + if not --enable-ide. + (CONFIG_OBS): Add tracepoint.o to list if --enable-gdbtk. + * configure: Regenerate. + + * gdbtk.c (gdb_get_breakpoint_info): Add missing filename + argument. + (toplevel): Move include of guitcl.h into #ifdef IDE region. + (gdbtk_init): Move ide_initialize_paths call into #ifdef IDE + section. + + * Makefile.in (gdbtk.o): Update dependencies. + +Wed Nov 26 15:02:43 1997 Keith Seitz + + * gdbtk.c (gdb_loc): symtab_to_filename can return NULL. + (breakpoint_notify): Ditto. + (gdb_get_breakpoint_info): Ditto. + +Wed Nov 26 11:33:09 1997 Keith Seitz + + Merge in code from Foundry branch: + + * Makefile.in (install-only): install the new gdbtk, not the old + + * gdbtk.c (gdbtk_call_command): also run idle hooks for class_trace + commands + (gdbtk_init): Add new commands "gdb_get_locals", "gdb_get_args", + "gdb_get_function", "gdb_get_line", "gdb_get_file", + "gdb_tracepoint_exists", "gdb_get_tracepoint_info", "gdb_actions", + and "gdb_prompt". + (gdb_get_vars_command): New function. + (gdb_get_line_command): New. + (gdb_get_file_command): New. + (gdb_get_function_command): New. + (gdb_get_tracepoint_info): New. + (gdbtk_create_tracepoint): New. + (gdbtk_delete_tracepoint): New. + (tracepoint_notify): New. + (tracepoint_exists): New. + (gdb_actions_command): New. + (gdb_tracepoint_exists_command): New. + (gdb_prompt_command): New. + +Thu Nov 13 18:15:54 1997 Ian Lance Taylor + + * gdbtk.c: Move include of gdbcore.h to top of file. + (close_bfds): New static function if _WIN32. + (gdbtk_readline): Call close_bfds. + (call_wrapper, tk_command_loop): Likewise. + (gdb_clear_file): New static function. + (gdbtk_init): Create gdb_clear_file Tcl command. + +Wed Nov 12 14:58:39 1997 Jeff Holcomb + + * gdbtk.c: gdbtk_load_hash and ui_load_progress_hook return an + int result. + (gdbtk_load_hash): download hash routine returns an int result. + +Mon Nov 10 15:11:51 1997 Ian Lance Taylor + + * gdbtk.c (gdbtk_init): Call ide_create_shell_execute_command if + __CYGWIN32__. + * configure.in: Add -lshell32 to WIN32LIBS on cygwin32. + * configure: Rebuild. + +Sun Nov 9 16:25:34 1997 Tom Tromey + + * gdbtk.c (gdbtk_init): Run ide_create_help_command. + +Tue Oct 28 17:31:47 1997 Martin M. Hunt + + * gdbtk.c (gdbtk_init): Call ide_create_winprint_command. + +Thu Oct 23 15:53:37 1997 Ian Lance Taylor + + * configure.in: Add -lgdi32 to WIN32LIBS when linking gdbtk on + cygwin32. + * configure: Rebuild. + +Wed Oct 22 21:32:54 1997 Martin M. Hunt + + * gdbtk.c (gdbtk_init): Create sizebox command on Windows. + +Thu Oct 9 14:33:21 1997 Ian Lance Taylor + + * gdbtk.c (gdbtk_init): Remove assertion argument from call to + ide_create_window_register_command. + +Wed Oct 1 11:09:52 1997 Tom Tromey + + * gdbtk.c (gdbtk_init): Pass name of restore interface to + ide_create_window_register_command. + +Fri Sep 26 21:08:22 1997 Keith Seitz + + * gdbtk.c (gdbtk_init): Initialize ui_load_progress_hook. + +Thu Sep 25 03:05:00 1997 Martin M. Hunt + + * gdbtk.c (gdb_load_info): New function. Returns a list + of section names and sizes for an executable. + (gdbtk_load_hash): Stub function to call tcl function + download_hash. + +Tue Sep 23 01:29:00 1997 Martin M. Hunt + + * gdbtk.c (gdb_get_mem): Fix compiler warning. + +Sun Sep 21 00:15:00 1997 Martin M. Hunt + + * gdbtk.c (gdb_get_mem): Fix problem with ASCII dump. + +Tue Sep 16 18:07:17 1997 Martin M. Hunt + + * gdbtk.c (gdb_get_mem): New function. Returns + a formatted memory dump with optional ASCII dump. + +Mon Sep 8 12:48:50 1997 Ian Lance Taylor + + * gdbtk.c: Include ilutk.h if IDE. + (gdb_confirm_quit, gdb_force_quit): New static functions. + (gdbtk_init): Add Tcl commands gdb_confirm_quit and + gdb_force_quit. + +Mon Sep 8 03:05:33 1997 Martin M. Hunt + + * gdbtk.c (gdb_get_breakpoint_info): Now returns the + function a breakpoint is in. + +Fri Sep 5 20:23:58 1997 Ian Lance Taylor + + * gdbtk.c (gdbtk_init): Call ide_create_exit_command. + +Wed Sep 3 19:39:15 1997 Ian Lance Taylor + + * gdbtk.c: Include guitcl.h. + (gdbtk_init): Always call ide_initialize_paths. Set the Tcl + variable IDE to 1 when using the IDE. Always try using auto path + to find main.tcl. + * Makefile.in (IDE_CFLAGS_X): Always include libide. + (LIBIDE): New variable. + (IDE_X): Omit -lide. + (IDE_DEPS): Omit libide. + * configure.in: Add LIBIDE to TCL_LIBS and CONFIG_DEPS. + * configure: Rebuild. + +Mon Aug 25 02:28:55 1997 Keith Seitz + + * gdbtk.c: (gdb_target_has_inferior) check if inferior_pid is non-zero + before assuming that the inferior is running. + +Mon Aug 25 01:06:48 1997 Ian Lance Taylor + + * gdbtk.c (gdbtk_start_timer): Pass third argument to setitimer. + (gdbtk_stop_timer): Likewise. + +Mon Aug 25 00:23:08 1997 Keith Seitz + + * gdbtk.c: (gdbtk_init) create new command "gdb_target_has_execution" + (gdb_target_has_execution_command) new function + +Sun Aug 24 20:27:22 1997 Ian Lance Taylor + + * gdbtk.c (gdb_loc): If there are no symbols, just bail + immediately. + (tk_command_loop): Print errors encountered while running + gdbtk_tcl_preloop. + +Sun Aug 24 13:44:03 1997 Tom Tromey + + * gdbtk.c (gdbtk_init): Run ide_create_build_command. + +Sat Aug 23 21:53:39 1997 Ian Lance Taylor + + * gdbtk.c: If CYGWIN32, include . + (x_fd): Don't define if WINNT. + (gdbtk_start_timer, gdbtk_stop_timer): New static functions if + CYGWIN32. + (gdbtk_wait): Don't set up signal handling if WINNT. If CYGWIN32, + call gdbtk_start_timer and gdbtk_stop_timer. + (gdbtk_init): Don't set up signal handling or make x_fd + asynchronous if CYGWIN32. + +Fri Aug 22 15:23:15 1997 Ian Lance Taylor + + * gdbtk.c (error_string_ptr): New static variable. + (gdbtk_fputs): If result_ptr is NULL, and error_string_ptr is not + NULL, and we're outputting to stderr, append string to + error_string_ptr rather than calling gdbtk_tcl_fputs. + (call_wrapper): Set up error_string_ptr. Put both error string + and normal string in Tcl result. + + * gdbtk.c (gdbtk_init): Don't call ide_run_server_init until after + gdb has initialized. + +Thu Aug 21 19:14:38 1997 Ian Lance Taylor + + * gdbtk.c: If _WIN32, include winuser.h. + (gdbtk_init): If _WIN32, use MessageBox to display an error + evaluating main.tcl. + +Thu Aug 21 00:48:00 1997 Martin M. Hunt + + * gdbtk.c (gdbtk_init): Add call to ide_run_server_init(). + (gdb_cmd): For the load command, don't buffer the I/O. + +Wed Aug 20 11:41:22 1997 Martin M. Hunt + + * gdbtk.c (gdbtk_query): Chaneg free() call to Tcl_Free(). + +Tue Aug 19 17:09:19 1997 Ian Lance Taylor + + * Makefile.in (TCL_DEPS, TK_DEPS): New variables. + (ITCL_DEPS, TIX_DEPS): New variables. + (IDE_DEPS): New variable. + (CDEPS): Include @CONFIG_DEPS@. + * configure.in: Set and substitute CONFIG_DEPS and TIX_DEPS. + * configure: Rebuild. + +Sun Aug 17 00:42:11 1997 Martin M. Hunt + + * gdbtk.c (gdb_listfuncs): New function that returns + a list of all the functions in a source file. + +Tue Aug 12 16:35:21 1997 Ian Lance Taylor + + * Makefile.in (install-only): Install tclIndex if ENABLE_IDE. + +Mon Aug 11 10:43:04 1997 Tom Tromey + + * gdbtk.c (gdbtk_init): Use ide_event_init_from_environment. + +Fri Aug 8 15:59:24 1997 Ian Lance Taylor + + * gdbtk.c (gdbtk_init): Change gdbtk_lib_tmp and gdbtk_file to be + dynamically allocated, rather than fixed size. Pass "gdbtcl" to + ide_initialize_paths to match installed directory name. If IDE, + use auto_path to search for main.tcl. + * Makefile.in (install-only): If ENABLE_IDE, install from gdbtcl2 + rather than gdbtcl. + + * gdbtk.c (gdbtk_cleanup): New static function. + (gdbtk_init): Add gdbtk_cleanup as a final cleanup. Uncomment + call to ide_initialize_paths. If we can't initialize the event + system, set GDBTK_IDE to 0 in the Tcl interpreter. Create the + ide_window_register and the ide_window commands. Initialize tk, + itcl, and tix after initializing the IDE. + + * configure.in (tixdir): Update for cygwin32 case for Tcl 8.0. + * configure: Rebuild. + +Fri Aug 8 00:13:32 1997 Martin M. Hunt + + * gdbtk.c (breakpoint_notify): Change buffer size from 100 + to 256 to avoid memory corruption with very long pathnames. + +Thu Aug 7 14:08:23 1997 Martin M. Hunt + + * configure.in: Change required Tix version to 4.1.8.0 . + * configure: Rebuilt. + +Fri Aug 1 15:21:44 1997 Ian Lance Taylor + + * gdbtk.c (Tcl_Alloc): Don't provide our own version of this if + _WIN32. + (Tcl_Realloc, Tcl_Free): Likewise. + * configure.in: Check for cygwin32 environment. Define and + substitute WIN32LIBS and WIN32LDAPP. Always set configdir to + unix; setting it to win was for an old Tcl/Tk configuration + scheme. + * aclocal.m4 (CY_AC_LOAD_TKCONFIG): Substitute TK_BUILD_INCLUDES. + * Makefile.in (TK_CFLAGS): Add @TK_BUILD_INCLUDES@. + (WIN32LDAPP, WIN32LIBS): Define. + (CLIBS): Add $(WIN32LIBS). + (gdb): Use $(WIN32LDAPP). + * configure: Rebuild. + +Tue Jul 22 19:45:37 1997 Martin M. Hunt + + * configure.in, aclocal.m4: Another fix to find the + correct Tix library name. + + * configure: Rebuilt. + +Mon Jul 21 22:24:07 1997 Martin M. Hunt + + * aclocal.m4: Search for the correct tix library. + +Thu Jul 10 00:02:41 1997 Martin M. Hunt + + * Makefile.in, configure.in, aclocal.m4: Add Itcl, Tix, and + IDE configuration information. + + * gdbtk.c (breakpoint_notify): Send address, linenumber and + filename when a breakpoint is set. Avoids call to bp_info. + (gdbtk_init): Call Tcl_FindExecutable(). Add code to handle + Itcl, Tix and IDE initialization. + + * configure: Regenerated. + +Fri Jun 13 10:28:09 1997 Fred Fish + + * gdbtk.c (gdbtk_init): Make truth value test explicit. + Remove unused static variable "Gdbtk_Library". + +Sat Jun 7 02:34:19 1997 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) + + * gdbtk.c (gdb_get_breakpoint_info): Add string for new + enumeration del_at_next_stop to bpdisp array. + +Tue Jun 3 15:46:51 1997 Tom Tromey + + * Makefile.in (LIB_RUNTIME_DIR): New variable. + +Wed May 7 19:10:19 1997 Andrew Cagney + + * gdbtk.c (wrapped_call): New function - make actual call to tk + worker function. + (call_wrapper): Rewrite to use top.c:catch_errors. + + * gdbtk.c (gdb_stop): If No target_stop set quit flag and hope for + best. + +Mon Apr 21 14:00:08 1997 Doug Evans + + * gdbtk.c (gdb_disassemble): Store endian-ness in `di'. + +Wed Apr 16 12:33:06 1997 Andrew Cagney + + * Makefile.in (install-only): Make list of gdbtcl files to install + explicit - was picking up files such as ChangeLog etc. + (install-only): Don't blindly create the directory. + +Tue Apr 1 15:04:21 1997 Jason Molenda (crash@godzilla.cygnus.co.jp) + + * configure.in (gdbtcl): Create soft-link for gdbtcl/ directory + instead of gdbtk.tcl. + +Fri Mar 28 17:04:02 1997 Jason Molenda (crash@godzilla.cygnus.co.jp) + + * Makefile.in (gdbtk.o): look for GDBTK_LIBRARY in $(datadir) by + default, not $(srcdir). + +Wed Mar 19 15:16:17 1997 Martin M. Hunt + + * Makefile.in: Install gdbtcl dir instead of gdbtk.tcl. + + * gdbtk.c: Added some ifdefs for Windows. Changed GDBTK_FILENAME + to GDBTK_LIBRARY, which is now a path to search. + (gdb_path_conv): New function. Convert Cygwin32 pathname to + DOS-style pathname. + + * {aclocal.m4,configure.in}: Changes for Windows builds. + + * configure: Rebuilt. + +Fri Mar 14 10:01:29 1997 Tom Tromey + + * configure: Regenerated. + * configure.in (LIBS): Re-reverse order of TCL_LIBS and TK_LIBS. + +Wed Mar 12 14:29:52 1997 Tom Tromey + + * gdbtk.c (x_event): Use Tcl_DoOneEvent, TCL_DONT_WAIT, + TCL_ALL_EVENTS. + + * configure: Regenerated. + * configure.in (ENABLE_GDBTK): Put TCL_LIBS after TK_LIBS in + LIBS. + +Mon Feb 10 13:50:53 1997 Stu Grossman (grossman@critters.cygnus.com) + + * gdbtk.c (call_wrapper): Clear running_now if an error occurs. + +Wed Dec 11 18:51:35 1996 Mark Alexander + + * gdbtk.c (gdb_loc): Correct truncation of PC on 64-bit MIPS. + +Tue Nov 19 09:26:14 1996 Tom Tromey + + * gdbtk.c (gdbtk_readline): Fix memory leak. + +Mon Nov 18 23:43:05 1996 Tom Tromey + + Fixes for Tcl 7.6 / Tk 4.2: + * gdbtk.tcl (apply_filespec): Use tk_getOpenFile. + Remove old fileselect code. + * gdbtk.c (Tcl_Alloc): Rename from Tcl_Malloc. + +Fri Sep 27 10:25:30 1996 Fred Fish + + * gdbtk.tcl (create_copyright_window): Increase timeout from + 15 seconds to 30 seconds. + +Wed Sep 4 17:28:40 1996 Stu Grossman (grossman@critters.cygnus.com) + + * configure configure.in: Add host *windows* to list of hosts + that don't support GDBtk. + +Fri Aug 23 00:44:57 1996 Fred Fish + + * gdbtk.c (gdbtk_init): Check for a DISPLAY env variable and + gracefully degrade to using command line interface if none is + found. + +Fri Aug 9 12:32:53 1996 Tom Tromey + + * Makefile.in (LIB_INSTALL_DIR): New macro. + (TCL): Include @TCL_LD_SEARCH_FLAGS@. + +Thu Aug 1 20:35:01 1996 Tom Tromey + + * gdbtk.c (mainWindow): Deleted. + (cleanup_init): Don't destroy main window. + (gdbtk_init): Main window now created by Tk_Init. + + * configure.in: Most X checks now handled automatically by Tk. + Use new macros to find Tcl/Tk. + * aclocal.m4: New version for new Tcl/Tk; from Don Libes. + * config.in, configure: Regenerated. + + * Makefile.in (TCL, TCL_CFLAGS, TK, TK_CFLAGS, X11_CFLAGS, + X11_LDFLAGS, X11_LIBS): Changed for new Tcl and Tk. + +Thu Aug 1 16:12:05 1996 Jason Molenda (crash@godzilla.cygnus.co.jp) + + * Makefile.in (gdbtk.tcl): put in $(datadir), not $(libdir). + +Fri Jul 26 14:07:37 1996 Ian Lance Taylor + + * gdbtk.c (gdb_disassemble): Initialize di.flavour. + +Thu Jul 25 19:41:31 1996 Fred Fish + + * gdbtk.c (null_routine): Ditto. + (gdbtk_flush): Ditto. + (gdbtk_fputs): Ditto. + (gdbtk_query): Ditto. + (gdbtk_readline): Ditto. + (gdbtk_readline_end): Ditto. + (gdb_get_breakpoint_list): Ditto. + (gdb_get_breakpoint_info): Ditto. + (breakpoint_notify): Ditto. + (gdbtk_create_breakpoint): Ditto. + (gdbtk_delete_breakpoint): Ditto. + (gdbtk_modify_breakpoint): Ditto. + (gdb_loc): Ditto. + (gdb_eval): Ditto. + (gdb_sourcelines): Ditto. + (map_arg_registers): Ditto. + (get_register_name): Ditto. + (gdb_regnames): Ditto. + (get_register): Ditto. + (gdb_fetch_registers): Ditto. + (register_changed_p): Ditto. + (gdb_changed_register_list): Ditto. + (gdb_cmd): Ditto. + (call_wrapper): Ditto. + (gdb_listfiles): Ditto. + (gdb_stop): Ditto. + (gdbtk_dis_asm_read_memory): Ditto. + (compare_lines): Ditto. + (gdb_disassemble): Ditto. + (tk_command): Ditto. + (cleanup_init): Ditto. + (gdbtk_interactive): Ditto. + (x_event): Ditto. + (gdbtk_wait): Ditto. + (gdbtk_call_command): Ditto. + (tk_command_loop): Ditto. + (gdbtk_init): Ditto. + + * gdbtk.c (register_changed_p): Remove unused local variable "buf". + +Sat Jul 20 17:46:40 1996 Fred Fish + + * gdbtk.tcl (files_command): Reorder the binding tags for + the listbox widget to avoid referencing the listbox after + the containing widget has been destroyed by the action of + a previous binding. + +Sat Jul 20 10:09:28 1996 Fred Fish + + * gdbtk.tcl (delete_expr): Unset corresponding element of + expr_update_list when destroying an expression. + (create_expr_window): Initialize expr_num, delete_expr_num, + and expr_update_list here when each new expression window + is created, rather than once at startup. + +Mon Jul 15 16:44:05 1996 Stu Grossman (grossman@critters.cygnus.com) + + * gdbtk.c (gdb_disassemble): Setup di.mach from + tm_print_insn_info.mach, and set endian from TARGET_BYTE_ORDER. + +Fri Jun 21 11:04:47 1996 Fred Fish + + * gdbtk.tcl (create_register_windows): Include missing '$'s. + Add global declarations for various reg_format_* variables. + * gdbtk.tcl (populate_register_window): Make initial window one + line taller to account for new column header line. + +Fri Jun 21 09:46:47 1996 Fred Fish + + * gdbtk.c (get_register): Support for printing raw formats. + * gdbtk.tcl: Add hint for using debug_interface. + (center_window, add_breakpoint_frame, delete_breakpoint_frame): + Enclose arg in braces for consistency. + (create_registers_window, populate_reg_window, update_registers): + Major rewrite to support displaying multiple formats in the register + window. + (init_reg_info): New function. + (recompute_reg_display_list): Reset reg_display_list, start + register display lines at line 2. + +Thu Jun 20 08:18:59 1996 Fred Fish + + * gdbtk.tcl (gdbtk_tcl_readline_begin): Handle backspace to + avoid backing up over prompt. At every input, make sure insert + point is at least after command start, handle control-u to delete + current input line. + (tclsh): Handle backspace to avoid backing up over prompt. Handle + control-u to delete current input line. + +Wed Jun 19 17:23:38 1996 Geoffrey Noer + + * configure.in: disable gdbtk for *cygwin32* hosted compiles + * configure: regenerated with autoconf 2.8 + +Sun May 19 16:49:37 1996 Fred Fish + + * gdbtk.c (gdbtk_readline_begin, gdbtk_readline, gdbtk_readline_end): + New functions. + (tk_command_loop): Set instream to NULL to enable Tk user interaction. + (gdbtk_init): Set readline_begin_hook, readline_hook, + and readline_end_hook. + * gdbtk.tcl (gdbtk_tcl_readline_begin, gdbtk_tcl_readline, + gdbtk_tcl_readline_end): New functions. + (tclsh): Pack scroll bar on right side of window, not left. + +Fri May 17 13:54:34 1996 Fred Fish + + * gdbtk.tcl (create_command_window): Change a misspelled "get" + to the intended "cget". + (delete_line): Fix so it deletes the current line at the + insertion cursor. + +Thu May 16 19:20:29 1996 Fred Fish + + * gdbtk.tcl (gdb_prompt): Set this early on. + (create_command_window): Use gdb_prompt rather than "(gdb) ". + (gdbtk_tcl_preloop): Proc executed just prior to Tk main loop. + (tclsh): If an evaluation window already exists, just bring it + to the front instead of trying to create another. + * gdbtk.c (tk_command_loop): New function. + (gdbtk_init): Call tk_command_loop rather than Tk_MainLoop. + +Thu May 16 16:16:35 1996 Fred Fish + + * gdbtk.tcl (evaluate_tcl_command, tclsh): New functions that + implement a tcl evaluation window for gdbtk maintainers to use. + +Thu May 16 11:42:58 1996 Tom Tromey + + * gdbtk.tcl (files_command): Correctly insert list of files into + listbox widget. + + * gdbtk.tcl (files_command): listbox command no longer accepts + -geometry. + +Wed May 15 16:04:09 1996 Stan Shebs + + * gdbtk.tcl (create_command_window): If command window's buffer + is disabled, don't execute any of the key bindings. + +Mon May 13 13:43:25 1996 Fred Fish + + * gdbtk.c (tk_command): Catch case where no argument is given + since this will cause the tcl interpreter to dump core. + +Wed May 8 20:33:24 1996 Fred Fish + + * gdbtk.c: Fix a couple of misspellings. + +Thu May 2 19:17:49 1996 Stan Shebs + + * gdbtk.tcl (debug_interface): New global, use to aid debugging. + (insert_breakpoint_tag, delete_breakpoint_tag): Fix range. + (file_popup_menu): Delete, never used. + (listing_window_popup): Rename from listing_window_button_1, + remove breakpoint toggling code. + (toggle_breakpoint): New procedure. + (create_file_win): Bind popup menu to button 2, toggle breakpoints + with button 1 in breakpoint area, add display of tagged areas if + debugging on. + +Fri Apr 5 13:44:40 1996 Stan Shebs + + * gdbtk.c (running_now): New global variable. + (gdb_cmd): Test it before executing any command. + (gdbtk_call_command): Set it when inferior is running. + * gdbtk.tcl (gdbtk_tcl_busy, gdbtk_tcl_idle): Enable and + disable interaction with command window's text appropriately. + +Fri Apr 5 13:25:42 1996 Michael Meissner + + * gdbtk.c (SIOCSPGRP, linux): If on Linux, undef SIOCSPGRP, since + some versions of the kernel don't support it. + +Tue Feb 6 16:31:25 1996 Tom Tromey + + * gdbtk.tcl (create_file_win): Eliminate text widget B1 binding so + double-clicking will work again. + (create_asm_win): Put "break" at end of all B1 bindings. + (create_file_win): Lower "sel" tag, don't raise it. + (ensure_line_visible): New proc. + (update_listing, update_assembly): Use it. + (create_copyright_window): Destroy window on Leave event. + (create_command_window): Put "break" at end of all B2 bindings. + +Wed Jan 24 15:28:41 1996 Tom Tromey + + * gdbtk.tcl, gdbtk.c: Updated copyrights. + + * configure.in: Look for -ldl or -ldld when using Tcl 7.5 or + greater. + * configure: Rebuilt. + +Tue Jan 23 09:00:48 1996 Doug Evans + + * gdbtk.c (gdb_disassemble): Pass fprintf_unfiltered to + INIT_DISASSEMBLE_INFO. + +Mon Jan 15 09:58:41 1996 Tom Tromey + + * gdbtk.tcl (create_expr_window): Many changes to update GUI. + (add_expr): Changes from create_expr_window. + (create_command_window): Set focus. + (delete_expr): Rewrote. + (expr_update_button): New proc. + (add_expr): Put bindings on FocusIn, FocusOut. + Don't allow .file_popup to be torn off. + +Fri Jan 12 09:36:17 1996 Tom Tromey + + * gdbtk.tcl (gdbtk_tcl_query): Swap Yes and No buttons. + (update_listing): Use lassign. Use "see" to scroll. Don't need + screen_top, screen_bot, screen_height. + (update_assembly): Use "see" to scroll. + (textscrollproc): Removed. + (create_file_win): Don't use textscrollproc. + (asmscrollproc): Removed. + (create_asm_window): Don't use asmscrollproc. + (create_asm_win): Ditto. + (screen_height, screen_top, screen_bot): Removed. + (run_editor): New proc. + (build_framework): Use it. + (create_file_win, create_source_window): Don't use textscrollproc. + (create_breakpoints_window): Set -xscrollcommand on canvas. + (not_implemented_yet): Default button is 0. + (delete_char): Don't use tk_textBackspace. + (create_command_window): Allow Tk bindings to fire after deleting + character. + (create_command_window): Make Delete delete left, not right. + +Thu Jan 11 10:08:14 1996 Tom Tromey + + * gdbtk.tcl (FSBox): Don't use tk_listboxSingleSelect. + + Changes in sync with expect: + * configure.in (ENABLE_GDBTK): Use CY_AC_PATH_TCL and + CY_AC_PATH_TK. + * aclocal.m4: Replaced with version from expect. + * configure: Regenerated. + +Wed Jan 10 09:07:22 1996 Tom Tromey + + * gdbtk.tcl (gdbtk_tcl_fputs, gdbtk_tcl_fputs_error, + gdbtk_tcl_flush): Use "see", not "yview". + (gdbtk_tcl_query): Use questhead bitmap. + various: Always wrap condition of 'if' in {...}. + (add_breakpoint_frame): Set -value on radiobuttons. + (lassign): New proc. + (add_breakpoint_frame): Use lassign, not series of assignments. + (decr): Made faster. + (interactive_cmd): Use "see", not "yview". + (not_implemented_yet): Use warning bitmap. + (update_expr): Don't allow $expr to be evalled by Tcl. + (create_expr_window): Don't use "focus". + (delete_char, delete_line): Define globally. + (delete_line, delete_char, create_command_window, update_autocmd, + build_framework, create_asm_win, create_file_win): Use "see", not + "yview". + (create_copyright_window, center_window, bind_widget_after_class): + New procs. + (FSBox,create_command_window, create_autocmd_window): Binding + changes for Tk4. + (textscrollproc): Define globally. + (build_framework): tk_menuBar no longer needed. Keys Prior, Next, + Home, End, Up, and Down are all defined by Tk. + (apply_filespec): Use error bitmap in dialog. + (files_command): Don't use tk_listboxSingleSelect. + (files_command): Don't use "uniq" to remove duplicates from a + list. + (update_assembly): Use lassign. + (create_asm_win): Removed redundant bindings. + (listing_window_button_1, file_popup_menu): Use tk_popup. + (ButtonRelease-1 binding): Just remove tag from window; rest + handled by Tk. + + * gdbtk.c (gdbtk_query): Use Tcl_Merge to provide quoting. + (call_wrapper): Use Tcl_Eval, not Tcl_VarEval. + (gdbtk_call_command): Ditto. + +Thu Jan 4 16:04:54 1996 Stu Grossman (grossman@cygnus.com) + + * configure configure.in: Make --enable-gdbtk be the default. + +Thu Dec 28 15:10:49 1995 Stan Shebs + + * README.GDBTK: Polish introductory paragraph. + +Mon Oct 16 11:27:06 1995 Stu Grossman (grossman@cygnus.com) + + * gdbtk.c (gdb_disassemble): Use fprintf_unfiltered instead of + fprintf_filtered. + +Tue Oct 10 15:26:39 1995 Fred Fish + + * README.GDBTK: Updated for version 4.15. + +Sat Aug 19 17:20:22 1995 Michael Tiemann + + * gdbtk.tcl: ENABLE comes back as "1" or "0", not "enable" or + "disable". + Also, wire up the breakpoint window so that it can be demo'd. + +Tue Aug 1 11:44:53 1995 J.T. Conklin + + * gdbtk.c: Include "gdb_string.h" instead of . + +Tue Jun 20 10:19:40 1995 Stu Grossman (grossman@cygnus.com) + + * gdbtk.c: Add functions Tcl_Malloc, Tcl_Realloc, and Tcl_Free. + + * gdbtk.tcl (add_breakpoint_frame): Add more fields. + * (create_file_win create_asm_win build_framework): Create null + bindings for meta keys to keep window from dropping down to + insertion point when meta is pressed by itself. New bindings: + Up/Down - Scroll up/down one line at a time + Next/Prior - Scroll up/down one page at a time + Home/End - Warp to current pc/end of file + * (build_framework): Turn on breakpoint menu. + * (create_command_window): Implement tab completion. Add binding + for ^C to stop target. + +Fri May 19 06:15:40 1995 Jim Kingdon + + * gdbtk.c: Conditionalize use of stdarg rather than varargs on + ANSI_PROTOTYPES not __STDC__; it must match the definition of + PARAMS. + +Thu May 18 15:58:46 1995 J.T. Conklin + + * gdbtk.c (gdbtk_query): Use stdarg.h macros when compiling with + an ANSI compiler. + +Sat Apr 15 13:52:24 1995 Stan Shebs + + * gdbtk.c (gdb_disassemble): Read from inferior if connected + to a VxWorks target. + +Fri Apr 14 10:18:20 1995 Stu Grossman (grossman@cygnus.com) + + * README.GDBTK: New file. Contains the obvious. + +Tue Apr 11 11:07:12 1995 Michael Meissner + + * gdbtk.c (gdbtk_init): If SIOCSPGRP is not available, but + F_SETOWN is, use that. + +Thu Apr 6 17:00:46 1995 Michael Meissner + + * Makefile.in (X11_INCLUDES): Define as empty. + (X11_CFLAGS): Define as including $(X11_INCLUDES). + (X11_LIB_SWITCHES): Define as empty. + (X11_LIBS): Define as -lX11. + + * configure.in (enable_gdbtk): If gdbtk, support the --x-includes + and --x-libraries switches, setting the X11_INCLUDES and + X11_LIB_SWITCHES respectively. Instead of using a hardcoded -lX11 + in ENABLE_CLIBS, use the X11_LIB_SWITCHES and X11_LIBS variables. + + * gdbtk.c (gdbtk_init): If SIOCSPGRP is not available, don't use + it. This means that the stop button doesn't work, but is better + than nothing. + +Wed Mar 29 17:09:29 1995 Stu Grossman (grossman@cygnus.com) + + * Makefile.in (gdbtk.o): Use X11_CFLAGS to provide alternate + locations (per-host) for X11 include files. + * config/pa/hppahpux.mh (XM_CLIBS): Add -L/usr/lib/X11R5 to force + the use of R5 libs. + (X11_CFLAGS): Add this to indicate the locs + of the R5 include files. + +Wed Mar 8 16:12:21 1995 Stu Grossman (grossman@cygnus.com) + + * gdbtk.c (gdb_get_breakpoint_info): Return error if breakpoint + type is not bp_breakpoint. + +Tue Feb 14 17:16:41 1995 Stu Grossman (grossman@cygnus.com) + + * gdbtk.c: Ditto. + * gdbtk.c: General cleanups, get rid of unused variables. Redo + handling of stdout/stderr to just return output as the result of + the tcl command that caused the output. Cleanup -Wall stuff. + * (breakpoint_notify): Now returns just action and breakpoint + number. + * (gdb_get_breakpoint_list): New routine. Does the obvious. + * (gdb_get_breakpoint_info): Mostly derived from the old + breakpoint_notify, but returns lots more info. + * (dsprintf_append_element): Helper routine, works like printf, + but appends a tcl element onto the specified DString. Good for + building up lists as return values. + * (gdbtk_enable/disable_breakpoint): Go away. Replaced with + gdbtk_modify_breakpoint. + * (*many routines*): Use new result protocol. + * (call_wrapper): Make sure that recursive calls don't trash results. + * gdbtk.tcl: New windows, autocmd, and breakpoints. + * (gdbtk_tcl_fputs): Don't use $current_output_win redirection + anymore. It's not needed (in fact, this routine may not be needed + anymore). + * (gdbtk_tcl_breakpoint): Change to reflect new breakpoint + notification protocol. + * (gdbtk_tcl_busy gdbtk_tcl_idle): Straighten out buttons, remove + catches. + * (interactive_cmd): Use this wrapper around button invocations + of many commands. This will catch errors and put the results into + the command window. It also updates all the other windows. + * Also, change reliefs of most things to sunken. This actually + looks better. + * (create_file_win): Fix margin binding to allow breakpoints to + work again. + * (create_asm_win): Use return value of gdb_disassemble instead + of implicit I/O to the command window. + * (create_command_window): Use new result protocol to get output + from commands. + +Sun Feb 5 20:32:44 1995 Jim Kingdon (kingdon@lioth.cygnus.com) + + * gdbtk.c (gdb_disassemble): Deference pointer to function before + calling it (pre-ANSI compilers generally require this). + +Fri Feb 3 11:19:20 1995 Stu Grossman (grossman@cygnus.com) + + * gdbtk.c (gdb_disassemble): Get rid of + dis_asm_read_memory_hook. We can now call the disassemblers + directly and have no need for this hook anymore. + +Mon Jan 30 17:34:24 1995 Stu Grossman (grossman@cygnus.com) + + * gdbtk.tcl (create_file_win): Disable old popup menu for source + window. + +Wed Jan 25 18:23:46 1995 Stu Grossman (grossman@cygnus.com) + + * gdbtk.c (gdbtk_init): Prevent segfault when gdbtk.tcl can't be + found. + * gdbtk.tcl: Initialize expr_update_list() to prevent errors when + popping up expression window for the first time. + +Tue Jan 24 12:10:28 1995 Stu Grossman (grossman@cygnus.com) + + * gdbtk.tcl (create_registers_window): Work around a radiobutton + widget bug to make Options|Natural button work. + + * gdbtk.c (gdb_disassemble): Fix problem with source+assembly and + g++ caused by out-of-order pc's. + * gdbtk.tcl (files_command): Remove duplicate file names. Also, + add scrollbar. + +Mon Jan 23 17:21:09 1995 Stu Grossman (grossman@cygnus.com) + + * gdbtk.tcl: Take .gdbtkinit if it exists. Makes gdbtk match the + doc! + +Thu Jan 12 15:02:40 1995 Stu Grossman (grossman@cygnus.com) + + * gdbtk.c, gdbtk.tcl: Update/add copyright. + * gdbtk.tcl (build_framework): Several fixes for filespec widget, + including dismiss button, and better error handling. + * (create_command_win): Bind button 2 to retrieve selection. + +Wed Jan 11 17:06:55 1995 Stu Grossman (grossman@cygnus.com) + + * gdbtk.tcl: Add button to control mixed source disassembly. + Use text widgets in expr window. The give me more control over + layout. + Add auto-updating of exprs in expression window. + Handle expressions out of scope a bit better. + Make selected window pop up to the top when invoked via the + menubar. + Make copyright message have raised relief. + + * gdbtk.c (gdbtk_init): Improve handling for errors in gdbtk.tcl + during startup. + +Thu Jan 5 17:38:29 1995 Stu Grossman (grossman@cygnus.com) + + * gdbtk.c (finish_saving_output): Don't do anything if not saving + output. + * (breakpoint_notify): Don't send null filename to tcl. + * (gdb_eval): New tcl command to eval an expression. + * (gdb_disassemble): New tcl command to do disassembly. This + allows tcl code to choose between exec file and target memeory, + and can also do mixed source and assembly. + * (gdbtk_init): Move reading of gdbtk.tcl to the end to make sure + that more of the environment is set up. Also, create link between + gdb and tcl vars disassemble{-_}from{-_}exec. + + * gdbtk.tcl: New expression window support. + * Make assembly window be 80 columns wide. + * Use new disassembly method. Add menu items to select + disassembly from exec file or target. + * Change View menubar item to Options. + + * Get rid of Stack, Breakpoints, Signals, and Variables Windows, + since they don't exist yet. + + * Pop up a copyright window on startup. + +Wed Jan 4 19:49:10 1995 Stan Shebs + + * gdbtk.tcl (build_framework): Add standard commands menu, more + windows to standard windows menu. + (not_implemented_yet): Clarify message. + +Fri Dec 30 15:49:00 1994 Stan Shebs + + * gdbtk.tcl (FSBox): New proc, File Selection Box code from exmh. + (not_implemented_yet): New proc. + (build_framework): Add various file commands to file menu. + +Fri Dec 23 16:18:50 1994 Stu Grossman (grossman@cygnus.com) + + * gdbtk.c (gdbtk_wait gdbtk_init): Portability improvements for + SIGIO handling. + +Mon Dec 19 09:55:47 1994 Stu Grossman (grossman@cygnus.com) + + * gdbtk.tcl (update_assembly): Force update to make sure that pc + is visible when creating new assembly windows. + +Sun Dec 18 23:31:20 1994 Stu Grossman (grossman@cygnus.com) + + * gdbtk.c (gdbtk_wait gdbtk_init): Use different method of + enabling I/O interrupts for SVR4 (streams). + * (start_saving_output save_output get_saved_output + finish_saving_output flush_holdbuf gdbtk_flush gdbtk_fputs + gdbtk_init): + Totally revamp to use TCLs dynamic string functions. Also, quote + all data passed back to TCL to prevent errors with unmatched + braces, odd characters, etc... This fixes several wierd problems + with outputting strings containing unmatched braces. + * (breakpoint_notify gdb_loc): Use long hex format to output + addresses of breakpoints and PCs. This fixes some Alpha problems. + * (breakpoint_notify): Add stream arg to call to gdbtk_fputs. + * (gdb_listfiles): Also, go through the symtabs when looking for + files. This makes xcoff work (sort of), but probably breaks + something else. + * (gdb_stop): Return TCL_OK instead of nothing. This fixes odd + TCL errors when hitting stop button. + * (tk_command): Don't pass interp->result on to Tcl_{Var}Eval, as + that will trash the result. strdup the result instead and pass + that on. Improve error handling as well. + + * gdbtk.tcl (gdbtk_tcl_flush): Use global def of + current_output_win. Makes flushing actually work! + * (asm_win_name create_asm_win update_assembly): Bunch of fixes + to make assembly windows stop flashing when loading a new file. + * (gdbtk_tcl_busy gdbtk_tcl_idle): Use catch to prevent gdb_cmd + errors from losing control. + * (create_source_window): Add source file selection to View menu. + * (create_command_window ( binding): Quote text fed + into gdb_cmd to prevent eval errors. + +Thu Dec 15 16:40:10 1994 Stu Grossman (grossman@cygnus.com) + + * gdbtk.c: Improve mechanism for capturing output values. + (full_filename): Remove. + (gdb_cmd call_wrapper gdbtk_init): Protect all calls from tcl land + with call_wrapper. This prevents longjmps (usually via error()) + from jumping out of tcl/tk and leaving things in an indeterminate + state. + (gdbtk_fputs): Differentiate stdout from stderr when passing text + into tcl land. + * gdbtk.tcl: New view option to disable line numbers. Put catch + around most uses of gdb_cmd. Add update button to reg config + window. Stop doing immediate updates when selecting registers. + Change register view values into checkbuttons. + +Mon Dec 12 16:59:29 1994 Stu Grossman (grossman@cygnus.com) + + * gdbtk.tcl (reg_config_menu create_registers_window + recompute_reg_display_list): Use array instead of individual vars + for register display list. + * (recompute_reg_display_list update_registers): Fix bug with not + displaying all registers. + +Mon Dec 12 12:22:21 1994 Stu Grossman (grossman@cygnus.com) + + * gdbtk.c: New tcl commands: gdb_fetch_registers, + gdb_changed_register_list, and gdb_regnames. + * gdbtk.tcl: Use monochrome color model for now. + * (delete_breakpoint_tag create_file_win): Add breakdot support. + * (create_file_win create_asm_win update_listing build_framework + create_source_window create_command_window): Re-org window + creation to give all windows consistent look and feel. + * (update_listing update_asm): Change pc pointer to '->'. + * (registers_command reg_config_menu create_registers_window + populate_reg_window update_registers): Revamp register window. + Allow selection of registers to be displayed. Highlight changed + registers. + +Mon Nov 28 09:17:20 1994 Stu Grossman (grossman@cygnus.com) + + * gdbtk.tcl (build_framework): Fix bug with setting window titles. + + * gdbtk.tcl (build_framework): Add "Report bug" to help menu. + + * gdbtk.tcl: Re-arrange windows using new, consistent layout. Clean + up lots of code and centralize framework initialization. + +Wed Nov 16 15:28:29 1994 Rob Savoye (rob@cygnus.com) + + * Makefile.in: Fix the test for installing gdbtk. + +Mon Nov 14 08:51:29 1994 Stu Grossman (grossman@cygnus.com) + + * Makefile.in: Install gdbtk.tcl. + * configure.in: Add ENABLE_GDBTK flag. + * gdbtk.c (gdb_sourcelines): Returns list of source lines + containing code. (gdb_regnames): Returns list of register names. + +Thu Nov 3 14:25:24 1994 Stu Grossman (grossman@cygnus.com) + + * gdbtk.c (gdb_stop): Switch to target_stop(). + +Tue Nov 1 16:41:12 1994 Stu Grossman (grossman@cygnus.com) + + * Makefile.in: Use $(objdir)/tcl and $(objdir)/tk if they are + available. + * configure.in (ENABLE_CLIBS): Use $(TCL) and $(TK) instead of + -ltcl and -ltk. + * gdbtk.c: Get rid of lots of unnecessary #includes. + * (gdbtk_init): Use ConnectionNumber macro instead of referencing + Display structure directly. + * gdbtk.tcl: Change exit button to quit button. + +Wed Oct 26 15:41:07 1994 Stu Grossman (grossman@cygnus.com) + + * gdbtk.c: Change sense and name of no_windows variable. Now + called use_windows, and defaults to off (for compatibility). + +Thu Oct 20 17:35:45 1994 Stu Grossman (grossman@cygnus.com) + + * gdbtk.c (gdb_cmd): Force GUI into idle mode when errors occur. + * (gdb_stop): New tcl command to stop the target process. + * (x_event, gdbtk_wait): Allow GUI to interrupt gdb out of target + waits. + * (gdbtk_call_command): Wrapper around command processing to + alert GUI of target state changes. + * (gdbtk_init): Get the fd of X server for doing async + notification of X events (via x_event). Setup new hooks. + * gdbtk.tcl: Add scrollbars to assembly and command windows. + * Change window foreground & background colors. + * Create margin tag for breakpoints in source and assembly windows. + * Add new routines to be invoked when target state changes to/from + idle. + * Add start of expression window. + * Change bindings of mouse button 1 in assembly and source window + to just set or clear breakpoints when in the margin tag. + * Change shape of register window to be more vertical to better + reflect its contents. + * Add stop button. + * Cleanup some code around command window bindings. + +Sat Sep 17 17:05:14 1994 Stu Grossman (grossman@cygnus.com) + + * gdbtk.tcl: Let ^U delete lines in the command window. + +Fri Sep 16 15:40:34 1994 Stu Grossman (grossman@cygnus.com) + + * gdbtk.c: Replace calls to full_filename with symtab_to_filename. + * gdbtk.tcl: New routine pc_to_line replaces in line code. New + routine decr replaces in line code. + * (create_file_win): Use catch to handle open failures more + elegantly. Also, create special window to display file open + failure message. Move opening of file prior to creation of text + widget. + * (create_asm_win): Add PC as argument. We now base disassembly + on PC instead of function name, since function names can be + ambiguous (usually seen with shared libs). Also, use catch to + simplify code where we don't care about failures. + +Wed Sep 14 00:55:26 1994 Stu Grossman (grossman@cygnus.com) + + * gdbtk.tcl: Add ref counts to breakpoint tags. + * Put quotes around function name in disassemble command to better + handle assembler names containing `.'. + * Make pclist element 0 be filler to avoid off-by-one problem with + line numbers. + * Set names of top-level windows. + * Add register display window. + * Add PC to label of assembly window. + +Tue Sep 13 08:59:04 1994 Stu Grossman (grossman@cygnus.com) + + * gdbtk.c (gdbtk_flush gdbtk_fputs): Buffer up output to make + disassembly more efficient. + * (breakpoint_notify): Include pc in gdbtk_tcl_breakpoint + callback. + * (gdb_loc): Include pc in return value. Also, return function + name if arg was specified. + * (gdb_cmd_stub): Call gdb_flush to drain internal GDB buffers + after command completes. + * (gdbtk_init): Improve error handling. + + * gdbtk.tcl: Add lots of comments. Clean up code. + * (gdbtk_tcl_fputs): Make output window redirectable. + * Add assembly window, and breapoint support. + * Make button 1 in margin toggle breakpoints. + * Use stippling to indicate breakpoint disabling. + +Fri Sep 2 19:11:40 1994 Stu Grossman (grossman@cygnus.com) + + * configure.in: Don't symlink to gdbtk.tcl if it's already there. + +Thu Jul 28 14:37:36 1994 Stu Grossman (grossman@cygnus.com) + + Support for TK GUI. + * Makefile.in: Add rule for gdbtk.o. + * configure.in: Add support for --enable-gdbtk. + * gdbtk.c: New file. Contains support routines for TK interface. + * gdbtk.tcl: New file. Implements GUI policy. + + +Local Variables: +mode: indented-text +left-margin: 8 +fill-column: 74 +version-control: never +End: -- cgit v1.1