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