OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [trunk/] [insight/] [gdb/] [gdbtk/] [generic/] [ChangeLog-1997] - Blame information for rev 1765

Details | Compare with Previous | View Log

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

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.