1 Wed Jan 14 16:38:44 1998 Keith Seitz <keiths@pizza.cygnus.com>
3 * configure.in (--enable-gdbtk): If tcl was built with --enable-shared,
4 use TCL_SHLIB_SUFFIX to specify the suffix of the library file so that
5 we don't expect to see "libfoo.a" instead of "libfoo.{so,sl, etc}".
7 * configure: Regenerate.
9 Wed Dec 31 16:50:26 1998 Keith Seitz (keiths@onions.cygnus.com)
11 * gdbtk.c (gdb_actions_command): extract and save step count
12 from "while-stepping" command
14 Tue Dec 16 21:16:42 1997 Ian Lance Taylor <ian@cygnus.com>
16 * Makefile.in (LIBGUI): New variable.
17 (GUI_CFLAGS_X): New variable.
18 (IDE_CFLAGS): Add $(GUI_CFLAGS_X).
19 * configure.in: Add $(LIBGUI) to TCL_LIBS and CONFIG_DEPS.
22 Wed Dec 10 13:16:45 1997 Keith Seitz <keiths@onions.cygnus.com>
24 * gdbtk.c (gdb_get_tracepoint_info): Use info in struct
25 symtab_and_line (not struct tracepoint) so that we get the
26 real line info for an address. Arrange data more like
27 gdb_get_breakpoint_info.
28 (tracepoint_notify): Use info in struct symtab_and_line again.
29 (gdbtk_init): Add command "gdb_get_tracepoint_list" into
31 (gdb_get_tracepoint_list): New function that aids the source
32 window in displaying tracepoints when the file changes.
34 Fri Dec 5 10:31:23 1997 Keith Seitz <keiths@pizza.cygnus.com>
36 * gdbtk.c (gdbtk_init): Add gdb_find_file into interpreter.
37 (gdb_find_file_command): New function which searches source path
38 to find the real full filename of a file.
40 Mon Dec 1 10:19:44 1997 Keith Seitz <keiths@onions.cygnus.com>
42 * gdbtk.c: Move include of "guitcl.h" back out of IDE ifdef.
43 (gdbtk_init): Move ide_initialize_paths out of IDE ifdef.
45 * configure.in (TCL_LIBS, CONFIG_DEPS): Add IDE libraries for all
47 (CONFIG_OBS): Remove tracepoint.o, which should always be included.
49 * configure: regenerate
51 * Makefile.in (install-only): ALWAYS install the new gdbtk
52 (REMOTE_OBS): add tracepoint.o
54 Thu Nov 27 09:07:18 1997 Michael Meissner <meissner@cygnus.com>
56 * configure.in ({TCL_LIBS,CONFIG_DEPS}): Don't add IDE libraries
58 (CONFIG_OBS): Add tracepoint.o to list if --enable-gdbtk.
59 * configure: Regenerate.
61 * gdbtk.c (gdb_get_breakpoint_info): Add missing filename
63 (toplevel): Move include of guitcl.h into #ifdef IDE region.
64 (gdbtk_init): Move ide_initialize_paths call into #ifdef IDE
67 * Makefile.in (gdbtk.o): Update dependencies.
69 Wed Nov 26 15:02:43 1997 Keith Seitz <keiths@onions.cygnus.com>
71 * gdbtk.c (gdb_loc): symtab_to_filename can return NULL.
72 (breakpoint_notify): Ditto.
73 (gdb_get_breakpoint_info): Ditto.
75 Wed Nov 26 11:33:09 1997 Keith Seitz <keiths@onions.cygnus.com>
77 Merge in code from Foundry branch:
79 * Makefile.in (install-only): install the new gdbtk, not the old
81 * gdbtk.c (gdbtk_call_command): also run idle hooks for class_trace
83 (gdbtk_init): Add new commands "gdb_get_locals", "gdb_get_args",
84 "gdb_get_function", "gdb_get_line", "gdb_get_file",
85 "gdb_tracepoint_exists", "gdb_get_tracepoint_info", "gdb_actions",
87 (gdb_get_vars_command): New function.
88 (gdb_get_line_command): New.
89 (gdb_get_file_command): New.
90 (gdb_get_function_command): New.
91 (gdb_get_tracepoint_info): New.
92 (gdbtk_create_tracepoint): New.
93 (gdbtk_delete_tracepoint): New.
94 (tracepoint_notify): New.
95 (tracepoint_exists): New.
96 (gdb_actions_command): New.
97 (gdb_tracepoint_exists_command): New.
98 (gdb_prompt_command): New.
100 Thu Nov 13 18:15:54 1997 Ian Lance Taylor <ian@cygnus.com>
102 * gdbtk.c: Move include of gdbcore.h to top of file.
103 (close_bfds): New static function if _WIN32.
104 (gdbtk_readline): Call close_bfds.
105 (call_wrapper, tk_command_loop): Likewise.
106 (gdb_clear_file): New static function.
107 (gdbtk_init): Create gdb_clear_file Tcl command.
109 Wed Nov 12 14:58:39 1997 Jeff Holcomb <jeffh@cygnus.com>
111 * gdbtk.c: gdbtk_load_hash and ui_load_progress_hook return an
113 (gdbtk_load_hash): download hash routine returns an int result.
115 Mon Nov 10 15:11:51 1997 Ian Lance Taylor <ian@cygnus.com>
117 * gdbtk.c (gdbtk_init): Call ide_create_shell_execute_command if
119 * configure.in: Add -lshell32 to WIN32LIBS on cygwin32.
120 * configure: Rebuild.
122 Sun Nov 9 16:25:34 1997 Tom Tromey <tromey@cygnus.com>
124 * gdbtk.c (gdbtk_init): Run ide_create_help_command.
126 Tue Oct 28 17:31:47 1997 Martin M. Hunt <hunt@cygnus.com>
128 * gdbtk.c (gdbtk_init): Call ide_create_winprint_command.
130 Thu Oct 23 15:53:37 1997 Ian Lance Taylor <ian@cygnus.com>
132 * configure.in: Add -lgdi32 to WIN32LIBS when linking gdbtk on
134 * configure: Rebuild.
136 Wed Oct 22 21:32:54 1997 Martin M. Hunt <hunt@cygnus.com>
138 * gdbtk.c (gdbtk_init): Create sizebox command on Windows.
140 Thu Oct 9 14:33:21 1997 Ian Lance Taylor <ian@cygnus.com>
142 * gdbtk.c (gdbtk_init): Remove assertion argument from call to
143 ide_create_window_register_command.
145 Wed Oct 1 11:09:52 1997 Tom Tromey <tromey@cygnus.com>
147 * gdbtk.c (gdbtk_init): Pass name of restore interface to
148 ide_create_window_register_command.
150 Fri Sep 26 21:08:22 1997 Keith Seitz <keiths@pizza.cygnus.com>
152 * gdbtk.c (gdbtk_init): Initialize ui_load_progress_hook.
154 Thu Sep 25 03:05:00 1997 Martin M. Hunt <hunt@cygnus.com>
156 * gdbtk.c (gdb_load_info): New function. Returns a list
157 of section names and sizes for an executable.
158 (gdbtk_load_hash): Stub function to call tcl function
161 Tue Sep 23 01:29:00 1997 Martin M. Hunt <hunt@cygnus.com>
163 * gdbtk.c (gdb_get_mem): Fix compiler warning.
165 Sun Sep 21 00:15:00 1997 Martin M. Hunt <hunt@cygnus.com>
167 * gdbtk.c (gdb_get_mem): Fix problem with ASCII dump.
169 Tue Sep 16 18:07:17 1997 Martin M. Hunt <hunt@cygnus.com>
171 * gdbtk.c (gdb_get_mem): New function. Returns
172 a formatted memory dump with optional ASCII dump.
174 Mon Sep 8 12:48:50 1997 Ian Lance Taylor <ian@cygnus.com>
176 * gdbtk.c: Include ilutk.h if IDE.
177 (gdb_confirm_quit, gdb_force_quit): New static functions.
178 (gdbtk_init): Add Tcl commands gdb_confirm_quit and
181 Mon Sep 8 03:05:33 1997 Martin M. Hunt <hunt@cygnus.com>
183 * gdbtk.c (gdb_get_breakpoint_info): Now returns the
184 function a breakpoint is in.
186 Fri Sep 5 20:23:58 1997 Ian Lance Taylor <ian@cygnus.com>
188 * gdbtk.c (gdbtk_init): Call ide_create_exit_command.
190 Wed Sep 3 19:39:15 1997 Ian Lance Taylor <ian@cygnus.com>
192 * gdbtk.c: Include guitcl.h.
193 (gdbtk_init): Always call ide_initialize_paths. Set the Tcl
194 variable IDE to 1 when using the IDE. Always try using auto path
196 * Makefile.in (IDE_CFLAGS_X): Always include libide.
197 (LIBIDE): New variable.
199 (IDE_DEPS): Omit libide.
200 * configure.in: Add LIBIDE to TCL_LIBS and CONFIG_DEPS.
201 * configure: Rebuild.
203 Mon Aug 25 02:28:55 1997 Keith Seitz <keiths@pizza.cygnus.com>
205 * gdbtk.c: (gdb_target_has_inferior) check if inferior_pid is non-zero
206 before assuming that the inferior is running.
208 Mon Aug 25 01:06:48 1997 Ian Lance Taylor <ian@cygnus.com>
210 * gdbtk.c (gdbtk_start_timer): Pass third argument to setitimer.
211 (gdbtk_stop_timer): Likewise.
213 Mon Aug 25 00:23:08 1997 Keith Seitz <keiths@pizza.cygnus.com>
215 * gdbtk.c: (gdbtk_init) create new command "gdb_target_has_execution"
216 (gdb_target_has_execution_command) new function
218 Sun Aug 24 20:27:22 1997 Ian Lance Taylor <ian@cygnus.com>
220 * gdbtk.c (gdb_loc): If there are no symbols, just bail
222 (tk_command_loop): Print errors encountered while running
225 Sun Aug 24 13:44:03 1997 Tom Tromey <tromey@cygnus.com>
227 * gdbtk.c (gdbtk_init): Run ide_create_build_command.
229 Sat Aug 23 21:53:39 1997 Ian Lance Taylor <ian@cygnus.com>
231 * gdbtk.c: If CYGWIN32, include <sys/time.h>.
232 (x_fd): Don't define if WINNT.
233 (gdbtk_start_timer, gdbtk_stop_timer): New static functions if
235 (gdbtk_wait): Don't set up signal handling if WINNT. If CYGWIN32,
236 call gdbtk_start_timer and gdbtk_stop_timer.
237 (gdbtk_init): Don't set up signal handling or make x_fd
238 asynchronous if CYGWIN32.
240 Fri Aug 22 15:23:15 1997 Ian Lance Taylor <ian@cygnus.com>
242 * gdbtk.c (error_string_ptr): New static variable.
243 (gdbtk_fputs): If result_ptr is NULL, and error_string_ptr is not
244 NULL, and we're outputting to stderr, append string to
245 error_string_ptr rather than calling gdbtk_tcl_fputs.
246 (call_wrapper): Set up error_string_ptr. Put both error string
247 and normal string in Tcl result.
249 * gdbtk.c (gdbtk_init): Don't call ide_run_server_init until after
252 Thu Aug 21 19:14:38 1997 Ian Lance Taylor <ian@cygnus.com>
254 * gdbtk.c: If _WIN32, include winuser.h.
255 (gdbtk_init): If _WIN32, use MessageBox to display an error
258 Thu Aug 21 00:48:00 1997 Martin M. Hunt <hunt@pern.cygnus.com>
260 * gdbtk.c (gdbtk_init): Add call to ide_run_server_init().
261 (gdb_cmd): For the load command, don't buffer the I/O.
263 Wed Aug 20 11:41:22 1997 Martin M. Hunt <hunt@cygnus.com>
265 * gdbtk.c (gdbtk_query): Chaneg free() call to Tcl_Free().
267 Tue Aug 19 17:09:19 1997 Ian Lance Taylor <ian@cygnus.com>
269 * Makefile.in (TCL_DEPS, TK_DEPS): New variables.
270 (ITCL_DEPS, TIX_DEPS): New variables.
271 (IDE_DEPS): New variable.
272 (CDEPS): Include @CONFIG_DEPS@.
273 * configure.in: Set and substitute CONFIG_DEPS and TIX_DEPS.
274 * configure: Rebuild.
276 Sun Aug 17 00:42:11 1997 Martin M. Hunt <hunt@cygnus.com>
278 * gdbtk.c (gdb_listfuncs): New function that returns
279 a list of all the functions in a source file.
281 Tue Aug 12 16:35:21 1997 Ian Lance Taylor <ian@cygnus.com>
283 * Makefile.in (install-only): Install tclIndex if ENABLE_IDE.
285 Mon Aug 11 10:43:04 1997 Tom Tromey <tromey@cygnus.com>
287 * gdbtk.c (gdbtk_init): Use ide_event_init_from_environment.
289 Fri Aug 8 15:59:24 1997 Ian Lance Taylor <ian@cygnus.com>
291 * gdbtk.c (gdbtk_init): Change gdbtk_lib_tmp and gdbtk_file to be
292 dynamically allocated, rather than fixed size. Pass "gdbtcl" to
293 ide_initialize_paths to match installed directory name. If IDE,
294 use auto_path to search for main.tcl.
295 * Makefile.in (install-only): If ENABLE_IDE, install from gdbtcl2
298 * gdbtk.c (gdbtk_cleanup): New static function.
299 (gdbtk_init): Add gdbtk_cleanup as a final cleanup. Uncomment
300 call to ide_initialize_paths. If we can't initialize the event
301 system, set GDBTK_IDE to 0 in the Tcl interpreter. Create the
302 ide_window_register and the ide_window commands. Initialize tk,
303 itcl, and tix after initializing the IDE.
305 * configure.in (tixdir): Update for cygwin32 case for Tcl 8.0.
306 * configure: Rebuild.
308 Fri Aug 8 00:13:32 1997 Martin M. Hunt <hunt@cygnus.com>
310 * gdbtk.c (breakpoint_notify): Change buffer size from 100
311 to 256 to avoid memory corruption with very long pathnames.
313 Thu Aug 7 14:08:23 1997 Martin M. Hunt <hunt@cygnus.com>
315 * configure.in: Change required Tix version to 4.1.8.0 .
316 * configure: Rebuilt.
318 Fri Aug 1 15:21:44 1997 Ian Lance Taylor <ian@cygnus.com>
320 * gdbtk.c (Tcl_Alloc): Don't provide our own version of this if
322 (Tcl_Realloc, Tcl_Free): Likewise.
323 * configure.in: Check for cygwin32 environment. Define and
324 substitute WIN32LIBS and WIN32LDAPP. Always set configdir to
325 unix; setting it to win was for an old Tcl/Tk configuration
327 * aclocal.m4 (CY_AC_LOAD_TKCONFIG): Substitute TK_BUILD_INCLUDES.
328 * Makefile.in (TK_CFLAGS): Add @TK_BUILD_INCLUDES@.
329 (WIN32LDAPP, WIN32LIBS): Define.
330 (CLIBS): Add $(WIN32LIBS).
331 (gdb): Use $(WIN32LDAPP).
332 * configure: Rebuild.
334 Tue Jul 22 19:45:37 1997 Martin M. Hunt <hunt@cygnus.com>
336 * configure.in, aclocal.m4: Another fix to find the
337 correct Tix library name.
339 * configure: Rebuilt.
341 Mon Jul 21 22:24:07 1997 Martin M. Hunt <hunt@cygnus.com>
343 * aclocal.m4: Search for the correct tix library.
345 Thu Jul 10 00:02:41 1997 Martin M. Hunt <hunt@cygnus.com>
347 * Makefile.in, configure.in, aclocal.m4: Add Itcl, Tix, and
348 IDE configuration information.
350 * gdbtk.c (breakpoint_notify): Send address, linenumber and
351 filename when a breakpoint is set. Avoids call to bp_info.
352 (gdbtk_init): Call Tcl_FindExecutable(). Add code to handle
353 Itcl, Tix and IDE initialization.
355 * configure: Regenerated.
357 Fri Jun 13 10:28:09 1997 Fred Fish <fnf@cygnus.com>
359 * gdbtk.c (gdbtk_init): Make truth value test explicit.
360 Remove unused static variable "Gdbtk_Library".
362 Sat Jun 7 02:34:19 1997 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
364 * gdbtk.c (gdb_get_breakpoint_info): Add string for new
365 enumeration del_at_next_stop to bpdisp array.
367 Tue Jun 3 15:46:51 1997 Tom Tromey <tromey@cygnus.com>
369 * Makefile.in (LIB_RUNTIME_DIR): New variable.
371 Wed May 7 19:10:19 1997 Andrew Cagney <cagney@b1.cygnus.com>
373 * gdbtk.c (wrapped_call): New function - make actual call to tk
375 (call_wrapper): Rewrite to use top.c:catch_errors.
377 * gdbtk.c (gdb_stop): If No target_stop set quit flag and hope for
380 Mon Apr 21 14:00:08 1997 Doug Evans <dje@canuck.cygnus.com>
382 * gdbtk.c (gdb_disassemble): Store endian-ness in `di'.
384 Wed Apr 16 12:33:06 1997 Andrew Cagney <cagney@b1.cygnus.com>
386 * Makefile.in (install-only): Make list of gdbtcl files to install
387 explicit - was picking up files such as ChangeLog etc.
388 (install-only): Don't blindly create the directory.
390 Tue Apr 1 15:04:21 1997 Jason Molenda (crash@godzilla.cygnus.co.jp)
392 * configure.in (gdbtcl): Create soft-link for gdbtcl/ directory
393 instead of gdbtk.tcl.
395 Fri Mar 28 17:04:02 1997 Jason Molenda (crash@godzilla.cygnus.co.jp)
397 * Makefile.in (gdbtk.o): look for GDBTK_LIBRARY in $(datadir) by
398 default, not $(srcdir).
400 Wed Mar 19 15:16:17 1997 Martin M. Hunt <hunt@onions.cygnus.com>
402 * Makefile.in: Install gdbtcl dir instead of gdbtk.tcl.
404 * gdbtk.c: Added some ifdefs for Windows. Changed GDBTK_FILENAME
405 to GDBTK_LIBRARY, which is now a path to search.
406 (gdb_path_conv): New function. Convert Cygwin32 pathname to
409 * {aclocal.m4,configure.in}: Changes for Windows builds.
411 * configure: Rebuilt.
413 Fri Mar 14 10:01:29 1997 Tom Tromey <tromey@cygnus.com>
415 * configure: Regenerated.
416 * configure.in (LIBS): Re-reverse order of TCL_LIBS and TK_LIBS.
418 Wed Mar 12 14:29:52 1997 Tom Tromey <tromey@cygnus.com>
420 * gdbtk.c (x_event): Use Tcl_DoOneEvent, TCL_DONT_WAIT,
423 * configure: Regenerated.
424 * configure.in (ENABLE_GDBTK): Put TCL_LIBS after TK_LIBS in
427 Mon Feb 10 13:50:53 1997 Stu Grossman (grossman@critters.cygnus.com)
429 * gdbtk.c (call_wrapper): Clear running_now if an error occurs.
431 Wed Dec 11 18:51:35 1996 Mark Alexander <marka@cygnus.com>
433 * gdbtk.c (gdb_loc): Correct truncation of PC on 64-bit MIPS.
435 Tue Nov 19 09:26:14 1996 Tom Tromey <tromey@cygnus.com>
437 * gdbtk.c (gdbtk_readline): Fix memory leak.
439 Mon Nov 18 23:43:05 1996 Tom Tromey <tromey@cygnus.com>
441 Fixes for Tcl 7.6 / Tk 4.2:
442 * gdbtk.tcl (apply_filespec): Use tk_getOpenFile.
443 Remove old fileselect code.
444 * gdbtk.c (Tcl_Alloc): Rename from Tcl_Malloc.
446 Fri Sep 27 10:25:30 1996 Fred Fish <fnf@cygnus.com>
448 * gdbtk.tcl (create_copyright_window): Increase timeout from
449 15 seconds to 30 seconds.
451 Wed Sep 4 17:28:40 1996 Stu Grossman (grossman@critters.cygnus.com)
453 * configure configure.in: Add host *windows* to list of hosts
454 that don't support GDBtk.
456 Fri Aug 23 00:44:57 1996 Fred Fish <fnf@cygnus.com>
458 * gdbtk.c (gdbtk_init): Check for a DISPLAY env variable and
459 gracefully degrade to using command line interface if none is
462 Fri Aug 9 12:32:53 1996 Tom Tromey <tromey@creche.cygnus.com>
464 * Makefile.in (LIB_INSTALL_DIR): New macro.
465 (TCL): Include @TCL_LD_SEARCH_FLAGS@.
467 Thu Aug 1 20:35:01 1996 Tom Tromey <tromey@creche.cygnus.com>
469 * gdbtk.c (mainWindow): Deleted.
470 (cleanup_init): Don't destroy main window.
471 (gdbtk_init): Main window now created by Tk_Init.
473 * configure.in: Most X checks now handled automatically by Tk.
474 Use new macros to find Tcl/Tk.
475 * aclocal.m4: New version for new Tcl/Tk; from Don Libes.
476 * config.in, configure: Regenerated.
478 * Makefile.in (TCL, TCL_CFLAGS, TK, TK_CFLAGS, X11_CFLAGS,
479 X11_LDFLAGS, X11_LIBS): Changed for new Tcl and Tk.
481 Thu Aug 1 16:12:05 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
483 * Makefile.in (gdbtk.tcl): put in $(datadir), not $(libdir).
485 Fri Jul 26 14:07:37 1996 Ian Lance Taylor <ian@cygnus.com>
487 * gdbtk.c (gdb_disassemble): Initialize di.flavour.
489 Thu Jul 25 19:41:31 1996 Fred Fish <fnf@cygnus.com>
491 * gdbtk.c (null_routine): Ditto.
492 (gdbtk_flush): Ditto.
493 (gdbtk_fputs): Ditto.
494 (gdbtk_query): Ditto.
495 (gdbtk_readline): Ditto.
496 (gdbtk_readline_end): Ditto.
497 (gdb_get_breakpoint_list): Ditto.
498 (gdb_get_breakpoint_info): Ditto.
499 (breakpoint_notify): Ditto.
500 (gdbtk_create_breakpoint): Ditto.
501 (gdbtk_delete_breakpoint): Ditto.
502 (gdbtk_modify_breakpoint): Ditto.
505 (gdb_sourcelines): Ditto.
506 (map_arg_registers): Ditto.
507 (get_register_name): Ditto.
508 (gdb_regnames): Ditto.
509 (get_register): Ditto.
510 (gdb_fetch_registers): Ditto.
511 (register_changed_p): Ditto.
512 (gdb_changed_register_list): Ditto.
514 (call_wrapper): Ditto.
515 (gdb_listfiles): Ditto.
517 (gdbtk_dis_asm_read_memory): Ditto.
518 (compare_lines): Ditto.
519 (gdb_disassemble): Ditto.
521 (cleanup_init): Ditto.
522 (gdbtk_interactive): Ditto.
525 (gdbtk_call_command): Ditto.
526 (tk_command_loop): Ditto.
529 * gdbtk.c (register_changed_p): Remove unused local variable "buf".
531 Sat Jul 20 17:46:40 1996 Fred Fish <fnf@cygnus.com>
533 * gdbtk.tcl (files_command): Reorder the binding tags for
534 the listbox widget to avoid referencing the listbox after
535 the containing widget has been destroyed by the action of
538 Sat Jul 20 10:09:28 1996 Fred Fish <fnf@cygnus.com>
540 * gdbtk.tcl (delete_expr): Unset corresponding element of
541 expr_update_list when destroying an expression.
542 (create_expr_window): Initialize expr_num, delete_expr_num,
543 and expr_update_list here when each new expression window
544 is created, rather than once at startup.
546 Mon Jul 15 16:44:05 1996 Stu Grossman (grossman@critters.cygnus.com)
548 * gdbtk.c (gdb_disassemble): Setup di.mach from
549 tm_print_insn_info.mach, and set endian from TARGET_BYTE_ORDER.
551 Fri Jun 21 11:04:47 1996 Fred Fish <fnf@cygnus.com>
553 * gdbtk.tcl (create_register_windows): Include missing '$'s.
554 Add global declarations for various reg_format_* variables.
555 * gdbtk.tcl (populate_register_window): Make initial window one
556 line taller to account for new column header line.
558 Fri Jun 21 09:46:47 1996 Fred Fish <fnf@cygnus.com>
560 * gdbtk.c (get_register): Support for printing raw formats.
561 * gdbtk.tcl: Add hint for using debug_interface.
562 (center_window, add_breakpoint_frame, delete_breakpoint_frame):
563 Enclose arg in braces for consistency.
564 (create_registers_window, populate_reg_window, update_registers):
565 Major rewrite to support displaying multiple formats in the register
567 (init_reg_info): New function.
568 (recompute_reg_display_list): Reset reg_display_list, start
569 register display lines at line 2.
571 Thu Jun 20 08:18:59 1996 Fred Fish <fnf@cygnus.com>
573 * gdbtk.tcl (gdbtk_tcl_readline_begin): Handle backspace to
574 avoid backing up over prompt. At every input, make sure insert
575 point is at least after command start, handle control-u to delete
577 (tclsh): Handle backspace to avoid backing up over prompt. Handle
578 control-u to delete current input line.
580 Wed Jun 19 17:23:38 1996 Geoffrey Noer <noer@cygnus.com>
582 * configure.in: disable gdbtk for *cygwin32* hosted compiles
583 * configure: regenerated with autoconf 2.8
585 Sun May 19 16:49:37 1996 Fred Fish <fnf@cygnus.com>
587 * gdbtk.c (gdbtk_readline_begin, gdbtk_readline, gdbtk_readline_end):
589 (tk_command_loop): Set instream to NULL to enable Tk user interaction.
590 (gdbtk_init): Set readline_begin_hook, readline_hook,
591 and readline_end_hook.
592 * gdbtk.tcl (gdbtk_tcl_readline_begin, gdbtk_tcl_readline,
593 gdbtk_tcl_readline_end): New functions.
594 (tclsh): Pack scroll bar on right side of window, not left.
596 Fri May 17 13:54:34 1996 Fred Fish <fnf@cygnus.com>
598 * gdbtk.tcl (create_command_window): Change a misspelled "get"
599 to the intended "cget".
600 (delete_line): Fix so it deletes the current line at the
603 Thu May 16 19:20:29 1996 Fred Fish <fnf@cygnus.com>
605 * gdbtk.tcl (gdb_prompt): Set this early on.
606 (create_command_window): Use gdb_prompt rather than "(gdb) ".
607 (gdbtk_tcl_preloop): Proc executed just prior to Tk main loop.
608 (tclsh): If an evaluation window already exists, just bring it
609 to the front instead of trying to create another.
610 * gdbtk.c (tk_command_loop): New function.
611 (gdbtk_init): Call tk_command_loop rather than Tk_MainLoop.
613 Thu May 16 16:16:35 1996 Fred Fish <fnf@cygnus.com>
615 * gdbtk.tcl (evaluate_tcl_command, tclsh): New functions that
616 implement a tcl evaluation window for gdbtk maintainers to use.
618 Thu May 16 11:42:58 1996 Tom Tromey <tromey@creche.cygnus.com>
620 * gdbtk.tcl (files_command): Correctly insert list of files into
623 * gdbtk.tcl (files_command): listbox command no longer accepts
626 Wed May 15 16:04:09 1996 Stan Shebs <shebs@andros.cygnus.com>
628 * gdbtk.tcl (create_command_window): If command window's buffer
629 is disabled, don't execute any of the key bindings.
631 Mon May 13 13:43:25 1996 Fred Fish <fnf@cygnus.com>
633 * gdbtk.c (tk_command): Catch case where no argument is given
634 since this will cause the tcl interpreter to dump core.
636 Wed May 8 20:33:24 1996 Fred Fish <fnf@cygnus.com>
638 * gdbtk.c: Fix a couple of misspellings.
640 Thu May 2 19:17:49 1996 Stan Shebs <shebs@andros.cygnus.com>
642 * gdbtk.tcl (debug_interface): New global, use to aid debugging.
643 (insert_breakpoint_tag, delete_breakpoint_tag): Fix range.
644 (file_popup_menu): Delete, never used.
645 (listing_window_popup): Rename from listing_window_button_1,
646 remove breakpoint toggling code.
647 (toggle_breakpoint): New procedure.
648 (create_file_win): Bind popup menu to button 2, toggle breakpoints
649 with button 1 in breakpoint area, add display of tagged areas if
652 Fri Apr 5 13:44:40 1996 Stan Shebs <shebs@andros.cygnus.com>
654 * gdbtk.c (running_now): New global variable.
655 (gdb_cmd): Test it before executing any command.
656 (gdbtk_call_command): Set it when inferior is running.
657 * gdbtk.tcl (gdbtk_tcl_busy, gdbtk_tcl_idle): Enable and
658 disable interaction with command window's text appropriately.
660 Fri Apr 5 13:25:42 1996 Michael Meissner <meissner@tiktok.cygnus.com>
662 * gdbtk.c (SIOCSPGRP, linux): If on Linux, undef SIOCSPGRP, since
663 some versions of the kernel don't support it.
665 Tue Feb 6 16:31:25 1996 Tom Tromey <tromey@creche.cygnus.com>
667 * gdbtk.tcl (create_file_win): Eliminate text widget B1 binding so
668 double-clicking will work again.
669 (create_asm_win): Put "break" at end of all B1 bindings.
670 (create_file_win): Lower "sel" tag, don't raise it.
671 (ensure_line_visible): New proc.
672 (update_listing, update_assembly): Use it.
673 (create_copyright_window): Destroy window on Leave event.
674 (create_command_window): Put "break" at end of all B2 bindings.
676 Wed Jan 24 15:28:41 1996 Tom Tromey <tromey@creche.cygnus.com>
678 * gdbtk.tcl, gdbtk.c: Updated copyrights.
680 * configure.in: Look for -ldl or -ldld when using Tcl 7.5 or
682 * configure: Rebuilt.
684 Tue Jan 23 09:00:48 1996 Doug Evans <dje@charmed.cygnus.com>
686 * gdbtk.c (gdb_disassemble): Pass fprintf_unfiltered to
687 INIT_DISASSEMBLE_INFO.
689 Mon Jan 15 09:58:41 1996 Tom Tromey <tromey@creche.cygnus.com>
691 * gdbtk.tcl (create_expr_window): Many changes to update GUI.
692 (add_expr): Changes from create_expr_window.
693 (create_command_window): Set focus.
694 (delete_expr): Rewrote.
695 (expr_update_button): New proc.
696 (add_expr): Put bindings on FocusIn, FocusOut.
697 Don't allow .file_popup to be torn off.
699 Fri Jan 12 09:36:17 1996 Tom Tromey <tromey@creche.cygnus.com>
701 * gdbtk.tcl (gdbtk_tcl_query): Swap Yes and No buttons.
702 (update_listing): Use lassign. Use "see" to scroll. Don't need
703 screen_top, screen_bot, screen_height.
704 (update_assembly): Use "see" to scroll.
705 (textscrollproc): Removed.
706 (create_file_win): Don't use textscrollproc.
707 (asmscrollproc): Removed.
708 (create_asm_window): Don't use asmscrollproc.
709 (create_asm_win): Ditto.
710 (screen_height, screen_top, screen_bot): Removed.
711 (run_editor): New proc.
712 (build_framework): Use it.
713 (create_file_win, create_source_window): Don't use textscrollproc.
714 (create_breakpoints_window): Set -xscrollcommand on canvas.
715 (not_implemented_yet): Default button is 0.
716 (delete_char): Don't use tk_textBackspace.
717 (create_command_window): Allow Tk bindings to fire after deleting
719 (create_command_window): Make Delete delete left, not right.
721 Thu Jan 11 10:08:14 1996 Tom Tromey <tromey@creche.cygnus.com>
723 * gdbtk.tcl (FSBox): Don't use tk_listboxSingleSelect.
725 Changes in sync with expect:
726 * configure.in (ENABLE_GDBTK): Use CY_AC_PATH_TCL and
728 * aclocal.m4: Replaced with version from expect.
729 * configure: Regenerated.
731 Wed Jan 10 09:07:22 1996 Tom Tromey <tromey@creche.cygnus.com>
733 * gdbtk.tcl (gdbtk_tcl_fputs, gdbtk_tcl_fputs_error,
734 gdbtk_tcl_flush): Use "see", not "yview".
735 (gdbtk_tcl_query): Use questhead bitmap.
736 various: Always wrap condition of 'if' in {...}.
737 (add_breakpoint_frame): Set -value on radiobuttons.
739 (add_breakpoint_frame): Use lassign, not series of assignments.
741 (interactive_cmd): Use "see", not "yview".
742 (not_implemented_yet): Use warning bitmap.
743 (update_expr): Don't allow $expr to be evalled by Tcl.
744 (create_expr_window): Don't use "focus".
745 (delete_char, delete_line): Define globally.
746 (delete_line, delete_char, create_command_window, update_autocmd,
747 build_framework, create_asm_win, create_file_win): Use "see", not
749 (create_copyright_window, center_window, bind_widget_after_class):
751 (FSBox,create_command_window, create_autocmd_window): Binding
753 (textscrollproc): Define globally.
754 (build_framework): tk_menuBar no longer needed. Keys Prior, Next,
755 Home, End, Up, and Down are all defined by Tk.
756 (apply_filespec): Use error bitmap in dialog.
757 (files_command): Don't use tk_listboxSingleSelect.
758 (files_command): Don't use "uniq" to remove duplicates from a
760 (update_assembly): Use lassign.
761 (create_asm_win): Removed redundant bindings.
762 (listing_window_button_1, file_popup_menu): Use tk_popup.
763 (ButtonRelease-1 binding): Just remove tag from window; rest
766 * gdbtk.c (gdbtk_query): Use Tcl_Merge to provide quoting.
767 (call_wrapper): Use Tcl_Eval, not Tcl_VarEval.
768 (gdbtk_call_command): Ditto.
770 Thu Jan 4 16:04:54 1996 Stu Grossman (grossman@cygnus.com)
772 * configure configure.in: Make --enable-gdbtk be the default.
774 Thu Dec 28 15:10:49 1995 Stan Shebs <shebs@andros.cygnus.com>
776 * README.GDBTK: Polish introductory paragraph.
778 Mon Oct 16 11:27:06 1995 Stu Grossman (grossman@cygnus.com)
780 * gdbtk.c (gdb_disassemble): Use fprintf_unfiltered instead of
783 Tue Oct 10 15:26:39 1995 Fred Fish <fnf@cygnus.com>
785 * README.GDBTK: Updated for version 4.15.
787 Sat Aug 19 17:20:22 1995 Michael Tiemann <tiemann@axon.cygnus.com>
789 * gdbtk.tcl: ENABLE comes back as "1" or "0", not "enable" or
791 Also, wire up the breakpoint window so that it can be demo'd.
793 Tue Aug 1 11:44:53 1995 J.T. Conklin <jtc@rtl.cygnus.com>
795 * gdbtk.c: Include "gdb_string.h" instead of <string.h>.
797 Tue Jun 20 10:19:40 1995 Stu Grossman (grossman@cygnus.com)
799 * gdbtk.c: Add functions Tcl_Malloc, Tcl_Realloc, and Tcl_Free.
801 * gdbtk.tcl (add_breakpoint_frame): Add more fields.
802 * (create_file_win create_asm_win build_framework): Create null
803 bindings for meta keys to keep window from dropping down to
804 insertion point when meta is pressed by itself. New bindings:
805 Up/Down - Scroll up/down one line at a time
806 Next/Prior - Scroll up/down one page at a time
807 Home/End - Warp to current pc/end of file
808 * (build_framework): Turn on breakpoint menu.
809 * (create_command_window): Implement tab completion. Add binding
810 for ^C to stop target.
812 Fri May 19 06:15:40 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
814 * gdbtk.c: Conditionalize use of stdarg rather than varargs on
815 ANSI_PROTOTYPES not __STDC__; it must match the definition of
818 Thu May 18 15:58:46 1995 J.T. Conklin <jtc@rtl.cygnus.com>
820 * gdbtk.c (gdbtk_query): Use stdarg.h macros when compiling with
823 Sat Apr 15 13:52:24 1995 Stan Shebs <shebs@andros.cygnus.com>
825 * gdbtk.c (gdb_disassemble): Read from inferior if connected
828 Fri Apr 14 10:18:20 1995 Stu Grossman (grossman@cygnus.com)
830 * README.GDBTK: New file. Contains the obvious.
832 Tue Apr 11 11:07:12 1995 Michael Meissner <meissner@tiktok.cygnus.com>
834 * gdbtk.c (gdbtk_init): If SIOCSPGRP is not available, but
835 F_SETOWN is, use that.
837 Thu Apr 6 17:00:46 1995 Michael Meissner <meissner@tiktok.cygnus.com>
839 * Makefile.in (X11_INCLUDES): Define as empty.
840 (X11_CFLAGS): Define as including $(X11_INCLUDES).
841 (X11_LIB_SWITCHES): Define as empty.
842 (X11_LIBS): Define as -lX11.
844 * configure.in (enable_gdbtk): If gdbtk, support the --x-includes
845 and --x-libraries switches, setting the X11_INCLUDES and
846 X11_LIB_SWITCHES respectively. Instead of using a hardcoded -lX11
847 in ENABLE_CLIBS, use the X11_LIB_SWITCHES and X11_LIBS variables.
849 * gdbtk.c (gdbtk_init): If SIOCSPGRP is not available, don't use
850 it. This means that the stop button doesn't work, but is better
853 Wed Mar 29 17:09:29 1995 Stu Grossman (grossman@cygnus.com)
855 * Makefile.in (gdbtk.o): Use X11_CFLAGS to provide alternate
856 locations (per-host) for X11 include files.
857 * config/pa/hppahpux.mh (XM_CLIBS): Add -L/usr/lib/X11R5 to force
859 (X11_CFLAGS): Add this to indicate the locs
860 of the R5 include files.
862 Wed Mar 8 16:12:21 1995 Stu Grossman (grossman@cygnus.com)
864 * gdbtk.c (gdb_get_breakpoint_info): Return error if breakpoint
865 type is not bp_breakpoint.
867 Tue Feb 14 17:16:41 1995 Stu Grossman (grossman@cygnus.com)
870 * gdbtk.c: General cleanups, get rid of unused variables. Redo
871 handling of stdout/stderr to just return output as the result of
872 the tcl command that caused the output. Cleanup -Wall stuff.
873 * (breakpoint_notify): Now returns just action and breakpoint
875 * (gdb_get_breakpoint_list): New routine. Does the obvious.
876 * (gdb_get_breakpoint_info): Mostly derived from the old
877 breakpoint_notify, but returns lots more info.
878 * (dsprintf_append_element): Helper routine, works like printf,
879 but appends a tcl element onto the specified DString. Good for
880 building up lists as return values.
881 * (gdbtk_enable/disable_breakpoint): Go away. Replaced with
882 gdbtk_modify_breakpoint.
883 * (*many routines*): Use new result protocol.
884 * (call_wrapper): Make sure that recursive calls don't trash results.
885 * gdbtk.tcl: New windows, autocmd, and breakpoints.
886 * (gdbtk_tcl_fputs): Don't use $current_output_win redirection
887 anymore. It's not needed (in fact, this routine may not be needed
889 * (gdbtk_tcl_breakpoint): Change to reflect new breakpoint
890 notification protocol.
891 * (gdbtk_tcl_busy gdbtk_tcl_idle): Straighten out buttons, remove
893 * (interactive_cmd): Use this wrapper around button invocations
894 of many commands. This will catch errors and put the results into
895 the command window. It also updates all the other windows.
896 * Also, change reliefs of most things to sunken. This actually
898 * (create_file_win): Fix margin binding to allow breakpoints to
900 * (create_asm_win): Use return value of gdb_disassemble instead
901 of implicit I/O to the command window.
902 * (create_command_window): Use new result protocol to get output
905 Sun Feb 5 20:32:44 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
907 * gdbtk.c (gdb_disassemble): Deference pointer to function before
908 calling it (pre-ANSI compilers generally require this).
910 Fri Feb 3 11:19:20 1995 Stu Grossman (grossman@cygnus.com)
912 * gdbtk.c (gdb_disassemble): Get rid of
913 dis_asm_read_memory_hook. We can now call the disassemblers
914 directly and have no need for this hook anymore.
916 Mon Jan 30 17:34:24 1995 Stu Grossman (grossman@cygnus.com)
918 * gdbtk.tcl (create_file_win): Disable old popup menu for source
921 Wed Jan 25 18:23:46 1995 Stu Grossman (grossman@cygnus.com)
923 * gdbtk.c (gdbtk_init): Prevent segfault when gdbtk.tcl can't be
925 * gdbtk.tcl: Initialize expr_update_list() to prevent errors when
926 popping up expression window for the first time.
928 Tue Jan 24 12:10:28 1995 Stu Grossman (grossman@cygnus.com)
930 * gdbtk.tcl (create_registers_window): Work around a radiobutton
931 widget bug to make Options|Natural button work.
933 * gdbtk.c (gdb_disassemble): Fix problem with source+assembly and
934 g++ caused by out-of-order pc's.
935 * gdbtk.tcl (files_command): Remove duplicate file names. Also,
938 Mon Jan 23 17:21:09 1995 Stu Grossman (grossman@cygnus.com)
940 * gdbtk.tcl: Take .gdbtkinit if it exists. Makes gdbtk match the
943 Thu Jan 12 15:02:40 1995 Stu Grossman (grossman@cygnus.com)
945 * gdbtk.c, gdbtk.tcl: Update/add copyright.
946 * gdbtk.tcl (build_framework): Several fixes for filespec widget,
947 including dismiss button, and better error handling.
948 * (create_command_win): Bind button 2 to retrieve selection.
950 Wed Jan 11 17:06:55 1995 Stu Grossman (grossman@cygnus.com)
952 * gdbtk.tcl: Add button to control mixed source disassembly.
953 Use text widgets in expr window. The give me more control over
955 Add auto-updating of exprs in expression window.
956 Handle expressions out of scope a bit better.
957 Make selected window pop up to the top when invoked via the
959 Make copyright message have raised relief.
961 * gdbtk.c (gdbtk_init): Improve handling for errors in gdbtk.tcl
964 Thu Jan 5 17:38:29 1995 Stu Grossman (grossman@cygnus.com)
966 * gdbtk.c (finish_saving_output): Don't do anything if not saving
968 * (breakpoint_notify): Don't send null filename to tcl.
969 * (gdb_eval): New tcl command to eval an expression.
970 * (gdb_disassemble): New tcl command to do disassembly. This
971 allows tcl code to choose between exec file and target memeory,
972 and can also do mixed source and assembly.
973 * (gdbtk_init): Move reading of gdbtk.tcl to the end to make sure
974 that more of the environment is set up. Also, create link between
975 gdb and tcl vars disassemble{-_}from{-_}exec.
977 * gdbtk.tcl: New expression window support.
978 * Make assembly window be 80 columns wide.
979 * Use new disassembly method. Add menu items to select
980 disassembly from exec file or target.
981 * Change View menubar item to Options.
983 * Get rid of Stack, Breakpoints, Signals, and Variables Windows,
984 since they don't exist yet.
986 * Pop up a copyright window on startup.
988 Wed Jan 4 19:49:10 1995 Stan Shebs <shebs@andros.cygnus.com>
990 * gdbtk.tcl (build_framework): Add standard commands menu, more
991 windows to standard windows menu.
992 (not_implemented_yet): Clarify message.
994 Fri Dec 30 15:49:00 1994 Stan Shebs <shebs@andros.cygnus.com>
996 * gdbtk.tcl (FSBox): New proc, File Selection Box code from exmh.
997 (not_implemented_yet): New proc.
998 (build_framework): Add various file commands to file menu.
1000 Fri Dec 23 16:18:50 1994 Stu Grossman (grossman@cygnus.com)
1002 * gdbtk.c (gdbtk_wait gdbtk_init): Portability improvements for
1005 Mon Dec 19 09:55:47 1994 Stu Grossman (grossman@cygnus.com)
1007 * gdbtk.tcl (update_assembly): Force update to make sure that pc
1008 is visible when creating new assembly windows.
1010 Sun Dec 18 23:31:20 1994 Stu Grossman (grossman@cygnus.com)
1012 * gdbtk.c (gdbtk_wait gdbtk_init): Use different method of
1013 enabling I/O interrupts for SVR4 (streams).
1014 * (start_saving_output save_output get_saved_output
1015 finish_saving_output flush_holdbuf gdbtk_flush gdbtk_fputs
1017 Totally revamp to use TCLs dynamic string functions. Also, quote
1018 all data passed back to TCL to prevent errors with unmatched
1019 braces, odd characters, etc... This fixes several wierd problems
1020 with outputting strings containing unmatched braces.
1021 * (breakpoint_notify gdb_loc): Use long hex format to output
1022 addresses of breakpoints and PCs. This fixes some Alpha problems.
1023 * (breakpoint_notify): Add stream arg to call to gdbtk_fputs.
1024 * (gdb_listfiles): Also, go through the symtabs when looking for
1025 files. This makes xcoff work (sort of), but probably breaks
1027 * (gdb_stop): Return TCL_OK instead of nothing. This fixes odd
1028 TCL errors when hitting stop button.
1029 * (tk_command): Don't pass interp->result on to Tcl_{Var}Eval, as
1030 that will trash the result. strdup the result instead and pass
1031 that on. Improve error handling as well.
1033 * gdbtk.tcl (gdbtk_tcl_flush): Use global def of
1034 current_output_win. Makes flushing actually work!
1035 * (asm_win_name create_asm_win update_assembly): Bunch of fixes
1036 to make assembly windows stop flashing when loading a new file.
1037 * (gdbtk_tcl_busy gdbtk_tcl_idle): Use catch to prevent gdb_cmd
1038 errors from losing control.
1039 * (create_source_window): Add source file selection to View menu.
1040 * (create_command_window (<Key-Return> binding): Quote text fed
1041 into gdb_cmd to prevent eval errors.
1043 Thu Dec 15 16:40:10 1994 Stu Grossman (grossman@cygnus.com)
1045 * gdbtk.c: Improve mechanism for capturing output values.
1046 (full_filename): Remove.
1047 (gdb_cmd call_wrapper gdbtk_init): Protect all calls from tcl land
1048 with call_wrapper. This prevents longjmps (usually via error())
1049 from jumping out of tcl/tk and leaving things in an indeterminate
1051 (gdbtk_fputs): Differentiate stdout from stderr when passing text
1053 * gdbtk.tcl: New view option to disable line numbers. Put catch
1054 around most uses of gdb_cmd. Add update button to reg config
1055 window. Stop doing immediate updates when selecting registers.
1056 Change register view values into checkbuttons.
1058 Mon Dec 12 16:59:29 1994 Stu Grossman (grossman@cygnus.com)
1060 * gdbtk.tcl (reg_config_menu create_registers_window
1061 recompute_reg_display_list): Use array instead of individual vars
1062 for register display list.
1063 * (recompute_reg_display_list update_registers): Fix bug with not
1064 displaying all registers.
1066 Mon Dec 12 12:22:21 1994 Stu Grossman (grossman@cygnus.com)
1068 * gdbtk.c: New tcl commands: gdb_fetch_registers,
1069 gdb_changed_register_list, and gdb_regnames.
1070 * gdbtk.tcl: Use monochrome color model for now.
1071 * (delete_breakpoint_tag create_file_win): Add breakdot support.
1072 * (create_file_win create_asm_win update_listing build_framework
1073 create_source_window create_command_window): Re-org window
1074 creation to give all windows consistent look and feel.
1075 * (update_listing update_asm): Change pc pointer to '->'.
1076 * (registers_command reg_config_menu create_registers_window
1077 populate_reg_window update_registers): Revamp register window.
1078 Allow selection of registers to be displayed. Highlight changed
1081 Mon Nov 28 09:17:20 1994 Stu Grossman (grossman@cygnus.com)
1083 * gdbtk.tcl (build_framework): Fix bug with setting window titles.
1085 * gdbtk.tcl (build_framework): Add "Report bug" to help menu.
1087 * gdbtk.tcl: Re-arrange windows using new, consistent layout. Clean
1088 up lots of code and centralize framework initialization.
1090 Wed Nov 16 15:28:29 1994 Rob Savoye (rob@cygnus.com)
1092 * Makefile.in: Fix the test for installing gdbtk.
1094 Mon Nov 14 08:51:29 1994 Stu Grossman (grossman@cygnus.com)
1096 * Makefile.in: Install gdbtk.tcl.
1097 * configure.in: Add ENABLE_GDBTK flag.
1098 * gdbtk.c (gdb_sourcelines): Returns list of source lines
1099 containing code. (gdb_regnames): Returns list of register names.
1101 Thu Nov 3 14:25:24 1994 Stu Grossman (grossman@cygnus.com)
1103 * gdbtk.c (gdb_stop): Switch to target_stop().
1105 Tue Nov 1 16:41:12 1994 Stu Grossman (grossman@cygnus.com)
1107 * Makefile.in: Use $(objdir)/tcl and $(objdir)/tk if they are
1109 * configure.in (ENABLE_CLIBS): Use $(TCL) and $(TK) instead of
1111 * gdbtk.c: Get rid of lots of unnecessary #includes.
1112 * (gdbtk_init): Use ConnectionNumber macro instead of referencing
1113 Display structure directly.
1114 * gdbtk.tcl: Change exit button to quit button.
1116 Wed Oct 26 15:41:07 1994 Stu Grossman (grossman@cygnus.com)
1118 * gdbtk.c: Change sense and name of no_windows variable. Now
1119 called use_windows, and defaults to off (for compatibility).
1121 Thu Oct 20 17:35:45 1994 Stu Grossman (grossman@cygnus.com)
1123 * gdbtk.c (gdb_cmd): Force GUI into idle mode when errors occur.
1124 * (gdb_stop): New tcl command to stop the target process.
1125 * (x_event, gdbtk_wait): Allow GUI to interrupt gdb out of target
1127 * (gdbtk_call_command): Wrapper around command processing to
1128 alert GUI of target state changes.
1129 * (gdbtk_init): Get the fd of X server for doing async
1130 notification of X events (via x_event). Setup new hooks.
1131 * gdbtk.tcl: Add scrollbars to assembly and command windows.
1132 * Change window foreground & background colors.
1133 * Create margin tag for breakpoints in source and assembly windows.
1134 * Add new routines to be invoked when target state changes to/from
1136 * Add start of expression window.
1137 * Change bindings of mouse button 1 in assembly and source window
1138 to just set or clear breakpoints when in the margin tag.
1139 * Change shape of register window to be more vertical to better
1140 reflect its contents.
1142 * Cleanup some code around command window bindings.
1144 Sat Sep 17 17:05:14 1994 Stu Grossman (grossman@cygnus.com)
1146 * gdbtk.tcl: Let ^U delete lines in the command window.
1148 Fri Sep 16 15:40:34 1994 Stu Grossman (grossman@cygnus.com)
1150 * gdbtk.c: Replace calls to full_filename with symtab_to_filename.
1151 * gdbtk.tcl: New routine pc_to_line replaces in line code. New
1152 routine decr replaces in line code.
1153 * (create_file_win): Use catch to handle open failures more
1154 elegantly. Also, create special window to display file open
1155 failure message. Move opening of file prior to creation of text
1157 * (create_asm_win): Add PC as argument. We now base disassembly
1158 on PC instead of function name, since function names can be
1159 ambiguous (usually seen with shared libs). Also, use catch to
1160 simplify code where we don't care about failures.
1162 Wed Sep 14 00:55:26 1994 Stu Grossman (grossman@cygnus.com)
1164 * gdbtk.tcl: Add ref counts to breakpoint tags.
1165 * Put quotes around function name in disassemble command to better
1166 handle assembler names containing `.'.
1167 * Make pclist element 0 be filler to avoid off-by-one problem with
1169 * Set names of top-level windows.
1170 * Add register display window.
1171 * Add PC to label of assembly window.
1173 Tue Sep 13 08:59:04 1994 Stu Grossman (grossman@cygnus.com)
1175 * gdbtk.c (gdbtk_flush gdbtk_fputs): Buffer up output to make
1176 disassembly more efficient.
1177 * (breakpoint_notify): Include pc in gdbtk_tcl_breakpoint
1179 * (gdb_loc): Include pc in return value. Also, return function
1180 name if arg was specified.
1181 * (gdb_cmd_stub): Call gdb_flush to drain internal GDB buffers
1182 after command completes.
1183 * (gdbtk_init): Improve error handling.
1185 * gdbtk.tcl: Add lots of comments. Clean up code.
1186 * (gdbtk_tcl_fputs): Make output window redirectable.
1187 * Add assembly window, and breapoint support.
1188 * Make button 1 in margin toggle breakpoints.
1189 * Use stippling to indicate breakpoint disabling.
1191 Fri Sep 2 19:11:40 1994 Stu Grossman (grossman@cygnus.com)
1193 * configure.in: Don't symlink to gdbtk.tcl if it's already there.
1195 Thu Jul 28 14:37:36 1994 Stu Grossman (grossman@cygnus.com)
1198 * Makefile.in: Add rule for gdbtk.o.
1199 * configure.in: Add support for --enable-gdbtk.
1200 * gdbtk.c: New file. Contains support routines for TK interface.
1201 * gdbtk.tcl: New file. Implements GUI policy.
1208 version-control: never