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