* config/tc-dvp.c (assemble_vu): Print better error message if
[deliverable/binutils-gdb.git] / gdb / ChangeLog-gdbtk
CommitLineData
aa3b21bf
MH
1Fri Jun 5 00:16:22 1998 Martin M. Hunt <hunt@cygnus.com>
2
3 * gdbtk.c (gdbtk_init): Change all references to
4 GDBTK_IDE to IDE_ENABLED.
5
94a6f14f
MH
6Thu Jun 4 18:31:53 1998 Martin M. Hunt <hunt@cygnus.com>
7
8 * gdbtk.c (gdbtk_init): Initialize tkTable.
9
fed03c01
EZ
10Thu Jun 4 10:15:03 1998 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
11
12 * gdbtk.c: merged:
13
14 - Elena Zannoni <ezannoni@kwikemart.cygnus.com>
15 (call_obj_wrapper): in case of error, copy the
16 error message from the result to the error_string.
17 (gdbtk_fputs): add comments.
18 (gdb_actions_command): call validate_actionline when installing the
19 tracepoint, to do the syntax checking of the actions for us.
20 - Elena Zannoni <ezannoni@kwikemart.cygnus.com>
21 (gdb_get_trace_frame_num): new function to get the
22 trace frame number from gdb.
23 (gdbtk_init): added new command gdb_get_trace_frame_num.
24 - Jim Blandy <jimb@zwingli.cygnus.com>
25 (struct wrapped_call_objs): Change the `func' member to
26 be a Tcl_ObjCmdProc, not an Tcl_CmdProc, since it accepts a vector
27 of objects as arguments. Change the object vector to be const,
28 since that's what all the users of this structure seem to expect.
29 (call_obj_wrapper): Cast clientData properly before storing it in
30 the wrapped_args structure.
31
47792960
KS
32Thu May 28 17:19:14 1998 Keith Seitz <keiths@cygnus.com>
33
34 * gdbtk.c (_initialize_gdbtk): Get rid of the console. Patch from
35 Chris Faylor (cgf@cygnus.com).
36
37 * configure.in: Link cygwin32 with subsystem console.
38
39 * configure: Regenerated
40
21b3bc77
KS
41Sun May 24 14:00:24 1998 Keith Seitz <keiths@cygnus.com>
42
43 * ser-unix.c (wait_for): Do not reset timeout_remaining for cygwin32 so that
44 we can use this member to track real timeouts.
45 (hardwire_readchar): Modify for cygwin32 so that we only ever use a real
46 system timeout of one second. Track the "real" timeout as a series of these
47 one second timeouts.
48 Call ui_loop_hook to keep the gui alive.
49
50 * top.c: Define new hook for cygwin32, "ui_loop_hook".
51
52 * gdbtk.c (gdbtk_init): Add ui_loop_hook for CygWin32 to work around
53 update problems.
54
cb432079
EZ
55Thu May 21 13:56:24 1998 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
56
57 * gdbtk.c: reinserted the changes that were accidentally deleted:
58 (_initialize_gdbtk): Use correct device names in
59 cygwin-specific call (cosmetic change).
60 (gdbtk_ignorable_warning): removed va_list parameter,
61 which was unused.
62 (_initialize_gdbtk): add cygwin32 specific code to
63 allow `gdb -nw' to work when specified specified from a windows
64 console-mode command line.
65
b33b741a
JI
66Wed May 13 11:12:58 1998 James Ingham <jingham@leda.cygnus.com>
67
68 * gdbtk.c: Fixed a goof in the definition of the gdb_get_args &
69 gdb_get_locals Tcl commands. Moved the previous ChangeLog entry
70 from ChangeLog to ChangeLog-gdbtk (here)...
71
cc1ad645
JH
72Tue May 12 13:29:20 1998 Jeff Holcomb <jeffh@cygnus.com>
73
74 * Makefile.in (install-only): Add images/icons.txt and
75 images2/icons.txt to files that need to be installed.
76
b33b741a
JI
77Tue May 12 12:03:16 1998 James Ingham <jingham@leda.cygnus.com>
78
79 * gdbtk.c: Add an object call wrapper for the new Tcl_Obj based
80 commands. This way the obj commands will also go through
81 catch_errors. This is just a bandaid while I rewrite the
82 string-based commands to use the object format.
83
cb432079 84Tue May 5 09:30:25 1998 Christopher Faylor <cgf@cygnus.com>
dfe9d309
CF
85
86 * gdbtk.c (_initialize_gdbtk): Use correct device names in
87 cygwin-specific call (cosmetic change).
88
5eb2b01c
EZ
89Wed Apr 29 15:53:16 1998 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
90
91 * gdbtk.c (gdbtk_ignorable_warning): removed va_list parameter,
92 which was unused.
93
e4a3374f
KS
94Thu Apr 23 19:01:05 1998 Keith Seitz <keiths@onions.cygnus.com>
95
96 * Makefile.in (install-only): Install help files.
97
cb432079
EZ
98Wed Apr 22 21:17:35 1998 Christopher Faylor <cgf@cygnus.com>
99
100 * gdbtk.c (_initialize_gdbtk): add cygwin32 specific code to
101 allow `gdb -nw' to work when specified specified from a windows
102 console-mode command line.
103
3c59320f
SS
104Wed Apr 15 11:23:53 1998 Stan Shebs <shebs@andros.cygnus.com>
105
106 * gdbtcl: Remove directory and contents, this version of
107 the interface is obsolete.
108
d2a3ee23
MH
109Mon Apr 13 16:17:52 1998 Martin M. Hunt <hunt@cygnus.com>
110
111 * gdbtk.c (gdb_loadfile): Change fstat() call to stat().
112 Needed because you can't convert a FILE* to an fd.
113
e6e9507d
EZ
114Mon Apr 13 16:28:07 1998 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
115
116 * gdbtk.c: (perror_with_name_wrapper) new function to call
117 perror_with_name safely.
118 (gdb_loadfile) added source vs. executable time stamp check.
119 (gdbtk_warning) new function to pass a warning message to the gui.
120 (gdbtk_ignorable_warning) new function to pass a warning
121 to the gui. Used only for the src. vs. exec check.
122 (gdbtk_init) added warning_hook
123 added include <sys/stat.h>
124
7234efcb
KS
125Mon Apr 13 12:58:26 1998 Keith Seitz <keiths@onions.cygnus.com>
126
127 * gdbtk.c (gdbtk_start_timer): Include on all platforms. Decrease
128 timer interval a little.
129 (gdbtk_stop_timer): Include on all platforms.
130 (gdbtk_wait): No more signals! Use a timer on all platforms to keep the
131 GUI alive.
132 (gdbtk_init): Remove FIOASYNC and all x_fd references. Now using timers
133 on all platforms.
134
6da4c15f
JM
135Fri Apr 10 15:48:10 1998 Jason Molenda (crash@bugshack.cygnus.com)
136
137 * gdbtk.c (gdb_listfiles): Allocate space for 'files' dynamically.
138
1a509d60
MH
139Thu Apr 9 14:20:59 1998 Martin M. Hunt <hunt@cygnus.com>
140
141 * gdbtk.c (gdbtk_init): Remove redundant variable "IDE".
142
c3292c17
SS
143Tue Apr 7 15:13:58 1998 Stan Shebs <shebs@andros.cygnus.com>
144
145 * gdbtk.tcl: Remove, no longer used.
146
4350602f
KS
147Tue Apr 7 12:49:45 1998 Keith Seitz <keiths@onions.cygnus.com>
148
149 * gdbtk.c (gdb_cmd): NEVER call the busy, update, and idle hooks.
150
390ca26a
KS
151Tue Mar 31 15:42:06 1998 Keith Seitz <keiths@onions.cygnus.com>
152
c3292c17
SS
153 * gdbtk.c (gdb_loadfile): Don't use the return result from
154 sprintf, which returns a char * under SunOS4.
390ca26a 155
8b5befef
ILT
156Tue Mar 31 17:18:43 1998 Ian Lance Taylor <ian@cygnus.com>
157
158 * configure.in: Add $(LIBIDETCL) as well as $(LIBIDE) if
159 --enable-ide.
160 * Makefile.in (IDE_CFLAGS_X): Add -I for libidetcl/src.
161 (LIBIDETCL): Define.
162 * configure: Rebuild.
163
c62a71b6
KS
164Sun Mar 29 21:19:46 1998 Keith Seitz <keiths@onions.cygnus.com>
165
166 * gdbtk.c (gdb_get_tracepoint_info): Change formatting of address.
167 (tracepoint_exists): Remove code which confuses assembly traces.
168
0b7148e4
KS
169Sat Mar 28 12:13:23 1998 Keith Seitz <keiths@onions.cygnus.com>
170
171 * gdbtk.c (gdb_cmd): If argc > 2, assume that the busy and idle hooks
172 should not be called.
173
41158958
EZ
174Thu Mar 26 22:29:28 1998 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
175
176 * gdbtk.c: (gdb_trace_status) new function.
177 (gdbtk_init) added command "gdb_is_tracing".
178 (tracepoint_notify) added passcount information.
179
ed5fa7c3
MH
180Thu Mar 26 12:00:35 1998 Martin M. Hunt <hunt@cygnus.com>
181
182 * gdbtk.c (gdbtk_fputs): Insert fencepost.
183 (gdb_loc): Correct pc calculation.
184 (gdb_immediate_command): Return if a load is in progress.
185 (gdb_cmd): Return if a load is in progress.
186 (target_stop_wrapper): New function.
187 (gdb_stop): Call target_stop_wrapper.
188 (x_event): Add fencepost and optimize load cancel check.
189 (gdbtk_start_timer): Set up structs only once.
190 (gdbtk_stop_timer): Just use preset structs to set timer parameters.
191 (gdb_loadfile): If file cannot be loaded, return error message.
192 (gdb_loadfile): Add space before tab so that lines without
193 a '-' can later be changed to have one.
194
e924e162
EZ
195Wed Mar 25 14:08:51 1998 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
196
197 * gdbtk.c (gdbtk_pre_add_symbol): Use Tcl_merge to form Tcl commands.
198
ac3dff67
EZ
199Mon Mar 23 13:41:39 1998 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
200
201 * gdbtk.c (gdb_get_mem): Rewrite to fetch entire contents
202 of the memory window at once.
203
929db6e5
EZ
204Sat Mar 21 19:34:49 1998 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
205
206 Merged changes from Foundry: list follows by author:
207
208 - Tom Tromey <tromey@cygnus.com>
209
210 * Makefile.in (gdbres.o): New target.
211 (WINDRES): New define.
212 * configure: Rebuilt.
213 * configure.in (WINDRES): Define.
214 (CONFIG_OBS): Include gdbres.o on Windows.
215 * gdbtool.ico: New file.
216 * gdb.rc: New file.
217 * gdbtk.c (gdbtk_init): Call ide_create_messagebox_command.
218 (gdbtk_cleanup): Call ide_interface_deregister_all.
219 (gdbtk_init): Pass event handle to cleanup.
220 (TclDebug): Use Tcl_Merge to construct command.
221 (gdbtk_init): Call ide_create_cygwin_path_command.
222
223 - Martin M. Hunt <hunt@cygnus.com>
224
225 * gdbtk.c (gdb_set_bp): Set addr_string for bp.
226 (gdb_get_breakpoint_info): Demangle function
227 names in breakpoint info.
228 Include "demangle.h".
229 (gdb_loc, gdb_listfuncs): Demangle C++
230 function names.
231 (gdb_set_bp): Properly quote filename to fix
232 problems with spaces. Send pc back as a hex string.
233 (gdb_listfuncs): Remove debugging line.
234 Turn off some debugging lines.
235 (breakpoint_notify): Return correct line number.
236 (gdb_get_breakpoint_info): Return correct line number.
237 (gdb_set_bp): New function to provide a better way to
238 set breakpoints.
239 (gdbtk_readline, gdbtk_readline_begin): Memory
240 allocated by tcl needs to be freed by Tcl_Free().
241 (find_file_in_dir): Deleted.
242 (gdb_find_file_command): Call full_lookup_symtab().
243 (gdb_listfuncs): Call full_lookup_symtab().
244 (full_lookup_symtab): New function. Like lookup_symtab
245 except handles multiple files with the same basename,
246 full pathnames, and always sets symtab->fullname.
247 (gdb_loadfile): Call full_lookup_symtab(). Clear
248 realloc'd memory.
249 (gdb_loadfile): Don't tag lines without source.
250 Tag source lines with source_tag.
251 (gdb_find_file_command, find_file_in_dir):
252 Rewrite. Now searches symtabs and psymtabs for a match
253 on the partial or full filename. Returns the full pathname.
254 (gdb_loadfile): Realloc additional memory
255 if someone loads in a file with more than 160,000
256 lines. I don't know if this really works because
257 I don't have enough memory to test it.
258 (gdb_sourcelines): Deleted.
259 (gdb_loadfile): New function. Takes a text widget
260 and loads it with the contents of a file. Marks
261 and tags source lines.
262 (pc_changed): New function.
263 (get_pc_register): Returns the value of
264 the PC to GDB.
265 (gdb_loc): If looking on the stack, return
266 real pc along with calling source line.
267 (gdb_loc): Return "" instead of "N/A" if
268 filename is not found.
269 (gdb_get_breakpoint_info): Same.
270 (get_register): For Natural mode, set format to 0.
271 Minor bugfixes from keiths.
272 (TclDebug): New function for debugging use.
273 (gdb_loc): Return correct PC for frames
274 that are not the innermost frame.
275 (gdb_listfiles): Rewritten to use object
276 API. Now takes an optional dirname which will cause
277 only files in that directory or its subdirectories
278 to be returned. Now returns basenames instead of
279 full pathnames.
280 (gdb_cmd): Set/reset load_in_progress flag.
281 (call_wrapper): Don't pop up dialog for errors in
282 downloads; just abort download.
283 (gdbtk_load_hash): Set return value correctly.
284
285 - Keith Seitz <keiths@onions.cygnus.com>
286
287 * gdbtk.c (gdbtk_init): Define the ui_loop_hook so that it can be
288 called by routines which might block, allowing us to update the GUI.
289 (gdbtk_wait): Move timer calls to annotation hooks.
290 (gdbtk_init): Define the annotation hooks.
291 (gdbtk_annotate_starting): New function for cygwin32 hosts.
292 (gdbtk_annotate_stopped): New function for cygwin32 hosts.
293 (gdbtk_annotate_exited): New function for cygwin32 hosts.
294 (gdbtk_annotate_signalled): New function. for cygwin32 hosts.
295 (gdbtk_init): Use gdbtk_print_frame_info hook.
296 (gdbtk_print_frame_info): New function which sets current_source_symtab
297 based on the given symtab and line info.
298 (gdb_immediate_command): New function which does
299 not buffer any
300 output. (Contrast to gdb_cmd.)
301 (gdb_prompt_command): New function to return gdb's prompt.
302 (find_file_in_dir): New functon which searches source paths
303 for a given filename.
304 (gdb_find_file): New function which returns path to given file -- uses
305 find_file_in_dir.
306 (gdbtk_init): Install "gdb_immediate", "gdb_find_file", and
307 "gdb_prompt"
308 commands into interpreter.
309
310 - Ian Lance Taylor <ian@cygnus.com>
311
312 * gdbtk.c (gdbtk_timer_going): If __CYGWIN32__, new static
313 variable.
314 (gdb_cmd): If __CYGWIN32__, if executing the load command, call
315 gdbtk_start_timer and gdbtk_stop_timer.
316 (call_wrapper): If __CYGWIN32__, if the timer is going, turn it
317 off. Clear load_in_progress.
318 (x_event): If load_in_progress, quit if download_cancel_ok.
319 (gdbtk_start_timer): Set gdbtk_timer_going.
320 (gdbtk_stop_timer): Clear gdbtk_timer_going.
321 (gdbtk_wait): Call x_event.
322 (gdbtk_init): Call ide_create_win_grab_command if
323 __CYGIN32__.
324 (gdb_clear_file): Clear stop_pc.
325
326
a5f4fbff
KS
327Tue Feb 10 17:50:37 1998 Keith Seitz <keiths@onions.cygnus.com>
328
329 * gdbtk.c (gdbtk_modify_tracepoint): Define new tracepoint modification hook.
330 (gdbtk_print_frame_info): Define this hook so that current_source_symtab
331 is set properly.
332 (gdb_actions_command): Use free_actions () from tracepoint.c/h.
333
d001edb7
KS
334Mon Jan 26 11:37:55 1998 Keith Seitz <keiths@onions.cygnus.com>
335
336 * gdbtk.c (gdb_actions_command): Make note of next action
337 before freeing all references to it.
338
0776b0b0
MH
339Sat Jan 24 23:52:08 1998 Martin M. Hunt <hunt@cygnus.com>
340
341 * gdbtk.c: Merge from Foundry branch.
342 (TclDebug): New debugging function.
343 (gdb_loc): For frames, find address of calling function
344 instead of whatever is on the stack (usually the next
345 instruction).
346 (gdb_listfiles): Takes an optional pathname argument and
347 returns an alphabetized list of basenames of files in the
348 path.
349
11f91b2b
KS
350Wed Jan 22 10:37:02 1998 Keith Seitz <keiths@onions.cygnus.com>
351
0776b0b0
MH
352 * symfile.c: Define two new hooks for symbol reading:
353 "pre_add_symbol_hook" and "post_add_symbol_hook". These hooks
354 are called before we begin reading symbols, and after we finish.
355 (generic_load): Use new symbol reading hooks and get rid of
356 compiler warning.
11f91b2b
KS
357
358 * gdbtk.c (gdbtk_init): Add hooks for pre- and post-symbol reading.
359 (gdbtk_pre_add_symbol): New function: the pre-add-symbol hook.
360 (gdbtk_post_add_symbol): New function: the post-add-symbol hook.
361 (find_file_in_dir): New function. Moved the guts of gdb_find_file_command
362 into here to allow its use by others.
363 (gdb_loc): Use find_file_in_dir to return the real path to the file
364 (or "N/A" if we can't find it).
365
366 * configure.in (TIX_LIB_EXT): Define new variable for those special cases
367 when TCL_SHLIB_SUFFIX is not enough to specify the dependency.
368
369 * configure: Regenerate.
370
77636dea
FF
371Fri Jan 23 07:47:06 1998 Fred Fish <fnf@cygnus.com>
372
373 * Makefile.in (uninstall): Remove installed gdbtcl dir, if one
374 was installed.
375
0422b59e
KS
376Thu Jan 15 12:42:28 1998 Keith Seitz <keiths@onions.cygnus.com>
377
378 * gdbtk.c (gdb_immediate_command): New function which does not buffer any
379 output. (Contrast to gdb_cmd.)
380 (gdbtk_init): Install "gdb_immediate" command into interpreter.
381
bb3d9f43
KS
382Wed Jan 14 16:38:44 1998 Keith Seitz <keiths@pizza.cygnus.com>
383
384 * configure.in (--enable-gdbtk): If tcl was built with --enable-shared,
385 use TCL_SHLIB_SUFFIX to specify the suffix of the library file so that
386 we don't expect to see "libfoo.a" instead of "libfoo.{so,sl, etc}".
387
388 * configure: Regenerate.
389
a26171ca
MS
390Wed Dec 31 16:50:26 1998 Keith Seitz (keiths@onions.cygnus.com)
391
392 * gdbtk.c (gdb_actions_command): extract and save step count
393 from "while-stepping" command
394
1ab578bf
SS
395Tue Dec 16 21:16:42 1997 Ian Lance Taylor <ian@cygnus.com>
396
397 * Makefile.in (LIBGUI): New variable.
398 (GUI_CFLAGS_X): New variable.
399 (IDE_CFLAGS): Add $(GUI_CFLAGS_X).
400 * configure.in: Add $(LIBGUI) to TCL_LIBS and CONFIG_DEPS.
401 * configure: Rebuild.
402
403Wed Dec 10 13:16:45 1997 Keith Seitz <keiths@onions.cygnus.com>
404
405 * gdbtk.c (gdb_get_tracepoint_info): Use info in struct
406 symtab_and_line (not struct tracepoint) so that we get the
407 real line info for an address. Arrange data more like
408 gdb_get_breakpoint_info.
409 (tracepoint_notify): Use info in struct symtab_and_line again.
410 (gdbtk_init): Add command "gdb_get_tracepoint_list" into
411 interpreter.
412 (gdb_get_tracepoint_list): New function that aids the source
413 window in displaying tracepoints when the file changes.
414
415Fri Dec 5 10:31:23 1997 Keith Seitz <keiths@pizza.cygnus.com>
416
417 * gdbtk.c (gdbtk_init): Add gdb_find_file into interpreter.
418 (gdb_find_file_command): New function which searches source path
419 to find the real full filename of a file.
420
421Mon Dec 1 10:19:44 1997 Keith Seitz <keiths@onions.cygnus.com>
422
423 * gdbtk.c: Move include of "guitcl.h" back out of IDE ifdef.
424 (gdbtk_init): Move ide_initialize_paths out of IDE ifdef.
425
426 * configure.in (TCL_LIBS, CONFIG_DEPS): Add IDE libraries for all
427 builds.
428 (CONFIG_OBS): Remove tracepoint.o, which should always be included.
429
430 * configure: regenerate
431
432 * Makefile.in (install-only): ALWAYS install the new gdbtk
433 (REMOTE_OBS): add tracepoint.o
434
435Thu Nov 27 09:07:18 1997 Michael Meissner <meissner@cygnus.com>
436
437 * configure.in ({TCL_LIBS,CONFIG_DEPS}): Don't add IDE libraries
438 if not --enable-ide.
439 (CONFIG_OBS): Add tracepoint.o to list if --enable-gdbtk.
440 * configure: Regenerate.
441
442 * gdbtk.c (gdb_get_breakpoint_info): Add missing filename
443 argument.
444 (toplevel): Move include of guitcl.h into #ifdef IDE region.
445 (gdbtk_init): Move ide_initialize_paths call into #ifdef IDE
446 section.
447
448 * Makefile.in (gdbtk.o): Update dependencies.
449
450Wed Nov 26 15:02:43 1997 Keith Seitz <keiths@onions.cygnus.com>
451
452 * gdbtk.c (gdb_loc): symtab_to_filename can return NULL.
453 (breakpoint_notify): Ditto.
454 (gdb_get_breakpoint_info): Ditto.
455
456Wed Nov 26 11:33:09 1997 Keith Seitz <keiths@onions.cygnus.com>
457
458 Merge in code from Foundry branch:
459
460 * Makefile.in (install-only): install the new gdbtk, not the old
461
462 * gdbtk.c (gdbtk_call_command): also run idle hooks for class_trace
463 commands
464 (gdbtk_init): Add new commands "gdb_get_locals", "gdb_get_args",
465 "gdb_get_function", "gdb_get_line", "gdb_get_file",
466 "gdb_tracepoint_exists", "gdb_get_tracepoint_info", "gdb_actions",
467 and "gdb_prompt".
468 (gdb_get_vars_command): New function.
469 (gdb_get_line_command): New.
470 (gdb_get_file_command): New.
471 (gdb_get_function_command): New.
472 (gdb_get_tracepoint_info): New.
473 (gdbtk_create_tracepoint): New.
474 (gdbtk_delete_tracepoint): New.
475 (tracepoint_notify): New.
476 (tracepoint_exists): New.
477 (gdb_actions_command): New.
478 (gdb_tracepoint_exists_command): New.
479 (gdb_prompt_command): New.
480
481Thu Nov 13 18:15:54 1997 Ian Lance Taylor <ian@cygnus.com>
482
483 * gdbtk.c: Move include of gdbcore.h to top of file.
484 (close_bfds): New static function if _WIN32.
485 (gdbtk_readline): Call close_bfds.
486 (call_wrapper, tk_command_loop): Likewise.
487 (gdb_clear_file): New static function.
488 (gdbtk_init): Create gdb_clear_file Tcl command.
489
490Wed Nov 12 14:58:39 1997 Jeff Holcomb <jeffh@cygnus.com>
491
492 * gdbtk.c: gdbtk_load_hash and ui_load_progress_hook return an
493 int result.
494 (gdbtk_load_hash): download hash routine returns an int result.
495
496Mon Nov 10 15:11:51 1997 Ian Lance Taylor <ian@cygnus.com>
497
498 * gdbtk.c (gdbtk_init): Call ide_create_shell_execute_command if
499 __CYGWIN32__.
500 * configure.in: Add -lshell32 to WIN32LIBS on cygwin32.
501 * configure: Rebuild.
502
503Sun Nov 9 16:25:34 1997 Tom Tromey <tromey@cygnus.com>
504
505 * gdbtk.c (gdbtk_init): Run ide_create_help_command.
506
507Tue Oct 28 17:31:47 1997 Martin M. Hunt <hunt@cygnus.com>
508
509 * gdbtk.c (gdbtk_init): Call ide_create_winprint_command.
510
511Thu Oct 23 15:53:37 1997 Ian Lance Taylor <ian@cygnus.com>
512
513 * configure.in: Add -lgdi32 to WIN32LIBS when linking gdbtk on
514 cygwin32.
515 * configure: Rebuild.
516
517Wed Oct 22 21:32:54 1997 Martin M. Hunt <hunt@cygnus.com>
518
519 * gdbtk.c (gdbtk_init): Create sizebox command on Windows.
520
521Thu Oct 9 14:33:21 1997 Ian Lance Taylor <ian@cygnus.com>
522
523 * gdbtk.c (gdbtk_init): Remove assertion argument from call to
524 ide_create_window_register_command.
525
526Wed Oct 1 11:09:52 1997 Tom Tromey <tromey@cygnus.com>
527
528 * gdbtk.c (gdbtk_init): Pass name of restore interface to
529 ide_create_window_register_command.
530
531Fri Sep 26 21:08:22 1997 Keith Seitz <keiths@pizza.cygnus.com>
532
533 * gdbtk.c (gdbtk_init): Initialize ui_load_progress_hook.
534
535Thu Sep 25 03:05:00 1997 Martin M. Hunt <hunt@cygnus.com>
536
537 * gdbtk.c (gdb_load_info): New function. Returns a list
538 of section names and sizes for an executable.
539 (gdbtk_load_hash): Stub function to call tcl function
540 download_hash.
541
542Tue Sep 23 01:29:00 1997 Martin M. Hunt <hunt@cygnus.com>
543
544 * gdbtk.c (gdb_get_mem): Fix compiler warning.
545
546Sun Sep 21 00:15:00 1997 Martin M. Hunt <hunt@cygnus.com>
547
548 * gdbtk.c (gdb_get_mem): Fix problem with ASCII dump.
549
550Tue Sep 16 18:07:17 1997 Martin M. Hunt <hunt@cygnus.com>
551
552 * gdbtk.c (gdb_get_mem): New function. Returns
553 a formatted memory dump with optional ASCII dump.
554
555Mon Sep 8 12:48:50 1997 Ian Lance Taylor <ian@cygnus.com>
556
557 * gdbtk.c: Include ilutk.h if IDE.
558 (gdb_confirm_quit, gdb_force_quit): New static functions.
559 (gdbtk_init): Add Tcl commands gdb_confirm_quit and
560 gdb_force_quit.
561
562Mon Sep 8 03:05:33 1997 Martin M. Hunt <hunt@cygnus.com>
563
564 * gdbtk.c (gdb_get_breakpoint_info): Now returns the
565 function a breakpoint is in.
566
567Fri Sep 5 20:23:58 1997 Ian Lance Taylor <ian@cygnus.com>
568
569 * gdbtk.c (gdbtk_init): Call ide_create_exit_command.
570
571Wed Sep 3 19:39:15 1997 Ian Lance Taylor <ian@cygnus.com>
572
573 * gdbtk.c: Include guitcl.h.
574 (gdbtk_init): Always call ide_initialize_paths. Set the Tcl
575 variable IDE to 1 when using the IDE. Always try using auto path
576 to find main.tcl.
577 * Makefile.in (IDE_CFLAGS_X): Always include libide.
578 (LIBIDE): New variable.
579 (IDE_X): Omit -lide.
580 (IDE_DEPS): Omit libide.
581 * configure.in: Add LIBIDE to TCL_LIBS and CONFIG_DEPS.
582 * configure: Rebuild.
583
584Mon Aug 25 02:28:55 1997 Keith Seitz <keiths@pizza.cygnus.com>
585
586 * gdbtk.c: (gdb_target_has_inferior) check if inferior_pid is non-zero
587 before assuming that the inferior is running.
588
589Mon Aug 25 01:06:48 1997 Ian Lance Taylor <ian@cygnus.com>
590
591 * gdbtk.c (gdbtk_start_timer): Pass third argument to setitimer.
592 (gdbtk_stop_timer): Likewise.
593
594Mon Aug 25 00:23:08 1997 Keith Seitz <keiths@pizza.cygnus.com>
595
596 * gdbtk.c: (gdbtk_init) create new command "gdb_target_has_execution"
597 (gdb_target_has_execution_command) new function
598
599Sun Aug 24 20:27:22 1997 Ian Lance Taylor <ian@cygnus.com>
600
601 * gdbtk.c (gdb_loc): If there are no symbols, just bail
602 immediately.
603 (tk_command_loop): Print errors encountered while running
604 gdbtk_tcl_preloop.
605
606Sun Aug 24 13:44:03 1997 Tom Tromey <tromey@cygnus.com>
607
608 * gdbtk.c (gdbtk_init): Run ide_create_build_command.
609
610Sat Aug 23 21:53:39 1997 Ian Lance Taylor <ian@cygnus.com>
611
612 * gdbtk.c: If CYGWIN32, include <sys/time.h>.
613 (x_fd): Don't define if WINNT.
614 (gdbtk_start_timer, gdbtk_stop_timer): New static functions if
615 CYGWIN32.
616 (gdbtk_wait): Don't set up signal handling if WINNT. If CYGWIN32,
617 call gdbtk_start_timer and gdbtk_stop_timer.
618 (gdbtk_init): Don't set up signal handling or make x_fd
619 asynchronous if CYGWIN32.
620
621Fri Aug 22 15:23:15 1997 Ian Lance Taylor <ian@cygnus.com>
622
623 * gdbtk.c (error_string_ptr): New static variable.
624 (gdbtk_fputs): If result_ptr is NULL, and error_string_ptr is not
625 NULL, and we're outputting to stderr, append string to
626 error_string_ptr rather than calling gdbtk_tcl_fputs.
627 (call_wrapper): Set up error_string_ptr. Put both error string
628 and normal string in Tcl result.
629
630 * gdbtk.c (gdbtk_init): Don't call ide_run_server_init until after
631 gdb has initialized.
632
633Thu Aug 21 19:14:38 1997 Ian Lance Taylor <ian@cygnus.com>
634
635 * gdbtk.c: If _WIN32, include winuser.h.
636 (gdbtk_init): If _WIN32, use MessageBox to display an error
637 evaluating main.tcl.
638
639Thu Aug 21 00:48:00 1997 Martin M. Hunt <hunt@pern.cygnus.com>
640
641 * gdbtk.c (gdbtk_init): Add call to ide_run_server_init().
642 (gdb_cmd): For the load command, don't buffer the I/O.
643
644Wed Aug 20 11:41:22 1997 Martin M. Hunt <hunt@cygnus.com>
645
646 * gdbtk.c (gdbtk_query): Chaneg free() call to Tcl_Free().
647
648Tue Aug 19 17:09:19 1997 Ian Lance Taylor <ian@cygnus.com>
649
650 * Makefile.in (TCL_DEPS, TK_DEPS): New variables.
651 (ITCL_DEPS, TIX_DEPS): New variables.
652 (IDE_DEPS): New variable.
653 (CDEPS): Include @CONFIG_DEPS@.
654 * configure.in: Set and substitute CONFIG_DEPS and TIX_DEPS.
655 * configure: Rebuild.
656
657Sun Aug 17 00:42:11 1997 Martin M. Hunt <hunt@cygnus.com>
658
659 * gdbtk.c (gdb_listfuncs): New function that returns
660 a list of all the functions in a source file.
661
662Tue Aug 12 16:35:21 1997 Ian Lance Taylor <ian@cygnus.com>
663
664 * Makefile.in (install-only): Install tclIndex if ENABLE_IDE.
665
666Mon Aug 11 10:43:04 1997 Tom Tromey <tromey@cygnus.com>
667
668 * gdbtk.c (gdbtk_init): Use ide_event_init_from_environment.
669
670Fri Aug 8 15:59:24 1997 Ian Lance Taylor <ian@cygnus.com>
671
672 * gdbtk.c (gdbtk_init): Change gdbtk_lib_tmp and gdbtk_file to be
673 dynamically allocated, rather than fixed size. Pass "gdbtcl" to
674 ide_initialize_paths to match installed directory name. If IDE,
675 use auto_path to search for main.tcl.
676 * Makefile.in (install-only): If ENABLE_IDE, install from gdbtcl2
677 rather than gdbtcl.
678
679 * gdbtk.c (gdbtk_cleanup): New static function.
680 (gdbtk_init): Add gdbtk_cleanup as a final cleanup. Uncomment
681 call to ide_initialize_paths. If we can't initialize the event
682 system, set GDBTK_IDE to 0 in the Tcl interpreter. Create the
683 ide_window_register and the ide_window commands. Initialize tk,
684 itcl, and tix after initializing the IDE.
685
686 * configure.in (tixdir): Update for cygwin32 case for Tcl 8.0.
687 * configure: Rebuild.
688
689Fri Aug 8 00:13:32 1997 Martin M. Hunt <hunt@cygnus.com>
690
691 * gdbtk.c (breakpoint_notify): Change buffer size from 100
692 to 256 to avoid memory corruption with very long pathnames.
693
694Thu Aug 7 14:08:23 1997 Martin M. Hunt <hunt@cygnus.com>
695
696 * configure.in: Change required Tix version to 4.1.8.0 .
697 * configure: Rebuilt.
698
699Fri Aug 1 15:21:44 1997 Ian Lance Taylor <ian@cygnus.com>
700
701 * gdbtk.c (Tcl_Alloc): Don't provide our own version of this if
702 _WIN32.
703 (Tcl_Realloc, Tcl_Free): Likewise.
704 * configure.in: Check for cygwin32 environment. Define and
705 substitute WIN32LIBS and WIN32LDAPP. Always set configdir to
706 unix; setting it to win was for an old Tcl/Tk configuration
707 scheme.
708 * aclocal.m4 (CY_AC_LOAD_TKCONFIG): Substitute TK_BUILD_INCLUDES.
709 * Makefile.in (TK_CFLAGS): Add @TK_BUILD_INCLUDES@.
710 (WIN32LDAPP, WIN32LIBS): Define.
711 (CLIBS): Add $(WIN32LIBS).
712 (gdb): Use $(WIN32LDAPP).
713 * configure: Rebuild.
714
715Tue Jul 22 19:45:37 1997 Martin M. Hunt <hunt@cygnus.com>
716
717 * configure.in, aclocal.m4: Another fix to find the
718 correct Tix library name.
719
720 * configure: Rebuilt.
721
722Mon Jul 21 22:24:07 1997 Martin M. Hunt <hunt@cygnus.com>
723
724 * aclocal.m4: Search for the correct tix library.
725
726Thu Jul 10 00:02:41 1997 Martin M. Hunt <hunt@cygnus.com>
727
728 * Makefile.in, configure.in, aclocal.m4: Add Itcl, Tix, and
729 IDE configuration information.
730
731 * gdbtk.c (breakpoint_notify): Send address, linenumber and
732 filename when a breakpoint is set. Avoids call to bp_info.
733 (gdbtk_init): Call Tcl_FindExecutable(). Add code to handle
734 Itcl, Tix and IDE initialization.
735
736 * configure: Regenerated.
737
738Fri Jun 13 10:28:09 1997 Fred Fish <fnf@cygnus.com>
739
740 * gdbtk.c (gdbtk_init): Make truth value test explicit.
741 Remove unused static variable "Gdbtk_Library".
742
743Sat Jun 7 02:34:19 1997 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
744
745 * gdbtk.c (gdb_get_breakpoint_info): Add string for new
746 enumeration del_at_next_stop to bpdisp array.
747
748Tue Jun 3 15:46:51 1997 Tom Tromey <tromey@cygnus.com>
749
750 * Makefile.in (LIB_RUNTIME_DIR): New variable.
751
752Wed May 7 19:10:19 1997 Andrew Cagney <cagney@b1.cygnus.com>
753
754 * gdbtk.c (wrapped_call): New function - make actual call to tk
755 worker function.
756 (call_wrapper): Rewrite to use top.c:catch_errors.
757
758 * gdbtk.c (gdb_stop): If No target_stop set quit flag and hope for
759 best.
760
761Mon Apr 21 14:00:08 1997 Doug Evans <dje@canuck.cygnus.com>
762
763 * gdbtk.c (gdb_disassemble): Store endian-ness in `di'.
764
765Wed Apr 16 12:33:06 1997 Andrew Cagney <cagney@b1.cygnus.com>
766
767 * Makefile.in (install-only): Make list of gdbtcl files to install
768 explicit - was picking up files such as ChangeLog etc.
769 (install-only): Don't blindly create the directory.
770
771Tue Apr 1 15:04:21 1997 Jason Molenda (crash@godzilla.cygnus.co.jp)
772
773 * configure.in (gdbtcl): Create soft-link for gdbtcl/ directory
774 instead of gdbtk.tcl.
775
776Fri Mar 28 17:04:02 1997 Jason Molenda (crash@godzilla.cygnus.co.jp)
777
778 * Makefile.in (gdbtk.o): look for GDBTK_LIBRARY in $(datadir) by
779 default, not $(srcdir).
780
781Wed Mar 19 15:16:17 1997 Martin M. Hunt <hunt@onions.cygnus.com>
782
783 * Makefile.in: Install gdbtcl dir instead of gdbtk.tcl.
784
785 * gdbtk.c: Added some ifdefs for Windows. Changed GDBTK_FILENAME
786 to GDBTK_LIBRARY, which is now a path to search.
787 (gdb_path_conv): New function. Convert Cygwin32 pathname to
788 DOS-style pathname.
789
790 * {aclocal.m4,configure.in}: Changes for Windows builds.
791
792 * configure: Rebuilt.
793
794Fri Mar 14 10:01:29 1997 Tom Tromey <tromey@cygnus.com>
795
796 * configure: Regenerated.
797 * configure.in (LIBS): Re-reverse order of TCL_LIBS and TK_LIBS.
798
799Wed Mar 12 14:29:52 1997 Tom Tromey <tromey@cygnus.com>
800
801 * gdbtk.c (x_event): Use Tcl_DoOneEvent, TCL_DONT_WAIT,
802 TCL_ALL_EVENTS.
803
804 * configure: Regenerated.
805 * configure.in (ENABLE_GDBTK): Put TCL_LIBS after TK_LIBS in
806 LIBS.
807
808Mon Feb 10 13:50:53 1997 Stu Grossman (grossman@critters.cygnus.com)
809
810 * gdbtk.c (call_wrapper): Clear running_now if an error occurs.
811
812Wed Dec 11 18:51:35 1996 Mark Alexander <marka@cygnus.com>
813
814 * gdbtk.c (gdb_loc): Correct truncation of PC on 64-bit MIPS.
815
816Tue Nov 19 09:26:14 1996 Tom Tromey <tromey@cygnus.com>
817
818 * gdbtk.c (gdbtk_readline): Fix memory leak.
819
820Mon Nov 18 23:43:05 1996 Tom Tromey <tromey@cygnus.com>
821
822 Fixes for Tcl 7.6 / Tk 4.2:
823 * gdbtk.tcl (apply_filespec): Use tk_getOpenFile.
824 Remove old fileselect code.
825 * gdbtk.c (Tcl_Alloc): Rename from Tcl_Malloc.
826
827Fri Sep 27 10:25:30 1996 Fred Fish <fnf@cygnus.com>
828
829 * gdbtk.tcl (create_copyright_window): Increase timeout from
830 15 seconds to 30 seconds.
831
832Wed Sep 4 17:28:40 1996 Stu Grossman (grossman@critters.cygnus.com)
833
834 * configure configure.in: Add host *windows* to list of hosts
835 that don't support GDBtk.
836
837Fri Aug 23 00:44:57 1996 Fred Fish <fnf@cygnus.com>
838
839 * gdbtk.c (gdbtk_init): Check for a DISPLAY env variable and
840 gracefully degrade to using command line interface if none is
841 found.
842
843Fri Aug 9 12:32:53 1996 Tom Tromey <tromey@creche.cygnus.com>
844
845 * Makefile.in (LIB_INSTALL_DIR): New macro.
846 (TCL): Include @TCL_LD_SEARCH_FLAGS@.
847
848Thu Aug 1 20:35:01 1996 Tom Tromey <tromey@creche.cygnus.com>
849
850 * gdbtk.c (mainWindow): Deleted.
851 (cleanup_init): Don't destroy main window.
852 (gdbtk_init): Main window now created by Tk_Init.
853
854 * configure.in: Most X checks now handled automatically by Tk.
855 Use new macros to find Tcl/Tk.
856 * aclocal.m4: New version for new Tcl/Tk; from Don Libes.
857 * config.in, configure: Regenerated.
858
859 * Makefile.in (TCL, TCL_CFLAGS, TK, TK_CFLAGS, X11_CFLAGS,
860 X11_LDFLAGS, X11_LIBS): Changed for new Tcl and Tk.
861
862Thu Aug 1 16:12:05 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
863
864 * Makefile.in (gdbtk.tcl): put in $(datadir), not $(libdir).
865
866Fri Jul 26 14:07:37 1996 Ian Lance Taylor <ian@cygnus.com>
867
868 * gdbtk.c (gdb_disassemble): Initialize di.flavour.
869
870Thu Jul 25 19:41:31 1996 Fred Fish <fnf@cygnus.com>
871
872 * gdbtk.c (null_routine): Ditto.
873 (gdbtk_flush): Ditto.
874 (gdbtk_fputs): Ditto.
875 (gdbtk_query): Ditto.
876 (gdbtk_readline): Ditto.
877 (gdbtk_readline_end): Ditto.
878 (gdb_get_breakpoint_list): Ditto.
879 (gdb_get_breakpoint_info): Ditto.
880 (breakpoint_notify): Ditto.
881 (gdbtk_create_breakpoint): Ditto.
882 (gdbtk_delete_breakpoint): Ditto.
883 (gdbtk_modify_breakpoint): Ditto.
884 (gdb_loc): Ditto.
885 (gdb_eval): Ditto.
886 (gdb_sourcelines): Ditto.
887 (map_arg_registers): Ditto.
888 (get_register_name): Ditto.
889 (gdb_regnames): Ditto.
890 (get_register): Ditto.
891 (gdb_fetch_registers): Ditto.
892 (register_changed_p): Ditto.
893 (gdb_changed_register_list): Ditto.
894 (gdb_cmd): Ditto.
895 (call_wrapper): Ditto.
896 (gdb_listfiles): Ditto.
897 (gdb_stop): Ditto.
898 (gdbtk_dis_asm_read_memory): Ditto.
899 (compare_lines): Ditto.
900 (gdb_disassemble): Ditto.
901 (tk_command): Ditto.
902 (cleanup_init): Ditto.
903 (gdbtk_interactive): Ditto.
904 (x_event): Ditto.
905 (gdbtk_wait): Ditto.
906 (gdbtk_call_command): Ditto.
907 (tk_command_loop): Ditto.
908 (gdbtk_init): Ditto.
909
910 * gdbtk.c (register_changed_p): Remove unused local variable "buf".
911
912Sat Jul 20 17:46:40 1996 Fred Fish <fnf@cygnus.com>
913
914 * gdbtk.tcl (files_command): Reorder the binding tags for
915 the listbox widget to avoid referencing the listbox after
916 the containing widget has been destroyed by the action of
917 a previous binding.
918
919Sat Jul 20 10:09:28 1996 Fred Fish <fnf@cygnus.com>
920
921 * gdbtk.tcl (delete_expr): Unset corresponding element of
922 expr_update_list when destroying an expression.
923 (create_expr_window): Initialize expr_num, delete_expr_num,
924 and expr_update_list here when each new expression window
925 is created, rather than once at startup.
926
927Mon Jul 15 16:44:05 1996 Stu Grossman (grossman@critters.cygnus.com)
928
929 * gdbtk.c (gdb_disassemble): Setup di.mach from
930 tm_print_insn_info.mach, and set endian from TARGET_BYTE_ORDER.
931
932Fri Jun 21 11:04:47 1996 Fred Fish <fnf@cygnus.com>
933
934 * gdbtk.tcl (create_register_windows): Include missing '$'s.
935 Add global declarations for various reg_format_* variables.
936 * gdbtk.tcl (populate_register_window): Make initial window one
937 line taller to account for new column header line.
938
939Fri Jun 21 09:46:47 1996 Fred Fish <fnf@cygnus.com>
940
941 * gdbtk.c (get_register): Support for printing raw formats.
942 * gdbtk.tcl: Add hint for using debug_interface.
943 (center_window, add_breakpoint_frame, delete_breakpoint_frame):
944 Enclose arg in braces for consistency.
945 (create_registers_window, populate_reg_window, update_registers):
946 Major rewrite to support displaying multiple formats in the register
947 window.
948 (init_reg_info): New function.
949 (recompute_reg_display_list): Reset reg_display_list, start
950 register display lines at line 2.
951
952Thu Jun 20 08:18:59 1996 Fred Fish <fnf@cygnus.com>
953
954 * gdbtk.tcl (gdbtk_tcl_readline_begin): Handle backspace to
955 avoid backing up over prompt. At every input, make sure insert
956 point is at least after command start, handle control-u to delete
957 current input line.
958 (tclsh): Handle backspace to avoid backing up over prompt. Handle
959 control-u to delete current input line.
960
961Wed Jun 19 17:23:38 1996 Geoffrey Noer <noer@cygnus.com>
962
963 * configure.in: disable gdbtk for *cygwin32* hosted compiles
964 * configure: regenerated with autoconf 2.8
965
966Sun May 19 16:49:37 1996 Fred Fish <fnf@cygnus.com>
967
968 * gdbtk.c (gdbtk_readline_begin, gdbtk_readline, gdbtk_readline_end):
969 New functions.
970 (tk_command_loop): Set instream to NULL to enable Tk user interaction.
971 (gdbtk_init): Set readline_begin_hook, readline_hook,
972 and readline_end_hook.
973 * gdbtk.tcl (gdbtk_tcl_readline_begin, gdbtk_tcl_readline,
974 gdbtk_tcl_readline_end): New functions.
975 (tclsh): Pack scroll bar on right side of window, not left.
976
977Fri May 17 13:54:34 1996 Fred Fish <fnf@cygnus.com>
978
979 * gdbtk.tcl (create_command_window): Change a misspelled "get"
980 to the intended "cget".
981 (delete_line): Fix so it deletes the current line at the
982 insertion cursor.
983
984Thu May 16 19:20:29 1996 Fred Fish <fnf@cygnus.com>
985
986 * gdbtk.tcl (gdb_prompt): Set this early on.
987 (create_command_window): Use gdb_prompt rather than "(gdb) ".
988 (gdbtk_tcl_preloop): Proc executed just prior to Tk main loop.
989 (tclsh): If an evaluation window already exists, just bring it
990 to the front instead of trying to create another.
991 * gdbtk.c (tk_command_loop): New function.
992 (gdbtk_init): Call tk_command_loop rather than Tk_MainLoop.
993
994Thu May 16 16:16:35 1996 Fred Fish <fnf@cygnus.com>
995
996 * gdbtk.tcl (evaluate_tcl_command, tclsh): New functions that
997 implement a tcl evaluation window for gdbtk maintainers to use.
998
999Thu May 16 11:42:58 1996 Tom Tromey <tromey@creche.cygnus.com>
1000
1001 * gdbtk.tcl (files_command): Correctly insert list of files into
1002 listbox widget.
1003
1004 * gdbtk.tcl (files_command): listbox command no longer accepts
1005 -geometry.
1006
1007Wed May 15 16:04:09 1996 Stan Shebs <shebs@andros.cygnus.com>
1008
1009 * gdbtk.tcl (create_command_window): If command window's buffer
1010 is disabled, don't execute any of the key bindings.
1011
1012Mon May 13 13:43:25 1996 Fred Fish <fnf@cygnus.com>
1013
1014 * gdbtk.c (tk_command): Catch case where no argument is given
1015 since this will cause the tcl interpreter to dump core.
1016
1017Wed May 8 20:33:24 1996 Fred Fish <fnf@cygnus.com>
1018
1019 * gdbtk.c: Fix a couple of misspellings.
1020
1021Thu May 2 19:17:49 1996 Stan Shebs <shebs@andros.cygnus.com>
1022
1023 * gdbtk.tcl (debug_interface): New global, use to aid debugging.
1024 (insert_breakpoint_tag, delete_breakpoint_tag): Fix range.
1025 (file_popup_menu): Delete, never used.
1026 (listing_window_popup): Rename from listing_window_button_1,
1027 remove breakpoint toggling code.
1028 (toggle_breakpoint): New procedure.
1029 (create_file_win): Bind popup menu to button 2, toggle breakpoints
1030 with button 1 in breakpoint area, add display of tagged areas if
1031 debugging on.
1032
1033Fri Apr 5 13:44:40 1996 Stan Shebs <shebs@andros.cygnus.com>
1034
1035 * gdbtk.c (running_now): New global variable.
1036 (gdb_cmd): Test it before executing any command.
1037 (gdbtk_call_command): Set it when inferior is running.
1038 * gdbtk.tcl (gdbtk_tcl_busy, gdbtk_tcl_idle): Enable and
1039 disable interaction with command window's text appropriately.
1040
1041Fri Apr 5 13:25:42 1996 Michael Meissner <meissner@tiktok.cygnus.com>
1042
1043 * gdbtk.c (SIOCSPGRP, linux): If on Linux, undef SIOCSPGRP, since
1044 some versions of the kernel don't support it.
1045
1046Tue Feb 6 16:31:25 1996 Tom Tromey <tromey@creche.cygnus.com>
1047
1048 * gdbtk.tcl (create_file_win): Eliminate text widget B1 binding so
1049 double-clicking will work again.
1050 (create_asm_win): Put "break" at end of all B1 bindings.
1051 (create_file_win): Lower "sel" tag, don't raise it.
1052 (ensure_line_visible): New proc.
1053 (update_listing, update_assembly): Use it.
1054 (create_copyright_window): Destroy window on Leave event.
1055 (create_command_window): Put "break" at end of all B2 bindings.
1056
1057Wed Jan 24 15:28:41 1996 Tom Tromey <tromey@creche.cygnus.com>
1058
1059 * gdbtk.tcl, gdbtk.c: Updated copyrights.
1060
1061 * configure.in: Look for -ldl or -ldld when using Tcl 7.5 or
1062 greater.
1063 * configure: Rebuilt.
1064
1065Tue Jan 23 09:00:48 1996 Doug Evans <dje@charmed.cygnus.com>
1066
1067 * gdbtk.c (gdb_disassemble): Pass fprintf_unfiltered to
1068 INIT_DISASSEMBLE_INFO.
1069
1070Mon Jan 15 09:58:41 1996 Tom Tromey <tromey@creche.cygnus.com>
1071
1072 * gdbtk.tcl (create_expr_window): Many changes to update GUI.
1073 (add_expr): Changes from create_expr_window.
1074 (create_command_window): Set focus.
1075 (delete_expr): Rewrote.
1076 (expr_update_button): New proc.
1077 (add_expr): Put bindings on FocusIn, FocusOut.
1078 Don't allow .file_popup to be torn off.
1079
1080Fri Jan 12 09:36:17 1996 Tom Tromey <tromey@creche.cygnus.com>
1081
1082 * gdbtk.tcl (gdbtk_tcl_query): Swap Yes and No buttons.
1083 (update_listing): Use lassign. Use "see" to scroll. Don't need
1084 screen_top, screen_bot, screen_height.
1085 (update_assembly): Use "see" to scroll.
1086 (textscrollproc): Removed.
1087 (create_file_win): Don't use textscrollproc.
1088 (asmscrollproc): Removed.
1089 (create_asm_window): Don't use asmscrollproc.
1090 (create_asm_win): Ditto.
1091 (screen_height, screen_top, screen_bot): Removed.
1092 (run_editor): New proc.
1093 (build_framework): Use it.
1094 (create_file_win, create_source_window): Don't use textscrollproc.
1095 (create_breakpoints_window): Set -xscrollcommand on canvas.
1096 (not_implemented_yet): Default button is 0.
1097 (delete_char): Don't use tk_textBackspace.
1098 (create_command_window): Allow Tk bindings to fire after deleting
1099 character.
1100 (create_command_window): Make Delete delete left, not right.
1101
1102Thu Jan 11 10:08:14 1996 Tom Tromey <tromey@creche.cygnus.com>
1103
1104 * gdbtk.tcl (FSBox): Don't use tk_listboxSingleSelect.
1105
1106 Changes in sync with expect:
1107 * configure.in (ENABLE_GDBTK): Use CY_AC_PATH_TCL and
1108 CY_AC_PATH_TK.
1109 * aclocal.m4: Replaced with version from expect.
1110 * configure: Regenerated.
1111
1112Wed Jan 10 09:07:22 1996 Tom Tromey <tromey@creche.cygnus.com>
1113
1114 * gdbtk.tcl (gdbtk_tcl_fputs, gdbtk_tcl_fputs_error,
1115 gdbtk_tcl_flush): Use "see", not "yview".
1116 (gdbtk_tcl_query): Use questhead bitmap.
1117 various: Always wrap condition of 'if' in {...}.
1118 (add_breakpoint_frame): Set -value on radiobuttons.
1119 (lassign): New proc.
1120 (add_breakpoint_frame): Use lassign, not series of assignments.
1121 (decr): Made faster.
1122 (interactive_cmd): Use "see", not "yview".
1123 (not_implemented_yet): Use warning bitmap.
1124 (update_expr): Don't allow $expr to be evalled by Tcl.
1125 (create_expr_window): Don't use "focus".
1126 (delete_char, delete_line): Define globally.
1127 (delete_line, delete_char, create_command_window, update_autocmd,
1128 build_framework, create_asm_win, create_file_win): Use "see", not
1129 "yview".
1130 (create_copyright_window, center_window, bind_widget_after_class):
1131 New procs.
1132 (FSBox,create_command_window, create_autocmd_window): Binding
1133 changes for Tk4.
1134 (textscrollproc): Define globally.
1135 (build_framework): tk_menuBar no longer needed. Keys Prior, Next,
1136 Home, End, Up, and Down are all defined by Tk.
1137 (apply_filespec): Use error bitmap in dialog.
1138 (files_command): Don't use tk_listboxSingleSelect.
1139 (files_command): Don't use "uniq" to remove duplicates from a
1140 list.
1141 (update_assembly): Use lassign.
1142 (create_asm_win): Removed redundant bindings.
1143 (listing_window_button_1, file_popup_menu): Use tk_popup.
1144 (ButtonRelease-1 binding): Just remove tag from window; rest
1145 handled by Tk.
1146
1147 * gdbtk.c (gdbtk_query): Use Tcl_Merge to provide quoting.
1148 (call_wrapper): Use Tcl_Eval, not Tcl_VarEval.
1149 (gdbtk_call_command): Ditto.
1150
1151Thu Jan 4 16:04:54 1996 Stu Grossman (grossman@cygnus.com)
1152
1153 * configure configure.in: Make --enable-gdbtk be the default.
1154
1155Thu Dec 28 15:10:49 1995 Stan Shebs <shebs@andros.cygnus.com>
1156
1157 * README.GDBTK: Polish introductory paragraph.
1158
1159Mon Oct 16 11:27:06 1995 Stu Grossman (grossman@cygnus.com)
1160
1161 * gdbtk.c (gdb_disassemble): Use fprintf_unfiltered instead of
1162 fprintf_filtered.
1163
1164Tue Oct 10 15:26:39 1995 Fred Fish <fnf@cygnus.com>
1165
1166 * README.GDBTK: Updated for version 4.15.
1167
1168Sat Aug 19 17:20:22 1995 Michael Tiemann <tiemann@axon.cygnus.com>
1169
1170 * gdbtk.tcl: ENABLE comes back as "1" or "0", not "enable" or
1171 "disable".
1172 Also, wire up the breakpoint window so that it can be demo'd.
1173
1174Tue Aug 1 11:44:53 1995 J.T. Conklin <jtc@rtl.cygnus.com>
1175
1176 * gdbtk.c: Include "gdb_string.h" instead of <string.h>.
1177
1178Tue Jun 20 10:19:40 1995 Stu Grossman (grossman@cygnus.com)
1179
1180 * gdbtk.c: Add functions Tcl_Malloc, Tcl_Realloc, and Tcl_Free.
1181
1182 * gdbtk.tcl (add_breakpoint_frame): Add more fields.
1183 * (create_file_win create_asm_win build_framework): Create null
1184 bindings for meta keys to keep window from dropping down to
1185 insertion point when meta is pressed by itself. New bindings:
1186 Up/Down - Scroll up/down one line at a time
1187 Next/Prior - Scroll up/down one page at a time
1188 Home/End - Warp to current pc/end of file
1189 * (build_framework): Turn on breakpoint menu.
1190 * (create_command_window): Implement tab completion. Add binding
1191 for ^C to stop target.
1192
1193Fri May 19 06:15:40 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
1194
1195 * gdbtk.c: Conditionalize use of stdarg rather than varargs on
1196 ANSI_PROTOTYPES not __STDC__; it must match the definition of
1197 PARAMS.
1198
1199Thu May 18 15:58:46 1995 J.T. Conklin <jtc@rtl.cygnus.com>
1200
1201 * gdbtk.c (gdbtk_query): Use stdarg.h macros when compiling with
1202 an ANSI compiler.
1203
1204Sat Apr 15 13:52:24 1995 Stan Shebs <shebs@andros.cygnus.com>
1205
1206 * gdbtk.c (gdb_disassemble): Read from inferior if connected
1207 to a VxWorks target.
1208
1209Fri Apr 14 10:18:20 1995 Stu Grossman (grossman@cygnus.com)
1210
1211 * README.GDBTK: New file. Contains the obvious.
1212
1213Tue Apr 11 11:07:12 1995 Michael Meissner <meissner@tiktok.cygnus.com>
1214
1215 * gdbtk.c (gdbtk_init): If SIOCSPGRP is not available, but
1216 F_SETOWN is, use that.
1217
1218Thu Apr 6 17:00:46 1995 Michael Meissner <meissner@tiktok.cygnus.com>
1219
1220 * Makefile.in (X11_INCLUDES): Define as empty.
1221 (X11_CFLAGS): Define as including $(X11_INCLUDES).
1222 (X11_LIB_SWITCHES): Define as empty.
1223 (X11_LIBS): Define as -lX11.
1224
1225 * configure.in (enable_gdbtk): If gdbtk, support the --x-includes
1226 and --x-libraries switches, setting the X11_INCLUDES and
1227 X11_LIB_SWITCHES respectively. Instead of using a hardcoded -lX11
1228 in ENABLE_CLIBS, use the X11_LIB_SWITCHES and X11_LIBS variables.
1229
1230 * gdbtk.c (gdbtk_init): If SIOCSPGRP is not available, don't use
1231 it. This means that the stop button doesn't work, but is better
1232 than nothing.
1233
1234Wed Mar 29 17:09:29 1995 Stu Grossman (grossman@cygnus.com)
1235
1236 * Makefile.in (gdbtk.o): Use X11_CFLAGS to provide alternate
1237 locations (per-host) for X11 include files.
1238 * config/pa/hppahpux.mh (XM_CLIBS): Add -L/usr/lib/X11R5 to force
1239 the use of R5 libs.
1240 (X11_CFLAGS): Add this to indicate the locs
1241 of the R5 include files.
1242
1243Wed Mar 8 16:12:21 1995 Stu Grossman (grossman@cygnus.com)
1244
1245 * gdbtk.c (gdb_get_breakpoint_info): Return error if breakpoint
1246 type is not bp_breakpoint.
1247
1248Tue Feb 14 17:16:41 1995 Stu Grossman (grossman@cygnus.com)
1249
1250 * gdbtk.c: Ditto.
1251 * gdbtk.c: General cleanups, get rid of unused variables. Redo
1252 handling of stdout/stderr to just return output as the result of
1253 the tcl command that caused the output. Cleanup -Wall stuff.
1254 * (breakpoint_notify): Now returns just action and breakpoint
1255 number.
1256 * (gdb_get_breakpoint_list): New routine. Does the obvious.
1257 * (gdb_get_breakpoint_info): Mostly derived from the old
1258 breakpoint_notify, but returns lots more info.
1259 * (dsprintf_append_element): Helper routine, works like printf,
1260 but appends a tcl element onto the specified DString. Good for
1261 building up lists as return values.
1262 * (gdbtk_enable/disable_breakpoint): Go away. Replaced with
1263 gdbtk_modify_breakpoint.
1264 * (*many routines*): Use new result protocol.
1265 * (call_wrapper): Make sure that recursive calls don't trash results.
1266 * gdbtk.tcl: New windows, autocmd, and breakpoints.
1267 * (gdbtk_tcl_fputs): Don't use $current_output_win redirection
1268 anymore. It's not needed (in fact, this routine may not be needed
1269 anymore).
1270 * (gdbtk_tcl_breakpoint): Change to reflect new breakpoint
1271 notification protocol.
1272 * (gdbtk_tcl_busy gdbtk_tcl_idle): Straighten out buttons, remove
1273 catches.
1274 * (interactive_cmd): Use this wrapper around button invocations
1275 of many commands. This will catch errors and put the results into
1276 the command window. It also updates all the other windows.
1277 * Also, change reliefs of most things to sunken. This actually
1278 looks better.
1279 * (create_file_win): Fix margin binding to allow breakpoints to
1280 work again.
1281 * (create_asm_win): Use return value of gdb_disassemble instead
1282 of implicit I/O to the command window.
1283 * (create_command_window): Use new result protocol to get output
1284 from commands.
1285
1286Sun Feb 5 20:32:44 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1287
1288 * gdbtk.c (gdb_disassemble): Deference pointer to function before
1289 calling it (pre-ANSI compilers generally require this).
1290
1291Fri Feb 3 11:19:20 1995 Stu Grossman (grossman@cygnus.com)
1292
1293 * gdbtk.c (gdb_disassemble): Get rid of
1294 dis_asm_read_memory_hook. We can now call the disassemblers
1295 directly and have no need for this hook anymore.
1296
1297Mon Jan 30 17:34:24 1995 Stu Grossman (grossman@cygnus.com)
1298
1299 * gdbtk.tcl (create_file_win): Disable old popup menu for source
1300 window.
1301
1302Wed Jan 25 18:23:46 1995 Stu Grossman (grossman@cygnus.com)
1303
1304 * gdbtk.c (gdbtk_init): Prevent segfault when gdbtk.tcl can't be
1305 found.
1306 * gdbtk.tcl: Initialize expr_update_list() to prevent errors when
1307 popping up expression window for the first time.
1308
1309Tue Jan 24 12:10:28 1995 Stu Grossman (grossman@cygnus.com)
1310
1311 * gdbtk.tcl (create_registers_window): Work around a radiobutton
1312 widget bug to make Options|Natural button work.
1313
1314 * gdbtk.c (gdb_disassemble): Fix problem with source+assembly and
1315 g++ caused by out-of-order pc's.
1316 * gdbtk.tcl (files_command): Remove duplicate file names. Also,
1317 add scrollbar.
1318
1319Mon Jan 23 17:21:09 1995 Stu Grossman (grossman@cygnus.com)
1320
1321 * gdbtk.tcl: Take .gdbtkinit if it exists. Makes gdbtk match the
1322 doc!
1323
1324Thu Jan 12 15:02:40 1995 Stu Grossman (grossman@cygnus.com)
1325
1326 * gdbtk.c, gdbtk.tcl: Update/add copyright.
1327 * gdbtk.tcl (build_framework): Several fixes for filespec widget,
1328 including dismiss button, and better error handling.
1329 * (create_command_win): Bind button 2 to retrieve selection.
1330
1331Wed Jan 11 17:06:55 1995 Stu Grossman (grossman@cygnus.com)
1332
1333 * gdbtk.tcl: Add button to control mixed source disassembly.
1334 Use text widgets in expr window. The give me more control over
1335 layout.
1336 Add auto-updating of exprs in expression window.
1337 Handle expressions out of scope a bit better.
1338 Make selected window pop up to the top when invoked via the
1339 menubar.
1340 Make copyright message have raised relief.
1341
1342 * gdbtk.c (gdbtk_init): Improve handling for errors in gdbtk.tcl
1343 during startup.
1344
1345Thu Jan 5 17:38:29 1995 Stu Grossman (grossman@cygnus.com)
1346
1347 * gdbtk.c (finish_saving_output): Don't do anything if not saving
1348 output.
1349 * (breakpoint_notify): Don't send null filename to tcl.
1350 * (gdb_eval): New tcl command to eval an expression.
1351 * (gdb_disassemble): New tcl command to do disassembly. This
1352 allows tcl code to choose between exec file and target memeory,
1353 and can also do mixed source and assembly.
1354 * (gdbtk_init): Move reading of gdbtk.tcl to the end to make sure
1355 that more of the environment is set up. Also, create link between
1356 gdb and tcl vars disassemble{-_}from{-_}exec.
1357
1358 * gdbtk.tcl: New expression window support.
1359 * Make assembly window be 80 columns wide.
1360 * Use new disassembly method. Add menu items to select
1361 disassembly from exec file or target.
1362 * Change View menubar item to Options.
1363
1364 * Get rid of Stack, Breakpoints, Signals, and Variables Windows,
1365 since they don't exist yet.
1366
1367 * Pop up a copyright window on startup.
1368
1369Wed Jan 4 19:49:10 1995 Stan Shebs <shebs@andros.cygnus.com>
1370
1371 * gdbtk.tcl (build_framework): Add standard commands menu, more
1372 windows to standard windows menu.
1373 (not_implemented_yet): Clarify message.
1374
1375Fri Dec 30 15:49:00 1994 Stan Shebs <shebs@andros.cygnus.com>
1376
1377 * gdbtk.tcl (FSBox): New proc, File Selection Box code from exmh.
1378 (not_implemented_yet): New proc.
1379 (build_framework): Add various file commands to file menu.
1380
1381Fri Dec 23 16:18:50 1994 Stu Grossman (grossman@cygnus.com)
1382
1383 * gdbtk.c (gdbtk_wait gdbtk_init): Portability improvements for
1384 SIGIO handling.
1385
1386Mon Dec 19 09:55:47 1994 Stu Grossman (grossman@cygnus.com)
1387
1388 * gdbtk.tcl (update_assembly): Force update to make sure that pc
1389 is visible when creating new assembly windows.
1390
1391Sun Dec 18 23:31:20 1994 Stu Grossman (grossman@cygnus.com)
1392
1393 * gdbtk.c (gdbtk_wait gdbtk_init): Use different method of
1394 enabling I/O interrupts for SVR4 (streams).
1395 * (start_saving_output save_output get_saved_output
1396 finish_saving_output flush_holdbuf gdbtk_flush gdbtk_fputs
1397 gdbtk_init):
1398 Totally revamp to use TCLs dynamic string functions. Also, quote
1399 all data passed back to TCL to prevent errors with unmatched
1400 braces, odd characters, etc... This fixes several wierd problems
1401 with outputting strings containing unmatched braces.
1402 * (breakpoint_notify gdb_loc): Use long hex format to output
1403 addresses of breakpoints and PCs. This fixes some Alpha problems.
1404 * (breakpoint_notify): Add stream arg to call to gdbtk_fputs.
1405 * (gdb_listfiles): Also, go through the symtabs when looking for
1406 files. This makes xcoff work (sort of), but probably breaks
1407 something else.
1408 * (gdb_stop): Return TCL_OK instead of nothing. This fixes odd
1409 TCL errors when hitting stop button.
1410 * (tk_command): Don't pass interp->result on to Tcl_{Var}Eval, as
1411 that will trash the result. strdup the result instead and pass
1412 that on. Improve error handling as well.
1413
1414 * gdbtk.tcl (gdbtk_tcl_flush): Use global def of
1415 current_output_win. Makes flushing actually work!
1416 * (asm_win_name create_asm_win update_assembly): Bunch of fixes
1417 to make assembly windows stop flashing when loading a new file.
1418 * (gdbtk_tcl_busy gdbtk_tcl_idle): Use catch to prevent gdb_cmd
1419 errors from losing control.
1420 * (create_source_window): Add source file selection to View menu.
1421 * (create_command_window (<Key-Return> binding): Quote text fed
1422 into gdb_cmd to prevent eval errors.
1423
1424Thu Dec 15 16:40:10 1994 Stu Grossman (grossman@cygnus.com)
1425
1426 * gdbtk.c: Improve mechanism for capturing output values.
1427 (full_filename): Remove.
1428 (gdb_cmd call_wrapper gdbtk_init): Protect all calls from tcl land
1429 with call_wrapper. This prevents longjmps (usually via error())
1430 from jumping out of tcl/tk and leaving things in an indeterminate
1431 state.
1432 (gdbtk_fputs): Differentiate stdout from stderr when passing text
1433 into tcl land.
1434 * gdbtk.tcl: New view option to disable line numbers. Put catch
1435 around most uses of gdb_cmd. Add update button to reg config
1436 window. Stop doing immediate updates when selecting registers.
1437 Change register view values into checkbuttons.
1438
1439Mon Dec 12 16:59:29 1994 Stu Grossman (grossman@cygnus.com)
1440
1441 * gdbtk.tcl (reg_config_menu create_registers_window
1442 recompute_reg_display_list): Use array instead of individual vars
1443 for register display list.
1444 * (recompute_reg_display_list update_registers): Fix bug with not
1445 displaying all registers.
1446
1447Mon Dec 12 12:22:21 1994 Stu Grossman (grossman@cygnus.com)
1448
1449 * gdbtk.c: New tcl commands: gdb_fetch_registers,
1450 gdb_changed_register_list, and gdb_regnames.
1451 * gdbtk.tcl: Use monochrome color model for now.
1452 * (delete_breakpoint_tag create_file_win): Add breakdot support.
1453 * (create_file_win create_asm_win update_listing build_framework
1454 create_source_window create_command_window): Re-org window
1455 creation to give all windows consistent look and feel.
1456 * (update_listing update_asm): Change pc pointer to '->'.
1457 * (registers_command reg_config_menu create_registers_window
1458 populate_reg_window update_registers): Revamp register window.
1459 Allow selection of registers to be displayed. Highlight changed
1460 registers.
1461
1462Mon Nov 28 09:17:20 1994 Stu Grossman (grossman@cygnus.com)
1463
1464 * gdbtk.tcl (build_framework): Fix bug with setting window titles.
1465
1466 * gdbtk.tcl (build_framework): Add "Report bug" to help menu.
1467
1468 * gdbtk.tcl: Re-arrange windows using new, consistent layout. Clean
1469 up lots of code and centralize framework initialization.
1470
1471Wed Nov 16 15:28:29 1994 Rob Savoye (rob@cygnus.com)
1472
1473 * Makefile.in: Fix the test for installing gdbtk.
1474
1475Mon Nov 14 08:51:29 1994 Stu Grossman (grossman@cygnus.com)
1476
1477 * Makefile.in: Install gdbtk.tcl.
1478 * configure.in: Add ENABLE_GDBTK flag.
1479 * gdbtk.c (gdb_sourcelines): Returns list of source lines
1480 containing code. (gdb_regnames): Returns list of register names.
1481
1482Thu Nov 3 14:25:24 1994 Stu Grossman (grossman@cygnus.com)
1483
1484 * gdbtk.c (gdb_stop): Switch to target_stop().
1485
1486Tue Nov 1 16:41:12 1994 Stu Grossman (grossman@cygnus.com)
1487
1488 * Makefile.in: Use $(objdir)/tcl and $(objdir)/tk if they are
1489 available.
1490 * configure.in (ENABLE_CLIBS): Use $(TCL) and $(TK) instead of
1491 -ltcl and -ltk.
1492 * gdbtk.c: Get rid of lots of unnecessary #includes.
1493 * (gdbtk_init): Use ConnectionNumber macro instead of referencing
1494 Display structure directly.
1495 * gdbtk.tcl: Change exit button to quit button.
1496
1497Wed Oct 26 15:41:07 1994 Stu Grossman (grossman@cygnus.com)
1498
1499 * gdbtk.c: Change sense and name of no_windows variable. Now
1500 called use_windows, and defaults to off (for compatibility).
1501
1502Thu Oct 20 17:35:45 1994 Stu Grossman (grossman@cygnus.com)
1503
1504 * gdbtk.c (gdb_cmd): Force GUI into idle mode when errors occur.
1505 * (gdb_stop): New tcl command to stop the target process.
1506 * (x_event, gdbtk_wait): Allow GUI to interrupt gdb out of target
1507 waits.
1508 * (gdbtk_call_command): Wrapper around command processing to
1509 alert GUI of target state changes.
1510 * (gdbtk_init): Get the fd of X server for doing async
1511 notification of X events (via x_event). Setup new hooks.
1512 * gdbtk.tcl: Add scrollbars to assembly and command windows.
1513 * Change window foreground & background colors.
1514 * Create margin tag for breakpoints in source and assembly windows.
1515 * Add new routines to be invoked when target state changes to/from
1516 idle.
1517 * Add start of expression window.
1518 * Change bindings of mouse button 1 in assembly and source window
1519 to just set or clear breakpoints when in the margin tag.
1520 * Change shape of register window to be more vertical to better
1521 reflect its contents.
1522 * Add stop button.
1523 * Cleanup some code around command window bindings.
1524
1525Sat Sep 17 17:05:14 1994 Stu Grossman (grossman@cygnus.com)
1526
1527 * gdbtk.tcl: Let ^U delete lines in the command window.
1528
1529Fri Sep 16 15:40:34 1994 Stu Grossman (grossman@cygnus.com)
1530
1531 * gdbtk.c: Replace calls to full_filename with symtab_to_filename.
1532 * gdbtk.tcl: New routine pc_to_line replaces in line code. New
1533 routine decr replaces in line code.
1534 * (create_file_win): Use catch to handle open failures more
1535 elegantly. Also, create special window to display file open
1536 failure message. Move opening of file prior to creation of text
1537 widget.
1538 * (create_asm_win): Add PC as argument. We now base disassembly
1539 on PC instead of function name, since function names can be
1540 ambiguous (usually seen with shared libs). Also, use catch to
1541 simplify code where we don't care about failures.
1542
1543Wed Sep 14 00:55:26 1994 Stu Grossman (grossman@cygnus.com)
1544
1545 * gdbtk.tcl: Add ref counts to breakpoint tags.
1546 * Put quotes around function name in disassemble command to better
1547 handle assembler names containing `.'.
1548 * Make pclist element 0 be filler to avoid off-by-one problem with
1549 line numbers.
1550 * Set names of top-level windows.
1551 * Add register display window.
1552 * Add PC to label of assembly window.
1553
1554Tue Sep 13 08:59:04 1994 Stu Grossman (grossman@cygnus.com)
1555
1556 * gdbtk.c (gdbtk_flush gdbtk_fputs): Buffer up output to make
1557 disassembly more efficient.
1558 * (breakpoint_notify): Include pc in gdbtk_tcl_breakpoint
1559 callback.
1560 * (gdb_loc): Include pc in return value. Also, return function
1561 name if arg was specified.
1562 * (gdb_cmd_stub): Call gdb_flush to drain internal GDB buffers
1563 after command completes.
1564 * (gdbtk_init): Improve error handling.
1565
1566 * gdbtk.tcl: Add lots of comments. Clean up code.
1567 * (gdbtk_tcl_fputs): Make output window redirectable.
1568 * Add assembly window, and breapoint support.
1569 * Make button 1 in margin toggle breakpoints.
1570 * Use stippling to indicate breakpoint disabling.
1571
1572Fri Sep 2 19:11:40 1994 Stu Grossman (grossman@cygnus.com)
1573
1574 * configure.in: Don't symlink to gdbtk.tcl if it's already there.
1575
1576Thu Jul 28 14:37:36 1994 Stu Grossman (grossman@cygnus.com)
1577
1578 Support for TK GUI.
1579 * Makefile.in: Add rule for gdbtk.o.
1580 * configure.in: Add support for --enable-gdbtk.
1581 * gdbtk.c: New file. Contains support routines for TK interface.
1582 * gdbtk.tcl: New file. Implements GUI policy.
1583
1584\f
1585Local Variables:
1586mode: indented-text
1587left-margin: 8
1588fill-column: 74
1589version-control: never
1590End:
This page took 0.100402 seconds and 4 git commands to generate.