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

Subversion Repositories or1k

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

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 578 markom
1999-09-23  Fernando Nasser  
2
 
3
        * gdbtk-varobj.c (variable_value):  Fix small memory leak.
4
 
5
Thu Nov 18 18:19:59 1999  Andrew Cagney  
6
 
7
        * gdbtk.c (tk_command), gdbtk-hooks.c (gdbtk_readline),
8
        gdbtk-variable.c (variable_type): Replace strdup with xstrdup.
9
 
10
Thu Nov 18 19:03:28 1999  Andrew Cagney  
11
 
12
        * gdbtk-cmds.c (gdb_get_mem): Document nbr parameter.  Fix check
13
        on nbr and nbytes parameters.
14
 
15
1999-11-18  Tom Tromey  
16
 
17
        * gdbtk-cmds.c (gdb_actions_command): Updated for new
18
        get_tracepoint_by_number.
19
 
20
Tue Nov  9 15:40:51 1999  Andrew Cagney  
21
 
22
        * gdbtk-cmds.c (gdb_get_mem): Keep calling
23
        target_read_memory_partial until all the data is read.
24
 
25
1999-11-01  Tom Tromey  
26
 
27
        * gdbtk-cmds.c (gdb_actions_command): Updated for new
28
        get_tracepoint_by_number.
29
 
30
Fri Oct 15 18:34:41 1999  Andrew Cagney  
31
 
32
        * gdbtk-hooks.c (ui_load_progress_hook): Move extern declaration
33
        to defs.h.
34
        (gdbtk_load_hash): Update SECTION argument to match prototype.
35
        Make static.
36
 
37
Wed Oct 13 17:57:17 1999  Andrew Cagney  
38
 
39
        * gdbtk-hooks.c (gdbtk_flush): Delete.
40
        (gdbtk_add_hooks): Don't initialize flush_hook.
41
 
42
Mon Oct 11 10:19:04 1999  Andrew Cagney  
43
 
44
        * gdbtk-cmds.c (gdb_get_tracepoint_info): Use paddr_nz to convert
45
        the address into a string.
46
 
47
1999-10-05  James Ingham  
48
 
49
        * gdbtk-cmds.c (map_arg_registers): Don't stop at the first
50
        undefined register, but skip it and go on.  There may be other
51
        defined registers higher up in the list.
52
 
53
1999-09-29  Fred Fish  
54
 
55
        * gdbtk-varobj.c (variable_create):  Replace cast "(CORE_ADDR) - 1"
56
        with the more obviously intended expression "(CORE_ADDR) -1".
57
 
58
1999-09-23  Fernando Nasser  
59
 
60
        * gdbtk-variable.c (variable_value): Fix handling of baseclasses and
61
        correct the behavior when it is not a baseclass (both cases could
62
        potentially dumping core).
63
 
64
1999-09-23  James Ingham  
65
 
66
        * gdbtk.c (gdbtk_init): Add the initialization of the shell
67
        execute command under cygwin.
68
 
69
        * gdbtk-hooks.c (gdbtk_attach): New function, run from the attach
70
        hook.
71
        (gdbtk_detach): New function, run from the detach hook.
72
        (gdbtk_add_hooks): Add the attach & detach hooks.
73
 
74
1999-09-23  Fernando Nasser  
75
 
76
        * gdbtk-varobj.c (variable_create): Dynamically allocate variable
77
        object name string.
78
 
79
1999-09-22  Fernando Nasser  
80
 
81
        * gdbtk-variable.c (_gdb_variable): Remove unused entry.
82
        (variable_update): Fix error in list initialization (apparently
83
        innocuous).
84
        (type_changeable): Fix handling of typedef'ed structs and
85
        unions (removing c_variable.exp test case 2.12 FAIL).
86
 
87
Mon Sep 20 18:03:28 1999  Andrew Cagney  
88
 
89
        * gdbtk-variable.c (new_root_variable): Fix prototype declaration.
90
        * gdbtk.c (_initialize_gdbtk): Add declaration.
91
        * gdbtk-cmds.c (tracepoint_exists): Make static.  Add declaration.
92
        * gdbtk.c (gdbtk_add_hooks): Move declaration from here.
93
        * gdbtk.h (gdbtk_add_hooks): To here.
94
 
95
Fri Sep 17 19:00:39 1999  Andrew Cagney  
96
 
97
        * gdbtk-cmds.c: Include "source.h".
98
        (gdb_load_disassembly): Fix printf calls.
99
        Makefile.in (gdbtk-cmds.o): Add dependency on source.h.
100
 
101
        * gdbtk.c: Include  for Itk_Init.
102
 
103
1999-09-17  Fernando Nasser  
104
 
105
        * gdbtk-varobj.c: New file.  It supersedes gdbtk-variable.c and
106
        uses standard gdb varobj code.
107
 
108
Fri Sep  3 20:16:54 1999  Andrew Cagney  
109
 
110
        * gdbtk.c (gdbtk_init): Cast ``host_name'' and ``target_name'' to
111
        void.  While Tcl_SetVar2 treats the value argument as read-only
112
        its prototype does not specify const for the parameter.
113
 
114
Mon Aug 30 17:56:28 1999  Andrew Cagney  
115
 
116
        * gdbtk.c, gdbtk-hooks.c, gdbtk-cmds.c: #include  moved
117
        to defs.h.
118
 
119
Mon Aug 30 15:34:42 1999  Andrew Cagney  
120
 
121
        * gdbtk-hooks.c (x_event): Missing result to return - return 0.
122
        Make in_x_event volatile.
123
        (in_fputs): Make volatile.
124
 
125
1999-09-02  Stan Shebs  
126
 
127
        * gdbtk.c: Include version.h, remove inconsistent decls of
128
        host_name and target_name.
129
 
130
1999-08-27  James Ingham  
131
 
132
        * gdbtk.h: Add def'n for gdbtk_fputs, since it is needed outside
133
        of gdbtk-hooks.c
134
 
135
        * gdbtk-cmds.c (gdb_load_disassembly): Really implement this
136
        function.  Load the source widget from C.
137
        (gdbtk_load_source): Helper for the above, which loads source lines.
138
        (gdbtk_load_asm): Helper for the above, which loads assembly
139
        lines.
140
        (gdb_restore_fputs): New function, restore the gdbtk_fputs hook,
141
        in case somebody supressed it, and then errored out before they
142
        got a chance to put it back.
143
 
144
1999-08-10  James Ingham  
145
 
146
        * gdbtk-hooks.c: Remove the gdb_disassembly_flavor_hook.  Use the
147
        set_hook instead.
148
 
149
Mon Aug  9 10:28:22 1999  Andrew Cagney  
150
 
151
        * gdbtk.c, gdbtk-cmds.c: Delete #if ANSI_PROTOTYPES code, GDB
152
        assumes ISO-C.
153
 
154
1999-08-06  Tom Tromey  
155
 
156
        * gdbtk-hooks.c (gdbtk_add_hooks): Set `set_hook'.
157
        (gdbtk_set_hook): New function.
158
 
159
1999-08-05  Keith Seitz  
160
 
161
        * gdbtk-variable.c (new_variable): Add missing return value.
162
 
163
1999-08-02  James Ingham  
164
 
165
        * gdbtk-cmds.c: Misc. Cleanups...  Mostly wrapping at 80
166
        characters.
167
        (gdb_loadfile): Go straight to the widget command to insert the
168
        text, rather than through the interpreter.  Gives about 2x-3x
169
        speedup in rendering the source text.
170
        (gdb_disassemble): Rewrite to separate out the generic disassembly
171
        work from the printing part.  The former goes in
172
        gdb_disassembly_driver.  This way I can share the code with the
173
        version that loads the text widget directly.
174
        (gdb_load_disassembly): New function.  This will load the text
175
        widget directly (not done yet).
176
        (gdbtk_load_source): Load the text widget with a source line.
177
        (gdbtk_load_asm): Load the text widget with an assembly line.
178
        (gdbtk_print_source): Print a source line to stdout.
179
        (gdbtk_print_asm): Print an assembly line to stdout.
180
        (gdb_disassemble_driver): New function.
181
 
182
        * gdbtk.h: Fix a compiler warning from Keith's 07-27 checkin.
183
 
184
1999-08-02  Keith Seitz  
185
 
186
        * gdbtk-variable.c (CPLUS_FAKE_CHILD): NULL variables are not
187
        "fakes", either.
188
 
189
1999-07-27  Keith Seitz  
190
 
191
        * gdbtk-variable.c: Rewrite. :-)
192
        * gdbtk-wrapper.c (GDB_value_ind): New function.
193
        (GDB_value_slice): New function.
194
        (GDB_value_coerce_array): New function.
195
        (GDB_value_struct_elt): New function.
196
        (GDB_value_cast): New function.
197
        (GDB_get_frame_block): New function.
198
        (wrap_value_slice): New function.
199
        (wrap_value_coerce_array): New function.
200
        (wrap_value_struct_elt): New function.
201
        (wrap_value_cast): New function.
202
        (wrap_get_frame_block): New function.
203
        * gdbtk-wrapper.h: Add declarations for above new functions.
204
        * gdbtk-cmds.c (gdb_selected_block): New function.
205
        (gdb_get_blocks): New function.
206
        (gdb_block_vars): New function.
207
 
208
1999-07-16  Keith Seitz  
209
 
210
        * gdbtk-cmds.c (gdb_loc): Change all references of "stop_pc" to
211
        "read_pc ()".
212
 
213
        * gdbtk.c (target_is_native): New function.
214
        (target_should_use_timer): Use target_is_native to determine whether
215
        the timer should run.
216
        * gdbtk.h (target_is_native): Add prototype.
217
        * gdbtk-cmds.c (gdb_disassemble): Use target_is_native to determine if
218
        we should disassemble from inferior memory.
219
 
220
1999-07-09  Fernando Nasser  
221
 
222
        * gdbtk-variable.c (variable_obj_command): Add missing comments
223
        for object variable commands.
224
 
225
Fri Jul  9 12:06:36 1999  Andrew Cagney  
226
 
227
        * gdbtk-cmds.c (Gdbtk_Init): Explicitly route log/debug and target
228
        output to stderr instead of stdout.
229
 
230
1999-06-21  James Ingham  
231
 
232
        * gdbtk.c (target_should_use_timer): Add check for "linuxthreads"
233
        to enable the timer for Linux as well as other natives.
234
 
235
1999-06-15  Keith Seitz  
236
 
237
        * gdbtk-hooks.c (gdbtk_annotate_signal): Run
238
        gdbtk_stop_idle_callback so that signals don't interfere
239
        with the stop button.
240
 
241
1999-06-10  Keith Seitz  
242
 
243
        * gdbtk.c (gdbtk_init): Add host_name and target_name to
244
        GDBStartup.
245
 
246
        * gdbtk-cmds.c (gdb_clear_file): Delete breakpoints and
247
        clear the exec file, too.
248
        (gdb_loadfile): Don't close a file that's not opened until
249
        later.
250
 
251
Wed Jun  9 14:21:40 1999  Andrew Cagney  
252
 
253
        * gdbtk-cmds.c (old_regs): Change array to a pointer.
254
        (setup_architecture_data): New function.
255
        (Gdbtk_Init): Call setup_architecture_data.  Register ``old_regs''
256
        as an architecture dependant variable.
257
 
258
1999-05-25  Keith Seitz  
259
 
260
        * gdbtk-wrapper.c (GDB_val_print): Fix compiler warnings.
261
        (wrap_val_print): Ditto.
262
        (GDB_block_for_pc): Ditto.
263
        (wrap_block_for_pc): Ditto.
264
        (GDB_find_frame_addr_in_frame_chain): Ditto.
265
        (wrap_find_frame_addr_in_frame_chain): Ditto.
266
 
267
        * gdbtk-variable.c (variable_create): Rename "-pc" option
268
        to the more explicit name "-frame". Update usage.
269
        (create_variable): Swallow errors before parse_exp_1, too.
270
        If no frame is given as an argument, use the current frame;
271
        otherwise, use the current block in the specified frame.
272
        (variable_children): Check for errors creating children.
273
        (create_child): Ditto.
274
 
275
        * gdbtk-cmds.c (get_selected_frame): New function.
276
        (Gdbtk_Init): Add get_selected_frame to interpreter.
277
        (gdb_get_vars_command): Use current block in selected frame
278
        if no args specified.
279
 
280
        * Makefile.in (gdbtk-cmds.o): Depend on frame.h, too
281
 
282
Tue May 25 16:12:57 1999  Andrew Cagney  
283
 
284
        * gdbtk-cmds.c (REGISTER_CONVERTIBLE,
285
        REGISTER_CONVERT_TO_VIRTUAL): Delete default definitions.
286
        gdbarch.h ensures that there is always a definition available.
287
 
288
1999-05-20  Andrew Cagney  
289
 
290
        Mon Apr 26 09:15:27 1999  Andrew Cagney  :
291
        * gdbtk.c (x_event_wrapper): Wrapper for x_event that matches
292
        signal function signature.
293
        (gdbtk_start_timer): set .sa_handler to x_event_wrapper instead of
294
        x_event.
295
 
296
1999-05-14  Keith Seitz  
297
 
298
        * configure.in (ENABLE_GDBTK): Don't clobber WIN32LIBS.
299
        * configure: Regenerated.
300
 
301
1999-04-12  Keith Seitz  
302
 
303
        * gdbtk-variable.c (variable_value_changed): Swallow errors from
304
        evaluate_expression.
305
 
306
1999-04-09  James Ingham  
307
 
308
        * gdbtk-cmds.c (gdb_get_mem): Use the Tcl list API to add the
309
        ASCII entry to the return list.  We were trying to do the quoting
310
        by hand which is bound to lose in some cases.
311
 
312
1999-04-06  Martin Hunt  
313
 
314
        * gdbtk-hooks.c (gdbtk_annotate_signal): New function.
315
        Notifies GDBtk when a signal occurs.
316
 
317
1999-04-02  Keith Seitz  
318
 
319
        * gdbtk-hooks.c (gdbtk_force_detach): New global.
320
        (x_event): Change to return gdbtk_force_detach so that
321
        callers will know if we want to detach. See comments.
322
        (gdbtk_wait): Insert calls to gdbtk_start/stop_timer. This
323
        is a nop for most hosts/targets. Remove ice-specific code.
324
 
325
        * gdbtk-cmds.c (gdb_stop): Add "detach" option, which forces
326
        gdb to detach from the target. See comments.
327
 
328
        * gdbtk.c (target_should_use_timer): New function.
329
        (gdbtk_start_timer): Only use on unix native targets.
330
        (gdbtk_stop_timer): Ditto.
331
 
332
        * gdbtk.h (x_event): Update declaration: now returns an int.
333
 
334
1999-03-29  Stan Shebs  
335
 
336
        * gdbtk.c, gdbtk-cmds.c, gdbtk-hooks.c: Don't include setjmp.h.
337
 
338
1999-03-29  Keith Seitz  
339
 
340
        * gdbtk-cmds.c (pc_function_name): New function which returns the
341
        source name (regardless of mangling) of the function at a given PC.
342
        (gdb_get_function_command): Use it.
343
        (gdb_get_tracepoint_info): Ditto.
344
        (gdb_loc): Ditto.
345
        (gdb_get_breakpoint_info): Ditto.
346
 
347
        * Makefile.in (install-only): Don't install help/index.toc: it doesn't
348
        exist anymore.
349
 
350
Wed Mar 10 19:37:23 1999  Geoffrey Noer  
351
 
352
        * gdbtk-cmds.c: Don't need to include any Win32 API headers.
353
        * gdbtk-hooks.c: Include Windows.h, not just winuser.h.
354
        * gdbtk.c: Ditto.
355
 
356
1999-03-04  Martin Hunt  
357
 
358
        * gdbtk-hooks.c (gdbtk_load_hash): Change download_hash()
359
        to Download::download_hash().
360
 
361
1999-03-01  Martin Hunt  
362
 
363
        * gdbtk.c (TclDebug): Increase buffer size to 10000, in case
364
        backtraces are very long.
365
 
366
1999-02-26  James Ingham  
367
 
368
        * gdbtk-cmds.c (gdb_search): Add a -filename switch, which returns
369
        the file in which the function or type was defined, along with the
370
        function...
371
 
372
        * gdbtk.c (gdbtk_find_main): The external editor stuff was getting
373
        set twice...
374
 
375
1999-02-18  Martin Hunt  
376
 
377
        * gdbtk-cmds.c (gdb_disassemble): When debugging native threads,
378
        set disassemble_from_exec to 0. This fixes bugs where disassembly
379
        of threaded programs failed.
380
 
381
1999-02-16  James Ingham  
382
 
383
        * gdbtk.c (gdbtk_init): Remove redundant setting of the external
384
        editor variables.
385
 
386
1999-02-11  Martin Hunt  
387
 
388
        * gdbtk-variable.c (variable_format): Enable binary format.
389
 
390
1999-02-11  Martin Hunt  
391
 
392
        * gdbtk-hooks.c: Change ALL Tcl_Eval calls in hooks to
393
        call report_error() if there are errors.
394
 
395
1999-02-11  Martin Hunt  
396
 
397
        * gdbtk.c, gdbtk-cmds.c, gdbtk-hooks.c: Removed old IDE stuff.
398
 
399
1999-02-09  Martin Hunt  
400
 
401
        * gdbtk-hooks.c: Remove gdbtk_ignorable_warning prototype.
402
        It is in gdbtk.h.
403
        (report_error): New function. Displays debugging information
404
        if a hook function fails.  All hook functions should probably
405
        call this.
406
        (gdbtk_warning): Call report_error() if there is a problem.
407
        (gdbtk_register_changed): Call report_error() if there is a problem.
408
        (gdbtk_memory_changed): Call report_error() if there is a problem.
409
        (gdbtk_ignorable_warning): Pass along class argument. If there
410
        is a problem, call report_error().
411
 
412
        * gdbtk-cmds.c: Remove TclDebug prototype.  It is in gdbtk.h.
413
        (gdb_loadfile): Add class name to gdbtk_ignorable_warning call.
414
 
415
        * gdbtk.c (TclDebug): Add "priority" argument. Calls "dbug"
416
        instead of "debug". Removed non-ANSI ifdefs.
417
 
418
        * gdbtk.h: Fixed protos for gdbtk_ignorable_warning and TclDebug.
419
 
420
1999-02-05  James Ingham  
421
 
422
        * Makefile.in: Add GDBTK_CFLAGS - this is now used to hold
423
        -fwritable-strings when compiling with Tk8.1.
424
        * configure.in: Add GDBTK_CFLAGS, set it to -fwritable-strings for
425
        Tcl/Tk8.1 & greater.
426
        * acinclude.m4: Move the rest of the defines to find Itcl, Itk &
427
        Tix from aclocal.m4 to here.
428
        * aclocal.m4: regenerate.
429
        * configure: regenerate.
430
 
431
        * gdbtk-hooks.c (x_event): Tcl_ObjGetVar2 was removed from
432
        Tcl8.1.  Use Tcl_GetVar2 instead.
433
        * gdbtk-hooks.c (gdbtk_trace_find): Fix up call to
434
        Tcl_GlobalEvalObj for Tcl/Tk 8.1.
435
        * gdbtk-hooks.c (gdbtk_trace_start_stop): Call to Tcl_EvalObj was
436
        inefficient, replace with call to Tcl_GlobalEval.
437
        * gdbtk.c: Don't swap out the Tcl_Alloc calls in gdbtk.c.  We took
438
        care of that in Tcl itself for 8.1.
439
        * gdbtk.c: Remove const from the script string since Tcl8.1 has
440
        taken to scribbling sentinals into strings passed to it again...
441
 
442
        * gdbtk-cmds.c (wrapped_call): Change declaration of 1st arg from
443
        char * to PTR to eliminate warning.
444
        * gdbtk-cmds.c (perror_with_name_wrapper): Ditto
445
 
446
Thu Feb  4 10:35:28 1999  Keith Seitz  
447
 
448
        * gdbtk-variable.c (variable_create): Allocate enough
449
        space to hold the NULL, too!
450
 
451
Wed Feb  3 13:37:07 1999  Keith Seitz  
452
 
453
        * gdbtk-variable.c (variable_create): Add parentheses to the name
454
        so that casts do not confuse the expression parser.
455
 
456
1999-02-03  Keith Seitz  
457
 
458
        * gdbtool.ico: Add missing desktop image.
459
 
460
1999-02-02  Martin Hunt  
461
 
462
        * gdbtk-cmds.c (get_register): For RAW display, concat all the
463
        pieces together before calling fputs.
464
 
465
1999-02-01  Martin Hunt  
466
 
467
        * gdbtk-cmds.c: (gdb_set_bp): Change the "type" argument
468
        to be ASCII instead of an integer. Currently accepts "temp"
469
        or "normal".  Fixed error messages.
470
        (gdb_set_bp_addr): Ditto.
471
 
472
1999-01-29  James Ingham  
473
 
474
        * gdbtk.c (gdbtk_init): Set the fputs_unfiltered_hook to
475
        gdbtk_fputs BEFORE you eval script.  The old code was setting it
476
        to null until after you did this, but that is wrong, because it
477
        will cause the output of CAUGHT errors to go to gdb_stderr, which
478
        is wrong.  You only want to write errors to the console if the
479
        eval generates an error.
480
 
481
1999-01-29  Martin Hunt  
482
 
483
        * gdbtk-cmds.c (gdb_get_breakpoint_info): When printing addresses,
484
        do not rely on the format string "%lx" -- it does not exist for all
485
        hosts. Use paddr instead.
486
        (gdb_loadfile): Increase maximum line size to pass testsuite cases.
487
 
488
        * gdbtk-hooks.c (gdbtk_add_hooks): Remove pc_changed_hook and
489
        add register_changed_hook and memory_changed_hook.
490
        (gdbtk_register_changed): New function.
491
        (gdbtk_memory_changed): New function.
492
 
493
        * gdbtk.c (gdbtk_init): Create tcl warp_pointer command
494
        for use with testing.
495
 
496
        * gdbtk-cmds.c (gdb_loc): Fix for case where there are only
497
        minimal symbols.  Also make gdb_loc return the shared library
498
        the location is in, if it is in one.
499
 
500
1999-01-27  James Ingham  
501
 
502
        * gdbtk-wrapper.c: Missed a couple of places where FILE->GDB_FILE
503
        in the fputs_unfiltered_hook needed to propagate.
504
 
505
1999-01-27  James Ingham  
506
 
507
        Merging in changes from gdbtk-980810 - the Itcl3
508
        gdb branch.
509
 
510
  1999-01-12  Martin Hunt  
511
 
512
          * gdbtk-cmds.c (gdb_loadfile): Increase maximum line size so
513
          files with very long lines get numbered correctly.
514
 
515
  Thu Jan  7 06:50:32 1999  Keith Seitz  
516
 
517
          * gdbtk-hooks.c (gdbtk_add_hooks): Add the error_begin_hook;
518
          (gdbtk_error_begin): New function.
519
          (gdbtk_fputs): If GDBTK_ERROR_ONLY is set, treat output to
520
          any stream as if it had come from gdb_stderr.
521
 
522
          * gdbtk.h: Define GDBTK_SYMBOL_SOURCE_NAME: does the same thing
523
          as SYMBOL_SOURCE_NAME, except that it NEVER returns a mangled name.
524
          Define GDBTK_ERROR_ONLY flag for result_ptr.
525
 
526
          * gdbtk-cmds.c (gdb_listfuncs): Use SYMBOL_DEMANGLED_NAME to
527
          get the symbol's fully demangled name (including class and
528
          args for overloaded funcs), not cplus_demangle.
529
          (get_frame_name): Use GDBTK_SYMBOL_SOURCE_NAME to get the name
530
          of the frame level.
531
 
532
          * gdbtk-wrapper.c, gdbtk-wrapper.h:
533
          (GDB_val_print): Allow caller to specify all function args to val_print.
534
          (wrap_val_print): Ditto.
535
 
536
          * gdbtk-variable.c (variable_value): Clear addressprint when getting
537
          value of C++ reference-type variables
538
          If we errored because a parent (struct pointer) was junk, output
539
          an error message indicating so.
540
          (call_gdb_val_print): Tell val_print to dereference C++ reference
541
          types.
542
          (number_of_children): void * also has no children.
543
          (get_call_output): Clear any error flags that may have been set
544
          as a result of error_begin.
545
 
546
          * utils.c (error_begin_hook): New hook.
547
          (error_begin): Call error_begin_hook so that the GUI
548
          gets notified.
549
 
550
          * defs.h (error_begin_hook): Declare.
551
 
552
  Wed Jan  6 08:43:31 1999  Keith Seitz  
553
 
554
          * gdbtk-wrapper.c, gdbtk-wrapper.h: Add wrappers for parse_exp_1,
555
          evaluate_type, block_for_pc, block_innermost_frame, reinit_frame_cache,
556
          and find_frame_addr_in_frame_chain.
557
 
558
          * gdbtk-variable.c (variable_create): Check for failure when
559
          creating variables.
560
          (create_variable): Use wrapped calls for block_for_pc, parse_exp_1,
561
          and block_innermost_frame.
562
          Return NULL if parse_exp_1 fails.
563
          Attempt to prohibit creating a gdb_variable for type names.
564
          (variable_value_changed): Use wrapped calls for reinit_frame_cache and
565
          find_frame_addr_in_frame_chain.
566
          (variable_type): Use wrapped call for evaluate_type.
567
          (variable_value): Use wrapped call for parse_exp_1.
568
          (variable_editable): Use wrapped call for evaluate_type.
569
 
570
  Tue Jan  5 11:37:17 1999  Keith Seitz  
571
 
572
          * gdbtk-variable.c: New variable object interface.
573
          * gdbtk-wrapper.c, gdbtk-wrapper.h: New wrappers for safely calling
574
          gdb functions without the fear of longjmp'ing.
575
          * configure.in (CONFIG_OBS): Add gdbtk-wrapper.o and gdbtk-variable.o
576
          when gdbtk is enabled.
577
          * configure: Regenerate.
578
          * Makefile.in: Add gdbtk-wrapper.o and gdbtk-variable.o
579
          * gdbtk-cmds.c (call_wrapper): Export so that other files can use.
580
          (Gdbtk_Init): Initialize new variable interface.
581
          * gdbtk.h: Add declaration for call_wrapper.
582
 
583
  Tue Jan  5 11:19:14 1999  Keith Seitz  
584
 
585
          * gdbtk-cmds.c (gdb_loc): Call resolve_sal_pc to before using
586
          the sal's pc.
587
 
588
          * gdbtk.c (gdbtk_init): Add global array GDBStartup to interpreter
589
          which contains any startup info. Add "inhibit_prefs" (follows -nx)
590
          so that "-nx" turns preference reading/writing off.
591
 
592
  Mon Dec 21 11:11:02 1998  Keith Seitz  
593
 
594
          * gdbtk-cmds.c (get_register): Call get_saved_register instead of
595
          read_relative_register_raw_bytes to fetch registers.
596
 
597
  Thu Dec 17 09:00:56 1998  Keith Seitz  
598
 
599
          * gdbtk-cmds.c (gdb_search): Don't mention C++ RTTI and
600
          global constructor/destructor symbols.
601
 
602
  Thu Nov 12 15:20:15 1998  Jim Ingham   
603
          * More bug fixes merged in from devo.
604
 
605
          * gdbtk-cmds.c (gdb_cmd): Added an optional second argument to the
606
          gdb_cmd, which is from_tty.  This is passed to the gdb command
607
          parser.  It is 0 by default, and the console window passes 1.
608
 
609
          * gdbtk-cmds.c: moved disassemble_from_exec from gdbtk.c to gdbtk-cmds.c
610
          with all the other link-var'ed variables
611
 
612
          * gdbtk-hooks.c (gdbtk_trace_find): Only run the hook functions if
613
          we are called from_tty.
614
 
615
          * gdbtk-hooks.c (gdbtk_trace_start_stop): Set the trace buttons
616
          from a trace_start_command callback rather than doing it as a
617
          special case in gdb_cmd.
618
 
619
          * tracepoint.c (tstart_command, tstop_command): Add call to
620
          trace_start_stop_hook here.
621
 
622
  1998-11-04  Martin M. Hunt  
623
 
624
          * gdbtk-cmds.c (gdb_set_bp_addr): For callback, send full
625
          pathname instead of just basename.
626
 
627
  1998-11-03  Keith Seitz  
628
          * v850ice.c (do_gdb): New function.
629
          (ice_stepi): Use do_gdb to step properly.
630
          (ice_nexti): Use do_gdb to step properly.
631
          (view_source): Correct call to src window's location for new version.
632
 
633
  Tue Aug 25 18:13:30 1998  Jim Ingham    
634
 
635
          * gdbtk.c (gdbtk_init): I hadn't excised ALL the old startup code,
636
          so it was not working correctly.  Now it does.
637
 
638
  Fri Aug 21 14:37:40 1998  Jim Ingham  
639
 
640
          * gdbtk.c (gdbtk_init): Changed the startup code to use
641
          tcl_findLibrary
642
 
643
 
644
 
645
 
646
on Dec 28 17:44:36 1998  David Taylor  
647
 
648
 
649
        The following changes were made by Jim Blandy ,
650
        Edith Epstein , Elena Zannoni
651
         Stan Shebs , and David
652
        Taylor , as part of the project to merge in
653
        changes originally made by HP; HP did not create ChangeLog
654
        entries.
655
 
656
        * gdbtk.c (gdbtk_init): change stderr to gdb_stderr.
657
 
658
        * gdbtk-cmds.c
659
        (get_pc_register): Use paddr_nz, not sprintf's %llx and
660
        a cast to `long long'.  Those aren't portable.
661
        (gdb_eval): add embedded_offset param to val_print call
662
        (get_register): add embedded_offset param to val_print call
663
 
664
        * gdbtk-hooks.c
665
        (tk_command_loop): change instream to a FILE.
666
        (gdbtk_flush): change both the declaration and definition to
667
        use GDB_FILE rather than FILE.
668
 
669
Mon Dec 21 11:11:02 1998  Keith Seitz  
670
 
671
        * gdbtk-cmds.c (get_register): Call get_saved_register instead of
672
        read_relative_register_raw_bytes to fetch registers.
673
 
674
Thu Dec 17 09:00:56 1998  Keith Seitz  
675
 
676
        * gdbtk-cmds.c (gdb_search): Don't mention C++ RTTI and
677
        global constructor/destructor symbols.
678
 
679
Tue Dec 15 10:09:31 1998  Andrew Cagney  
680
 
681
        * gdbtk-cmds.c (gdb_disassemble): Fix typo.
682
 
683
Sun Dec 13 09:52:51 1998  Andrew Cagney  
684
 
685
        * gdbtk-cmds.c: Update TARGET_PRINT_INSN_INFO, TARGET_PRINT_INSN.
686
 
687
Fri Dec 11 09:52:04 1998  Andrew Cagney  
688
 
689
        * gdbtk-cmds.c: Replace reg_name with REGISTER_NAME.
690
 
691
Mon Dec 14 13:20:50 1998 Jim Ingham  
692
 
693
        * Makefile.in, configure.in configure - add support for LIBGUI
694
        outside the IDE context.
695
 
696
Thu Nov 19 13:14:57 1998  Geoffrey Noer  
697
 
698
        * gdbtk-cmds.c: Can't start using new API names yet.  Switch back
699
        to calling cygwin32_ funcs until some time has passed...
700
        * gdbtk.c: Ditto.  Also, include sys/cygwin.h for Cygwin, instead
701
        of providing own proto.
702
 
703
Fri Nov 13 00:15:08 1998  Geoffrey Noer  
704
 
705
        Changes to account for name change from cygwin32 to cygwin and
706
        clean up Win32-related ifdefs.
707
 
708
        * gdbtk.c: lose "32" from cygwin_ func calls.  ifndef for
709
        checking DISPLAY should be for _WIN32, not WINNT.
710
        * gdbtk.h: pick GDBTK_PATH_SEP based on _WIN32, not WINNT.
711
        * gdbtk-cmds.c (gdb_path_conv): lose "32" from cygwin_  func call,
712
        change ifdef to __CYGWIN32__ instead of WINNT.
713
        * {gdbtk.c, gdbtk-hooks.c}: __CYGWIN32__ refs drop the "32".
714
 
715
Thu Nov 12 15:20:15 1998  Jim Ingham   
716
 
717
        * gdbtk-cmds.c (gdb_cmd): Added an optional second argument to the
718
        gdb_cmd, which is from_tty.  This is passed to the gdb command
719
        parser.  It is 0 by default, and the console window passes 1.
720
 
721
        * gdbtk-cmds.c: moved disassemble_from_exec from gdbtk.c to gdbtk-cmds.c
722
        with all the other link-var'ed variables
723
 
724
        * gdbtk-hooks.c (gdbtk_trace_find): Only run the hook functions if
725
        we are called from_tty.
726
 
727
        * gdbtk-hooks.c (gdbtk_trace_start_stop): Set the trace buttons
728
        from a trace_start_command callback rather than doing it as a
729
        special case in gdb_cmd.
730
 
731
        * tracepoint.c (tstart_command, tstop_command): Add call to
732
        trace_start_stop_hook here.
733
 
734
Wed Nov  4 12:41:42 1998  Jim Ingham  
735
 
736
        * gdbtk-cmds.c (gdb_set_bp_addr): Pass the type, enable & thread
737
        to gdbtk_tcl_breakpoint.
738
        * gdbtk-hooks.c (gdbtk_trace_find): Added this function.  It is
739
        the hook function for tfind commands.
740
        * tracepoint.c (trace_find_command): Added the trace_find_hook,
741
        run when you do trace_find_command.
742
        * tracepoint.h: Define the trace_find_hook.
743
 
744
1998-11-03  Keith Seitz  
745
 
746
        * v850ice.c (do_gdb): New function.
747
        (ice_stepi): Use do_gdb to step properly.
748
        (ice_nexti): Use do_gdb to step properly.
749
        (view_source): Correct call to src window's location for new version.
750
 
751
Mon Nov  2 11:16:10 1998  Jim Ingham  
752
 
753
        * gdbtk-cmds (gdb_get_tracepoint_info): Demangle C++ function names.
754
 
755
Fri Oct 30 11:22:23 1998  Jim Ingham  
756
 
757
        * gdbtk-cmds (gdb_get_tracepoint_info): Fixed typo.
758
 
759
Wed Oct 28 16:19:02 1998  Martin M. Hunt  
760
 
761
        * gdbtk-cmds.c (gdb_set_bp_addr): For callback, send full
762
        pathname instead of just basename.
763
 
764
Wed Oct 28 10:14:33 1998  Jim Ingham   
765
 
766
        * gdbtk-cmds.c: Made the bdtypes & bpdisp arrays shared so they
767
        could be used in gdbtk-hooks.c (breakpoint_notify).
768
        Also fixed a few error messages to actually print the bp number
769
        rather that #%d...
770
        * gdbtk-hooks.c (breakpoint_notify): pass more of the information
771
        about the breakpoint into the Tcl command, so it does not have to
772
        try and guess about information we have on the C side.
773
        * gdbtk.h: Export the bptypes & pbdisp arrays.
774
 
775
1998-10-13  Jason Molenda  (jsm@bugshack.cygnus.com)
776
 
777
        * gdbtk.c, gdbtk-cmds.c: Cast parameters passed to make_cleanup to
778
        use the new make_cleanup_func typedef.
779
 
780
1998-10-08  Keith Seitz  
781
 
782
        * gdbtk-hooks.c (gdbtk_add_hooks): Install a hook for
783
        (new) file_changed_hook.
784
        (gdbtk_exec_file_changed): Rename to gdbtk_exec_file_display
785
        to mimic hook's name.
786
        (gdbtk_file_changed): New hook function.
787
 
788
Tue Oct  6 22:57:13 1998  Andrew Cagney  
789
 
790
        * configure.in (links): Link gdbtcl2 directory instead of gdbtcl.
791
 
792
Mon Oct  5 00:34:00 1998  Martin M. Hunt  
793
 
794
        * gdbtk-cmds.c (gdb_set_bp_addr): New command. Sets a
795
        breakpoint at an address. Use this instead of gdb_cmd "break"
796
        because the syntax of the break command is broken and doesn't
797
        allow you to create a thread-specific BP at an address.  Also
798
        this is faster.
799
 
800
Sun Oct  4 22:35:47 1998  Martin M. Hunt  
801
 
802
        * gdbtk-cmds.c (gdb_set_bp): Add an optional thread number.
803
        (gdb_find_bp_at_line): New function. Returns a list of bpnums
804
        at the specified line number.
805
        (gdb_find_bp_at_addr): New function. Returns a list of bpnums
806
        at an address..
807
 
808
1998-10-02  Keith Seitz  
809
 
810
        * gdbtk-hooks.c (gdbtk_exec_file_changed): New function which handles
811
        exec_file changes.
812
        (gdbtk_add_hooks): Define exec_file_display_hook (to gdbtk_exec_file_changed)
813
 
814
        * gdbtk-cmds.c (gdb_stop): target_stop is ALWAYS defined, so
815
        compare against something a little more meaningful (target_ignore).
816
 
817
1998-09-24  Keith Seitz  
818
 
819
        * gdbtk.c (gdbtk_wait): Don't run the timer for ice targets.
820
 
821
        * v850ice.c (WM_ADDR_TO_SYM): New message.
822
        (v850ice_wndproc): Add handler for WM_SOURCE.
823
        (v850ice_wait): Call the ui_loop_hook occasionally.
824
        (ice_cont): Acknowledge message before doing anything.
825
        (ice_stepi): Ack message and let gdbtk do stepping.
826
        (ice_nexti): Ack message and let gdbtk do stepping.
827
        (view_source): New function ICE calls to display source code.
828
 
829
1998-09-18  Keith Seitz  
830
 
831
        * gdbtk-cmds.c (get_frame_name): Demangle function names, too.
832
 
833
Thu Sep 10 22:10:29  1998 Jim Ingham 
834
 
835
        *gdbtk-cmds.c (gdb_disassemble): Make sure the symtab's linetable is not
836
        null before trying to use it...
837
 
838
1998-09-02  Keith Seitz  
839
 
840
        * gdbtk-cmds.c (gdb_cmd): Do not run the timer when downloading --
841
        the ui_progress_hook that has been installed will actually
842
        update the gui for us.
843
 
844
Mon Aug 31 15:42:10 1998  Tom Tromey  
845
 
846
        * gdbtk-hooks.c (context_hook): Don't define.
847
 
848
1998-08-31  Keith Seitz  
849
 
850
        * gdbtk-cmds.c (gdb_listfuncs): When stripping out "global destructors"
851
        and "global constructors", do not append any elements to the result.
852
 
853
Sun Aug 30 00:49:18 1998  Martin M. Hunt  
854
 
855
        * gdbtk-cmds.c (Gdbtk_Init): Link C variable gdb_context
856
        with tcl variable gdb_context_id.
857
 
858
        * gdbtk-hooks.c (gdbtk_context_change): Implement new hook called
859
        context_hook.  Called when threads change.
860
 
861
        * gdbtk.c: Initialize gdb_context.
862
 
863
        * gdbtk.h: Declare gdb_context.
864
 
865
        * infrun (wait_for_inferior): Call context_hook.
866
 
867
        * thread.c (thread_command): Call context_hook.
868
 
869
        * defs.h: Declare context_hook.
870
 
871
Fri Aug 28 12:14:49 1998  Martin M. Hunt  
872
 
873
        * gdbtk-cmds.c (gdb_loadfile): Open the file after doing
874
        the symtab lookup and calling symtab_to_filename(). This
875
        makes GDBtk work with the GDB "dir" command.
876
 
877
1998-08-18  Keith Seitz  
878
 
879
        * gdbtk-hooks.c (gdbtk_add_hooks): Set selected_frame_level_changed_hook.
880
        (gdbtk_selected_frame_changed): New function.
881
 
882
        * gdbtk-cmds.c (Gdbtk_Init): Add command gdb_stack into interpreter.
883
        Link gdb's global selected_frame_level with interpreter global
884
        gdb_selected_frame_level.
885
        (gdb_stack): New function to faciltate speedier backtraces from
886
        gdbtk.
887
        (get_frame_name): New helper function for gdb_stack.
888
 
889
Tue Aug 18 15:42:40 1998  Martin M. Hunt  
890
 
891
        * gdbtk-cmds.c (gdb_listfuncs): Strip out global constructors
892
        and destructors from the function list.
893
 
894
Thu Aug 13 15:09:59 1998  Drew Moseley  
895
 
896
        * gdbtk.c (gdbtk_cleanup): added a scope-level around the contents
897
        of the #ifdef so that the variable declarations in there would not
898
        be illegal in a C compilation.
899
 
900
Mon Jul 27 13:07:16 1998  Martin M. Hunt  
901
 
902
        * gdbtk.c (gdbtk_call_command): Removed because it is now
903
        in gdbtk-hooks.c
904
        (null_routine): Removed.
905
 
906
        * gdbtk-hooks.c (tracepoint_notify): Fix sprintf to
907
        match number of arguments.
908
 
909
        * gdbtk-cmds.c (gdb_loc): When calling gdb_loc with an
910
        argument, call find_pc_line() to get a complete
911
        symtab_and_line struct.
912
 
913
Fri Jul 24 14:25:43 1998  Keith Seitz  
914
 
915
        * gdbtk-cmds.c (gdb_search): Add missing NULL to switches.
916
        Add missing flags to result_ptr.
917
        Pass along any errors caused by getting the list of files from
918
        tcl.
919
        Allocate correct amount of memory for the file list.
920
        Don't do any unecessary cleanups.
921
 
922
Fri Jul 24 01:08:37 1998  Martin M. Hunt  
923
 
924
        * gdbtk-cmds.c (gdb_loadfile): When there are no
925
        linenumbers, use only one tab.
926
 
927
Sat Jul 18 12:28:39 1998  Martin M. Hunt  
928
 
929
        * gdbtk.c (gdbtk_cleanup): Add call to tcl function
930
        gdbtk_cleanup. We need this so the GUI gets to clean
931
        up no matter how GDB exits.
932
 
933
Wed Jul  1 13:10:58 1998  Jim Ingham   
934
 
935
        * Moved gdbtk_hooks.c & gdbtk_cmds.c to gdbtk-hooks.c &
936
        gdbtk-cmds.c to comply with the gdb conventions.  Changed the
937
        configure & makefile to reflect the change...
938
 
939
Wed Jul  1 11:07:21 1998  Jim Ingham   
940
 
941
        * gdbtk.c: removed all the commands and hooks from this file so
942
        now it contains only the startup code.
943
        * gdbtk.c (gdbtk_init): Fixed a bug in the startup code on Windows
944
        that caused gdbtk not to find the share directory unless
945
        GDBTK_LIBRARY was set.
946
        * gdbtk_cmds.c: New file - this contains all the Tcl commands that
947
        gdb defines.  All the old commands were moved here, the
948
        string-based commands were converted to object commands, and the
949
        object-based commands were all converted to uniformly use the
950
        call_wrapper.  A new function, Gdbtk_Init was added to centralize
951
        initializing the gdb package.
952
        * gdbtk_hooks.c: New file - All the hooks were moved here, and a new
953
        function, gdbtk_add_hooks was added to centralize adding all these
954
        hook functions.  gdbtk_fputs was also modified to handle the new
955
        result_ptr structure.  See the comments in gdbtk.h for more
956
        details.
957
        * gdbtk.h: New file - this contains all the defines and globals
958
        shared by gdbtk.c, gdbtk_cmds.c & gdbtk_hooks.c
959
        * Makefile.in, configure.in & configure: mutatis mutandi for the
960
        new files.
961
 
962
 
963
Mon Jun 29 11:49:17 1998  Keith Seitz  
964
 
965
        * main.c (main): Don't include gdbtk test code if GDBTK is
966
        not defined by configure.
967
 
968
        * configure.in: When enabling gdbtk, add "-DGDBTK" to ENABLE_CFLAGS.
969
 
970
        * configure: Regenerate.
971
 
972
Fri Jun 26 13:56:07 1998  Keith Seitz  
973
 
974
        * gdbtk.c: Change all references to static global "interp" to
975
        "gdbtk_interp" and export this global.
976
        (gdbtk_init): If gdbtk_source_filename is not NULL, source this file
977
        into the interpreter when it goes idle.
978
        Add new command "gdb_search".
979
        (gdb_search): New function which searches the symbol table.
980
        (gdbtk_test): New function called by main when the --tclcommand
981
        option is used.
982
 
983
        * main.c (main): Add a new option "--tclcommand" which is used
984
        by the testsuite to source a file into the interpreter when it
985
        goes idle.
986
 
987
Sun Jun 21 09:31:12 1998  Ron Unrau  (runrau@cygnus.com)
988
 
989
        * gdbtk.c (gdb_set_bp): Use new interface.
990
 
991
Wed Jun 17 19:12:23 1998  Jeff Holcomb  
992
 
993
        * Makefile.in (install-only): Install tracing help files.
994
 
995
Mon Jun 15 13:18:21 1998  Jim Ingham 
996
 
997
        * gdbtk.c (gdbtk_init): Add elements to the auto_path AS LIST
998
        ELEMENTS.  This allows gdbtk to work when installed in a directory
999
        which has a space in the path.  D. Moseley pointed out the bug.
1000
 
1001
 
1002
Tue Jun  9 14:10:46 1998  Keith Seitz  
1003
 
1004
        * gdbtk.c (gdb_get_vars_command): Return static variables and
1005
        variables stored in registers.
1006
 
1007
        * main.c (main): Call pre/post_add_symbol_hook's when loading
1008
        executables and symbol files.
1009
 
1010
Fri Jun  5 00:16:22 1998  Martin M. Hunt  
1011
 
1012
        * gdbtk.c (gdbtk_init): Change all references to
1013
        GDBTK_IDE to IDE_ENABLED.
1014
 
1015
Thu Jun  4 18:31:53 1998  Martin M. Hunt  
1016
 
1017
        * gdbtk.c (gdbtk_init): Initialize tkTable.
1018
 
1019
Thu Jun  4 10:15:03 1998  Elena Zannoni  
1020
 
1021
        * gdbtk.c: merged:
1022
 
1023
        - Elena Zannoni  
1024
        (call_obj_wrapper): in case of error, copy the
1025
        error message from the result to the error_string.
1026
        (gdbtk_fputs): add comments.
1027
        (gdb_actions_command): call validate_actionline when installing the
1028
        tracepoint, to do the syntax checking of the actions for us.
1029
        - Elena Zannoni  
1030
        (gdb_get_trace_frame_num): new function to get the
1031
        trace frame number from gdb.
1032
        (gdbtk_init): added new command gdb_get_trace_frame_num.
1033
        - Jim Blandy  
1034
        (struct wrapped_call_objs): Change the `func' member to
1035
        be a Tcl_ObjCmdProc, not an Tcl_CmdProc, since it accepts a vector
1036
        of objects as arguments.  Change the object vector to be const,
1037
        since that's what all the users of this structure seem to expect.
1038
        (call_obj_wrapper): Cast clientData properly before storing it in
1039
        the wrapped_args structure.
1040
 
1041
Thu May 28 17:19:14 1998  Keith Seitz  
1042
 
1043
        * gdbtk.c (_initialize_gdbtk): Get rid of the console. Patch from
1044
        Chris Faylor (cgf@cygnus.com).
1045
 
1046
        * configure.in: Link cygwin32 with subsystem console.
1047
 
1048
        * configure: Regenerated
1049
 
1050
Sun May 24 14:00:24 1998  Keith Seitz  
1051
 
1052
        * ser-unix.c (wait_for): Do not reset timeout_remaining for cygwin32 so that
1053
        we can use this member to track real timeouts.
1054
        (hardwire_readchar): Modify for cygwin32 so that we only ever use a real
1055
        system timeout of one second. Track the "real" timeout as a series of these
1056
        one second timeouts.
1057
        Call ui_loop_hook to keep the gui alive.
1058
 
1059
        * top.c: Define new hook for cygwin32, "ui_loop_hook".
1060
 
1061
        * gdbtk.c (gdbtk_init): Add ui_loop_hook for CygWin32 to work around
1062
        update problems.
1063
 
1064
Thu May 21 13:56:24 1998  Elena Zannoni  
1065
 
1066
        * gdbtk.c: reinserted the changes that were accidentally deleted:
1067
        (_initialize_gdbtk): Use correct device names in
1068
        cygwin-specific call (cosmetic change).
1069
        (gdbtk_ignorable_warning): removed va_list parameter,
1070
        which was unused.
1071
        (_initialize_gdbtk): add cygwin32 specific code to
1072
        allow `gdb -nw' to work when specified specified from a windows
1073
        console-mode command line.
1074
 
1075
1998-05-19  Jim Blandy  
1076
 
1077
        * gdbtk.c (struct wrapped_call_objs): Change the `func' member to
1078
        be a Tcl_ObjCmdProc, not an Tcl_CmdProc, since it accepts a vector
1079
        of objects as arguments.  Change the object vector to be const,
1080
        since that's what all the users of this structure seem to expect.
1081
        (call_obj_wrapper): Cast clientData properly before storing it in
1082
        the wrapped_args structure.
1083
 
1084
Wed May 13 11:12:58 1998  James Ingham  
1085
 
1086
        * gdbtk.c: Fixed a goof in the definition of the gdb_get_args &
1087
        gdb_get_locals Tcl commands.  Moved the previous ChangeLog entry
1088
        from ChangeLog to ChangeLog-gdbtk (here)...
1089
 
1090
Tue May 12 13:29:20 1998  Jeff Holcomb  
1091
 
1092
        * Makefile.in (install-only): Add images/icons.txt and
1093
        images2/icons.txt to files that need to be installed.
1094
 
1095
Tue May 12 12:03:16 1998  James Ingham  
1096
 
1097
        * gdbtk.c: Add an object call wrapper for the new Tcl_Obj based
1098
        commands.  This way the obj commands will also go through
1099
        catch_errors.  This is just a bandaid while I rewrite the
1100
        string-based commands to use the object format.
1101
 
1102
Tue May  5 09:30:25 1998  Christopher Faylor 
1103
 
1104
        * gdbtk.c (_initialize_gdbtk): Use correct device names in
1105
        cygwin-specific call (cosmetic change).
1106
 
1107
Wed Apr 29 15:53:16 1998  Elena Zannoni  
1108
 
1109
        * gdbtk.c (gdbtk_ignorable_warning): removed va_list parameter,
1110
        which was unused.
1111
 
1112
Tue Apr 28 19:41:33 1998  Tom Tromey  
1113
 
1114
        * Makefile.in (GDBTKLIBS): New macro.
1115
        (INSTALLED_LIBS): Include GDBTKLIBS.
1116
        (CLIBS): Likewise.
1117
        * configure: Rebuilt.
1118
        * configure.in: Put Tcl/Tk libs into GDBTKLIBS, not LIBS.
1119
        (GDBTKLIBS): AC_SUBST.
1120
 
1121
Thu Apr 23 19:01:05 1998  Keith Seitz  
1122
 
1123
        * Makefile.in (install-only): Install help files.
1124
 
1125
Wed Apr 22 21:17:35 1998  Christopher Faylor 
1126
 
1127
        * gdbtk.c (_initialize_gdbtk): add cygwin32 specific code to
1128
        allow `gdb -nw' to work when specified specified from a windows
1129
        console-mode command line.
1130
 
1131
Wed Apr 15 11:23:53 1998  Stan Shebs  
1132
 
1133
        * gdbtcl: Remove directory and contents, this version of
1134
        the interface is obsolete.
1135
 
1136
Mon Apr 13 16:17:52 1998  Martin M. Hunt  
1137
 
1138
        * gdbtk.c (gdb_loadfile): Change fstat() call to stat().
1139
        Needed because you can't convert a FILE* to an fd.
1140
 
1141
Mon Apr 13 16:28:07 1998  Elena Zannoni  
1142
 
1143
        * gdbtk.c: (perror_with_name_wrapper) new function to call
1144
        perror_with_name safely.
1145
        (gdb_loadfile) added source vs. executable time stamp check.
1146
        (gdbtk_warning) new function to pass a warning message to the gui.
1147
        (gdbtk_ignorable_warning) new function to pass a warning
1148
        to the gui. Used only for the src. vs. exec check.
1149
        (gdbtk_init) added warning_hook
1150
        added include 
1151
 
1152
Mon Apr 13 12:58:26 1998  Keith Seitz  
1153
 
1154
        * gdbtk.c (gdbtk_start_timer): Include on all platforms. Decrease
1155
        timer interval a little.
1156
        (gdbtk_stop_timer): Include on all platforms.
1157
        (gdbtk_wait): No more signals! Use a timer on all platforms to keep the
1158
        GUI alive.
1159
        (gdbtk_init): Remove FIOASYNC and all x_fd references. Now using timers
1160
        on all platforms.
1161
 
1162
Fri Apr 10 15:48:10 1998  Jason Molenda  (crash@bugshack.cygnus.com)
1163
 
1164
        * gdbtk.c (gdb_listfiles): Allocate space for 'files' dynamically.
1165
 
1166
Thu Apr  9 14:20:59 1998  Martin M. Hunt  
1167
 
1168
        * gdbtk.c (gdbtk_init): Remove redundant variable "IDE".
1169
 
1170
Tue Apr  7 15:13:58 1998  Stan Shebs  
1171
 
1172
        * gdbtk.tcl: Remove, no longer used.
1173
 
1174
Tue Apr  7 12:49:45 1998  Keith Seitz  
1175
 
1176
        * gdbtk.c (gdb_cmd): NEVER call the busy, update, and idle hooks.
1177
 
1178
Tue Mar 31 15:42:06 1998  Keith Seitz  
1179
 
1180
        * gdbtk.c (gdb_loadfile): Don't use the return result from
1181
        sprintf, which returns a char * under SunOS4.
1182
 
1183
Tue Mar 31 17:18:43 1998  Ian Lance Taylor  
1184
 
1185
        * configure.in: Add $(LIBIDETCL) as well as $(LIBIDE) if
1186
        --enable-ide.
1187
        * Makefile.in (IDE_CFLAGS_X): Add -I for libidetcl/src.
1188
        (LIBIDETCL): Define.
1189
        * configure: Rebuild.
1190
 
1191
Sun Mar 29 21:19:46 1998  Keith Seitz  
1192
 
1193
        * gdbtk.c (gdb_get_tracepoint_info): Change formatting of address.
1194
        (tracepoint_exists): Remove code which confuses assembly traces.
1195
 
1196
Sat Mar 28 12:13:23 1998  Keith Seitz  
1197
 
1198
        * gdbtk.c (gdb_cmd): If argc > 2, assume that the busy and idle hooks
1199
        should not be called.
1200
 
1201
Thu Mar 26 22:29:28 1998  Elena Zannoni  
1202
 
1203
        * gdbtk.c: (gdb_trace_status) new function.
1204
        (gdbtk_init) added command "gdb_is_tracing".
1205
        (tracepoint_notify) added passcount information.
1206
 
1207
Thu Mar 26 12:00:35 1998  Martin M. Hunt  
1208
 
1209
        * gdbtk.c (gdbtk_fputs): Insert fencepost.
1210
        (gdb_loc): Correct pc calculation.
1211
        (gdb_immediate_command): Return if a load is in progress.
1212
        (gdb_cmd): Return if a load is in progress.
1213
        (target_stop_wrapper): New function.
1214
        (gdb_stop): Call target_stop_wrapper.
1215
        (x_event): Add fencepost and optimize load cancel check.
1216
        (gdbtk_start_timer): Set up structs only once.
1217
        (gdbtk_stop_timer): Just use preset structs to set timer parameters.
1218
        (gdb_loadfile): If file cannot be loaded, return error message.
1219
        (gdb_loadfile): Add space before tab so that lines without
1220
        a '-' can later be changed to have one.
1221
 
1222
Wed Mar 25 14:08:51 1998  Elena Zannoni  
1223
 
1224
        * gdbtk.c (gdbtk_pre_add_symbol): Use Tcl_merge to form Tcl commands.
1225
 
1226
Mon Mar 23 13:41:39 1998  Elena Zannoni  
1227
 
1228
        * gdbtk.c (gdb_get_mem): Rewrite to fetch entire contents
1229
        of the memory window at once.
1230
 
1231
Sat Mar 21 19:34:49 1998  Elena Zannoni  
1232
 
1233
        Merged changes from Foundry: list follows by author:
1234
 
1235
        - Tom Tromey  
1236
 
1237
        * Makefile.in (gdbres.o): New target.
1238
        (WINDRES): New define.
1239
        * configure: Rebuilt.
1240
        * configure.in (WINDRES): Define.
1241
        (CONFIG_OBS): Include gdbres.o on Windows.
1242
        * gdbtool.ico: New file.
1243
        * gdb.rc: New file.
1244
        * gdbtk.c (gdbtk_init): Call ide_create_messagebox_command.
1245
        (gdbtk_cleanup): Call ide_interface_deregister_all.
1246
        (gdbtk_init): Pass event handle to cleanup.
1247
        (TclDebug): Use Tcl_Merge to construct command.
1248
        (gdbtk_init): Call ide_create_cygwin_path_command.
1249
 
1250
        - Martin M. Hunt  
1251
 
1252
        * gdbtk.c (gdb_set_bp): Set addr_string for bp.
1253
        (gdb_get_breakpoint_info): Demangle function
1254
        names in breakpoint info.
1255
        Include "demangle.h".
1256
        (gdb_loc, gdb_listfuncs): Demangle C++
1257
        function names.
1258
        (gdb_set_bp): Properly quote filename to fix
1259
        problems with spaces. Send pc back as a hex string.
1260
        (gdb_listfuncs): Remove debugging line.
1261
         Turn off some debugging lines.
1262
        (breakpoint_notify): Return correct line number.
1263
        (gdb_get_breakpoint_info): Return correct line number.
1264
        (gdb_set_bp): New function to provide a better way to
1265
        set breakpoints.
1266
        (gdbtk_readline, gdbtk_readline_begin): Memory
1267
        allocated by tcl needs to be freed by Tcl_Free().
1268
        (find_file_in_dir): Deleted.
1269
        (gdb_find_file_command): Call full_lookup_symtab().
1270
        (gdb_listfuncs): Call full_lookup_symtab().
1271
        (full_lookup_symtab): New function.  Like lookup_symtab
1272
        except handles multiple files with the same basename,
1273
        full pathnames, and always sets symtab->fullname.
1274
        (gdb_loadfile): Call full_lookup_symtab(). Clear
1275
        realloc'd memory.
1276
        (gdb_loadfile):  Don't tag lines without source.
1277
        Tag source lines with source_tag.
1278
        (gdb_find_file_command, find_file_in_dir):
1279
        Rewrite.  Now searches symtabs and psymtabs for a match
1280
        on the partial or full filename.  Returns the full pathname.
1281
        (gdb_loadfile): Realloc additional memory
1282
        if someone loads in a file with more than 160,000
1283
        lines.  I don't know if this really works because
1284
        I don't have enough memory to test it.
1285
        (gdb_sourcelines): Deleted.
1286
        (gdb_loadfile): New function. Takes a text widget
1287
        and loads it with the contents of a file.  Marks
1288
        and tags source lines.
1289
        (pc_changed): New function.
1290
        (get_pc_register): Returns the value of
1291
        the PC to GDB.
1292
        (gdb_loc): If looking on the stack, return
1293
        real pc along with calling source line.
1294
        (gdb_loc): Return "" instead of "N/A" if
1295
        filename is not found.
1296
        (gdb_get_breakpoint_info): Same.
1297
        (get_register): For Natural mode, set format to 0.
1298
         Minor bugfixes from keiths.
1299
        (TclDebug): New function for debugging use.
1300
        (gdb_loc): Return correct PC for frames
1301
        that are not the innermost frame.
1302
        (gdb_listfiles): Rewritten to use object
1303
        API.  Now takes an optional dirname which will cause
1304
        only files in that directory or its subdirectories
1305
        to be returned.  Now returns basenames instead of
1306
        full pathnames.
1307
        (gdb_cmd): Set/reset load_in_progress flag.
1308
        (call_wrapper): Don't pop up dialog for errors in
1309
        downloads; just abort download.
1310
        (gdbtk_load_hash): Set return value correctly.
1311
 
1312
        -  Keith Seitz  
1313
 
1314
        * gdbtk.c (gdbtk_init): Define the ui_loop_hook so that it can be
1315
        called by routines which might block, allowing us to update the GUI.
1316
        (gdbtk_wait): Move timer calls to annotation hooks.
1317
        (gdbtk_init): Define the annotation hooks.
1318
        (gdbtk_annotate_starting): New function for cygwin32 hosts.
1319
        (gdbtk_annotate_stopped): New function for cygwin32 hosts.
1320
        (gdbtk_annotate_exited): New function for cygwin32 hosts.
1321
        (gdbtk_annotate_signalled): New function. for cygwin32 hosts.
1322
        (gdbtk_init): Use gdbtk_print_frame_info hook.
1323
        (gdbtk_print_frame_info): New function which sets current_source_symtab
1324
        based on the given symtab and line info.
1325
        (gdb_immediate_command): New function which does
1326
        not buffer any
1327
        output. (Contrast to gdb_cmd.)
1328
        (gdb_prompt_command): New function to return gdb's prompt.
1329
        (find_file_in_dir): New functon which searches source paths
1330
        for a given filename.
1331
        (gdb_find_file): New function which returns path to given file -- uses
1332
        find_file_in_dir.
1333
        (gdbtk_init): Install "gdb_immediate", "gdb_find_file", and
1334
        "gdb_prompt"
1335
        commands into interpreter.
1336
 
1337
        -  Ian Lance Taylor  
1338
 
1339
        * gdbtk.c (gdbtk_timer_going): If __CYGWIN32__, new static
1340
        variable.
1341
        (gdb_cmd): If __CYGWIN32__, if executing the load command, call
1342
        gdbtk_start_timer and gdbtk_stop_timer.
1343
        (call_wrapper): If __CYGWIN32__, if the timer is going, turn it
1344
        off.  Clear load_in_progress.
1345
        (x_event): If load_in_progress, quit if download_cancel_ok.
1346
        (gdbtk_start_timer): Set gdbtk_timer_going.
1347
        (gdbtk_stop_timer): Clear gdbtk_timer_going.
1348
        (gdbtk_wait): Call x_event.
1349
        (gdbtk_init): Call ide_create_win_grab_command if
1350
        __CYGIN32__.
1351
        (gdb_clear_file): Clear stop_pc.
1352
 
1353
Wed Mar  4 16:50:18 1998  Jason Molenda  (crash@bugshack.cygnus.com)
1354
 
1355
        * gdbtk.c (gdb_listfiles): Fix thinko in last change.
1356
 
1357
Wed Mar  4 15:34:49 1998  Jason Molenda  (crash@bugshack.cygnus.com)
1358
 
1359
        * gdbtk.c (gdb_listfiles): Allocate space for 'files' dynamically.
1360
 
1361
Tue Feb 10 17:50:37 1998  Keith Seitz  
1362
 
1363
        * gdbtk.c (gdbtk_modify_tracepoint): Define new tracepoint modification hook.
1364
        (gdbtk_print_frame_info): Define this hook so that current_source_symtab
1365
        is set properly.
1366
        (gdb_actions_command): Use free_actions () from tracepoint.c/h.
1367
 
1368
Mon Jan 26 11:37:55 1998  Keith Seitz  
1369
 
1370
        * gdbtk.c (gdb_actions_command): Make note of next action
1371
        before freeing all references to it.
1372
 
1373
Sat Jan 24 23:52:08 1998  Martin M. Hunt  
1374
 
1375
        * gdbtk.c: Merge from Foundry branch.
1376
        (TclDebug): New debugging function.
1377
        (gdb_loc): For frames, find address of calling function
1378
        instead of whatever is on the stack (usually the next
1379
        instruction).
1380
        (gdb_listfiles): Takes an optional pathname argument and
1381
        returns an alphabetized list of basenames of files in the
1382
        path.
1383
 
1384
Wed Jan 22  10:37:02 1998  Keith Seitz  
1385
 
1386
        * symfile.c: Define two new hooks for symbol reading:
1387
        "pre_add_symbol_hook" and "post_add_symbol_hook". These hooks
1388
        are called before we begin reading symbols, and after we finish.
1389
        (generic_load): Use new symbol reading hooks and get rid of
1390
        compiler warning.
1391
 
1392
        * gdbtk.c (gdbtk_init): Add hooks for pre- and post-symbol reading.
1393
        (gdbtk_pre_add_symbol): New function: the pre-add-symbol hook.
1394
        (gdbtk_post_add_symbol): New function: the post-add-symbol hook.
1395
        (find_file_in_dir): New function. Moved the guts of gdb_find_file_command
1396
        into here to allow its use by others.
1397
        (gdb_loc): Use find_file_in_dir to return the real path to the file
1398
        (or "N/A" if we can't find it).
1399
 
1400
        * configure.in (TIX_LIB_EXT): Define new variable for those special cases
1401
        when TCL_SHLIB_SUFFIX is not enough to specify the dependency.
1402
 
1403
        * configure: Regenerate.
1404
 
1405
Fri Jan 23 07:47:06 1998  Fred Fish  
1406
 
1407
        * Makefile.in (uninstall): Remove installed gdbtcl dir, if one
1408
        was installed.
1409
 
1410
Thu Jan 15 12:42:28 1998  Keith Seitz  
1411
 
1412
        * gdbtk.c (gdb_immediate_command): New function which does not buffer any
1413
        output. (Contrast to gdb_cmd.)
1414
        (gdbtk_init): Install "gdb_immediate" command into interpreter.
1415
 
1416
Wed Jan 14 16:38:44 1998  Keith Seitz  
1417
 
1418
        * configure.in (--enable-gdbtk): If tcl was built with --enable-shared,
1419
        use TCL_SHLIB_SUFFIX to specify the suffix of the library file so that
1420
        we don't expect to see "libfoo.a" instead of "libfoo.{so,sl, etc}".
1421
 
1422
        * configure: Regenerate.
1423
 
1424
Wed Dec 31 16:50:26 1998  Keith Seitz  (keiths@onions.cygnus.com)
1425
 
1426
        * gdbtk.c (gdb_actions_command): extract and save step count
1427
        from "while-stepping" command
1428
 
1429
Tue Dec 16 21:16:42 1997  Ian Lance Taylor  
1430
 
1431
        * Makefile.in (LIBGUI): New variable.
1432
        (GUI_CFLAGS_X): New variable.
1433
        (IDE_CFLAGS): Add $(GUI_CFLAGS_X).
1434
        * configure.in: Add $(LIBGUI) to TCL_LIBS and CONFIG_DEPS.
1435
        * configure: Rebuild.
1436
 
1437
Wed Dec  10 13:16:45 1997  Keith Seitz  
1438
 
1439
        * gdbtk.c (gdb_get_tracepoint_info): Use info in struct
1440
        symtab_and_line (not struct tracepoint) so that we get the
1441
        real line info for an address. Arrange data more like
1442
        gdb_get_breakpoint_info.
1443
        (tracepoint_notify): Use info in struct symtab_and_line again.
1444
        (gdbtk_init): Add command "gdb_get_tracepoint_list" into
1445
        interpreter.
1446
        (gdb_get_tracepoint_list): New function that aids the source
1447
        window in displaying tracepoints when the file changes.
1448
 
1449
Fri Dec  5 10:31:23 1997  Keith Seitz  
1450
 
1451
        * gdbtk.c (gdbtk_init): Add gdb_find_file into interpreter.
1452
        (gdb_find_file_command): New function which searches source path
1453
        to find the real full filename of a file.
1454
 
1455
Mon Dec  1 10:19:44 1997  Keith Seitz  
1456
 
1457
        * gdbtk.c: Move include of "guitcl.h" back out of IDE ifdef.
1458
        (gdbtk_init): Move ide_initialize_paths out of IDE ifdef.
1459
 
1460
        * configure.in (TCL_LIBS, CONFIG_DEPS): Add IDE libraries for all
1461
        builds.
1462
        (CONFIG_OBS): Remove tracepoint.o, which should always be included.
1463
 
1464
        * configure: regenerate
1465
 
1466
        * Makefile.in (install-only): ALWAYS install the new gdbtk
1467
        (REMOTE_OBS): add tracepoint.o
1468
 
1469
Thu Nov 27 09:07:18 1997  Michael Meissner  
1470
 
1471
        * configure.in ({TCL_LIBS,CONFIG_DEPS}): Don't add IDE libraries
1472
        if not --enable-ide.
1473
        (CONFIG_OBS): Add tracepoint.o to list if --enable-gdbtk.
1474
        * configure: Regenerate.
1475
 
1476
        * gdbtk.c (gdb_get_breakpoint_info): Add missing filename
1477
        argument.
1478
        (toplevel): Move include of guitcl.h into #ifdef IDE region.
1479
        (gdbtk_init): Move ide_initialize_paths call into #ifdef IDE
1480
        section.
1481
 
1482
        * Makefile.in (gdbtk.o): Update dependencies.
1483
 
1484
Wed Nov 26 15:02:43 1997  Keith Seitz  
1485
 
1486
        * gdbtk.c (gdb_loc): symtab_to_filename can return NULL.
1487
        (breakpoint_notify): Ditto.
1488
        (gdb_get_breakpoint_info): Ditto.
1489
 
1490
Wed Nov 26 11:33:09 1997  Keith Seitz  
1491
 
1492
        Merge in code from Foundry branch:
1493
 
1494
        * Makefile.in (install-only): install the new gdbtk, not the old
1495
 
1496
        * gdbtk.c (gdbtk_call_command): also run idle hooks for class_trace
1497
        commands
1498
        (gdbtk_init): Add new commands "gdb_get_locals", "gdb_get_args",
1499
        "gdb_get_function", "gdb_get_line", "gdb_get_file",
1500
        "gdb_tracepoint_exists", "gdb_get_tracepoint_info", "gdb_actions",
1501
        and "gdb_prompt".
1502
        (gdb_get_vars_command): New function.
1503
        (gdb_get_line_command): New.
1504
        (gdb_get_file_command): New.
1505
        (gdb_get_function_command): New.
1506
        (gdb_get_tracepoint_info): New.
1507
        (gdbtk_create_tracepoint): New.
1508
        (gdbtk_delete_tracepoint): New.
1509
        (tracepoint_notify): New.
1510
        (tracepoint_exists): New.
1511
        (gdb_actions_command): New.
1512
        (gdb_tracepoint_exists_command): New.
1513
        (gdb_prompt_command): New.
1514
 
1515
Thu Nov 13 18:15:54 1997  Ian Lance Taylor  
1516
 
1517
        * gdbtk.c: Move include of gdbcore.h to top of file.
1518
        (close_bfds): New static function if _WIN32.
1519
        (gdbtk_readline): Call close_bfds.
1520
        (call_wrapper, tk_command_loop): Likewise.
1521
        (gdb_clear_file): New static function.
1522
        (gdbtk_init): Create gdb_clear_file Tcl command.
1523
 
1524
Wed Nov 12 14:58:39 1997  Jeff Holcomb  
1525
 
1526
        * gdbtk.c: gdbtk_load_hash and ui_load_progress_hook return an
1527
        int result.
1528
        (gdbtk_load_hash): download hash routine returns an int result.
1529
 
1530
Mon Nov 10 15:11:51 1997  Ian Lance Taylor  
1531
 
1532
        * gdbtk.c (gdbtk_init): Call ide_create_shell_execute_command if
1533
        __CYGWIN32__.
1534
        * configure.in: Add -lshell32 to WIN32LIBS on cygwin32.
1535
        * configure: Rebuild.
1536
 
1537
Sun Nov  9 16:25:34 1997  Tom Tromey  
1538
 
1539
        * gdbtk.c (gdbtk_init): Run ide_create_help_command.
1540
 
1541
Tue Oct 28 17:31:47 1997  Martin M. Hunt  
1542
 
1543
        * gdbtk.c (gdbtk_init): Call ide_create_winprint_command.
1544
 
1545
Thu Oct 23 15:53:37 1997  Ian Lance Taylor  
1546
 
1547
        * configure.in: Add -lgdi32 to WIN32LIBS when linking gdbtk on
1548
        cygwin32.
1549
        * configure: Rebuild.
1550
 
1551
Wed Oct 22 21:32:54 1997  Martin M. Hunt  
1552
 
1553
        * gdbtk.c (gdbtk_init): Create sizebox command on Windows.
1554
 
1555
Thu Oct  9 14:33:21 1997  Ian Lance Taylor  
1556
 
1557
        * gdbtk.c (gdbtk_init): Remove assertion argument from call to
1558
        ide_create_window_register_command.
1559
 
1560
Wed Oct  1 11:09:52 1997  Tom Tromey  
1561
 
1562
        * gdbtk.c (gdbtk_init): Pass name of restore interface to
1563
        ide_create_window_register_command.
1564
 
1565
Fri Sep 26 21:08:22 1997  Keith Seitz  
1566
 
1567
        * gdbtk.c (gdbtk_init): Initialize ui_load_progress_hook.
1568
 
1569
Thu Sep 25 03:05:00 1997  Martin M. Hunt  
1570
 
1571
        * gdbtk.c (gdb_load_info): New function.  Returns a list
1572
        of section names and sizes for an executable.
1573
        (gdbtk_load_hash): Stub function to call tcl function
1574
        download_hash.
1575
 
1576
Tue Sep 23 01:29:00 1997  Martin M. Hunt  
1577
 
1578
        * gdbtk.c (gdb_get_mem): Fix compiler warning.
1579
 
1580
Sun Sep 21 00:15:00 1997  Martin M. Hunt  
1581
 
1582
        * gdbtk.c (gdb_get_mem): Fix problem with ASCII dump.
1583
 
1584
Tue Sep 16 18:07:17 1997  Martin M. Hunt  
1585
 
1586
        * gdbtk.c (gdb_get_mem): New function.  Returns
1587
        a formatted memory dump with optional ASCII dump.
1588
 
1589
Mon Sep  8 12:48:50 1997  Ian Lance Taylor  
1590
 
1591
        * gdbtk.c: Include ilutk.h if IDE.
1592
        (gdb_confirm_quit, gdb_force_quit): New static functions.
1593
        (gdbtk_init): Add Tcl commands gdb_confirm_quit and
1594
        gdb_force_quit.
1595
 
1596
Mon Sep  8 03:05:33 1997  Martin M. Hunt  
1597
 
1598
        * gdbtk.c (gdb_get_breakpoint_info): Now returns the
1599
        function a breakpoint is in.
1600
 
1601
Fri Sep  5 20:23:58 1997  Ian Lance Taylor  
1602
 
1603
        * gdbtk.c (gdbtk_init): Call ide_create_exit_command.
1604
 
1605
Wed Sep  3 19:39:15 1997  Ian Lance Taylor  
1606
 
1607
        * gdbtk.c: Include guitcl.h.
1608
        (gdbtk_init): Always call ide_initialize_paths.  Set the Tcl
1609
        variable IDE to 1 when using the IDE.  Always try using auto path
1610
        to find main.tcl.
1611
        * Makefile.in (IDE_CFLAGS_X): Always include libide.
1612
        (LIBIDE): New variable.
1613
        (IDE_X): Omit -lide.
1614
        (IDE_DEPS): Omit libide.
1615
        * configure.in: Add LIBIDE to TCL_LIBS and CONFIG_DEPS.
1616
        * configure: Rebuild.
1617
 
1618
Mon Aug 25 02:28:55 1997  Keith Seitz  
1619
 
1620
        * gdbtk.c: (gdb_target_has_inferior) check if inferior_pid is non-zero
1621
        before assuming that the inferior is running.
1622
 
1623
Mon Aug 25 01:06:48 1997  Ian Lance Taylor  
1624
 
1625
        * gdbtk.c (gdbtk_start_timer): Pass third argument to setitimer.
1626
        (gdbtk_stop_timer): Likewise.
1627
 
1628
Mon Aug 25 00:23:08 1997  Keith Seitz  
1629
 
1630
        * gdbtk.c: (gdbtk_init) create new command "gdb_target_has_execution"
1631
        (gdb_target_has_execution_command) new function
1632
 
1633
Sun Aug 24 20:27:22 1997  Ian Lance Taylor  
1634
 
1635
        * gdbtk.c (gdb_loc): If there are no symbols, just bail
1636
        immediately.
1637
        (tk_command_loop): Print errors encountered while running
1638
        gdbtk_tcl_preloop.
1639
 
1640
Sun Aug 24 13:44:03 1997  Tom Tromey  
1641
 
1642
        * gdbtk.c (gdbtk_init): Run ide_create_build_command.
1643
 
1644
Sat Aug 23 21:53:39 1997  Ian Lance Taylor  
1645
 
1646
        * gdbtk.c: If CYGWIN32, include .
1647
        (x_fd): Don't define if WINNT.
1648
        (gdbtk_start_timer, gdbtk_stop_timer): New static functions if
1649
        CYGWIN32.
1650
        (gdbtk_wait): Don't set up signal handling if WINNT.  If CYGWIN32,
1651
        call gdbtk_start_timer and gdbtk_stop_timer.
1652
        (gdbtk_init): Don't set up signal handling or make x_fd
1653
        asynchronous if CYGWIN32.
1654
 
1655
Fri Aug 22 15:23:15 1997  Ian Lance Taylor  
1656
 
1657
        * gdbtk.c (error_string_ptr): New static variable.
1658
        (gdbtk_fputs): If result_ptr is NULL, and error_string_ptr is not
1659
        NULL, and we're outputting to stderr, append string to
1660
        error_string_ptr rather than calling gdbtk_tcl_fputs.
1661
        (call_wrapper): Set up error_string_ptr.  Put both error string
1662
        and normal string in Tcl result.
1663
 
1664
        * gdbtk.c (gdbtk_init): Don't call ide_run_server_init until after
1665
        gdb has initialized.
1666
 
1667
Thu Aug 21 19:14:38 1997  Ian Lance Taylor  
1668
 
1669
        * gdbtk.c: If _WIN32, include winuser.h.
1670
        (gdbtk_init): If _WIN32, use MessageBox to display an error
1671
        evaluating main.tcl.
1672
 
1673
Thu Aug 21 00:48:00 1997  Martin M. Hunt  
1674
 
1675
        * gdbtk.c (gdbtk_init): Add call to ide_run_server_init().
1676
        (gdb_cmd): For the load command, don't buffer the I/O.
1677
 
1678
Wed Aug 20 11:41:22 1997  Martin M. Hunt  
1679
 
1680
        * gdbtk.c (gdbtk_query): Chaneg free() call to Tcl_Free().
1681
 
1682
Tue Aug 19 17:09:19 1997  Ian Lance Taylor  
1683
 
1684
        * Makefile.in (TCL_DEPS, TK_DEPS): New variables.
1685
        (ITCL_DEPS, TIX_DEPS): New variables.
1686
        (IDE_DEPS): New variable.
1687
        (CDEPS): Include @CONFIG_DEPS@.
1688
        * configure.in: Set and substitute CONFIG_DEPS and TIX_DEPS.
1689
        * configure: Rebuild.
1690
 
1691
Sun Aug 17 00:42:11 1997  Martin M. Hunt  
1692
 
1693
        * gdbtk.c (gdb_listfuncs): New function that returns
1694
        a list of all the functions in a source file.
1695
 
1696
Tue Aug 12 16:35:21 1997  Ian Lance Taylor  
1697
 
1698
        * Makefile.in (install-only): Install tclIndex if ENABLE_IDE.
1699
 
1700
Mon Aug 11 10:43:04 1997  Tom Tromey  
1701
 
1702
        * gdbtk.c (gdbtk_init): Use ide_event_init_from_environment.
1703
 
1704
Fri Aug  8 15:59:24 1997  Ian Lance Taylor  
1705
 
1706
        * gdbtk.c (gdbtk_init): Change gdbtk_lib_tmp and gdbtk_file to be
1707
        dynamically allocated, rather than fixed size.  Pass "gdbtcl" to
1708
        ide_initialize_paths to match installed directory name.  If IDE,
1709
        use auto_path to search for main.tcl.
1710
        * Makefile.in (install-only): If ENABLE_IDE, install from gdbtcl2
1711
        rather than gdbtcl.
1712
 
1713
        * gdbtk.c (gdbtk_cleanup): New static function.
1714
        (gdbtk_init): Add gdbtk_cleanup as a final cleanup.  Uncomment
1715
        call to ide_initialize_paths.  If we can't initialize the event
1716
        system, set GDBTK_IDE to 0 in the Tcl interpreter.  Create the
1717
        ide_window_register and the ide_window commands.  Initialize tk,
1718
        itcl, and tix after initializing the IDE.
1719
 
1720
        * configure.in (tixdir): Update for cygwin32 case for Tcl 8.0.
1721
        * configure: Rebuild.
1722
 
1723
Fri Aug  8 00:13:32 1997  Martin M. Hunt  
1724
 
1725
        * gdbtk.c (breakpoint_notify): Change buffer size from 100
1726
        to 256 to avoid memory corruption with very long pathnames.
1727
 
1728
Thu Aug  7 14:08:23 1997  Martin M. Hunt  
1729
 
1730
        * configure.in: Change required Tix version to 4.1.8.0 .
1731
        * configure: Rebuilt.
1732
 
1733
Fri Aug  1 15:21:44 1997  Ian Lance Taylor  
1734
 
1735
        * gdbtk.c (Tcl_Alloc): Don't provide our own version of this if
1736
        _WIN32.
1737
        (Tcl_Realloc, Tcl_Free): Likewise.
1738
        * configure.in: Check for cygwin32 environment.  Define and
1739
        substitute WIN32LIBS and WIN32LDAPP.  Always set configdir to
1740
        unix; setting it to win was for an old Tcl/Tk configuration
1741
        scheme.
1742
        * aclocal.m4 (CY_AC_LOAD_TKCONFIG): Substitute TK_BUILD_INCLUDES.
1743
        * Makefile.in (TK_CFLAGS): Add @TK_BUILD_INCLUDES@.
1744
        (WIN32LDAPP, WIN32LIBS): Define.
1745
        (CLIBS): Add $(WIN32LIBS).
1746
        (gdb): Use $(WIN32LDAPP).
1747
        * configure: Rebuild.
1748
 
1749
Tue Jul 22 19:45:37 1997  Martin M. Hunt  
1750
 
1751
        * configure.in, aclocal.m4: Another fix to find the
1752
        correct Tix library name.
1753
 
1754
        * configure: Rebuilt.
1755
 
1756
Mon Jul 21 22:24:07 1997  Martin M. Hunt  
1757
 
1758
        * aclocal.m4: Search for the correct tix library.
1759
 
1760
Thu Jul 10 00:02:41 1997  Martin M. Hunt  
1761
 
1762
        * Makefile.in, configure.in, aclocal.m4: Add Itcl, Tix, and
1763
        IDE configuration information.
1764
 
1765
        * gdbtk.c (breakpoint_notify): Send address, linenumber and
1766
        filename when a breakpoint is set.  Avoids call to bp_info.
1767
        (gdbtk_init): Call Tcl_FindExecutable(). Add code to handle
1768
        Itcl, Tix and IDE initialization.
1769
 
1770
        * configure: Regenerated.
1771
 
1772
Fri Jun 13 10:28:09 1997  Fred Fish  
1773
 
1774
        * gdbtk.c (gdbtk_init): Make truth value test explicit.
1775
        Remove unused static variable "Gdbtk_Library".
1776
 
1777
Sat Jun  7 02:34:19 1997  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
1778
 
1779
        * gdbtk.c (gdb_get_breakpoint_info):  Add string for new
1780
        enumeration del_at_next_stop to bpdisp array.
1781
 
1782
Tue Jun  3 15:46:51 1997  Tom Tromey  
1783
 
1784
        * Makefile.in (LIB_RUNTIME_DIR): New variable.
1785
 
1786
Wed May  7 19:10:19 1997  Andrew Cagney  
1787
 
1788
        * gdbtk.c (wrapped_call): New function - make actual call to tk
1789
        worker function.
1790
        (call_wrapper): Rewrite to use top.c:catch_errors.
1791
 
1792
        * gdbtk.c (gdb_stop): If No target_stop set quit flag and hope for
1793
        best.
1794
 
1795
Mon Apr 21 14:00:08 1997  Doug Evans  
1796
 
1797
        * gdbtk.c (gdb_disassemble): Store endian-ness in `di'.
1798
 
1799
Wed Apr 16 12:33:06 1997  Andrew Cagney  
1800
 
1801
        * Makefile.in (install-only): Make list of gdbtcl files to install
1802
        explicit - was picking up files such as ChangeLog etc.
1803
        (install-only): Don't blindly create the directory.
1804
 
1805
Tue Apr  1 15:04:21 1997  Jason Molenda  (crash@godzilla.cygnus.co.jp)
1806
 
1807
        * configure.in (gdbtcl): Create soft-link for gdbtcl/ directory
1808
        instead of gdbtk.tcl.
1809
 
1810
Fri Mar 28 17:04:02 1997  Jason Molenda  (crash@godzilla.cygnus.co.jp)
1811
 
1812
        * Makefile.in (gdbtk.o): look for GDBTK_LIBRARY in $(datadir) by
1813
        default, not $(srcdir).
1814
 
1815
Wed Mar 19 15:16:17 1997  Martin M. Hunt  
1816
 
1817
        * Makefile.in:  Install gdbtcl dir instead of gdbtk.tcl.
1818
 
1819
        * gdbtk.c: Added some ifdefs for Windows.  Changed GDBTK_FILENAME
1820
        to GDBTK_LIBRARY, which is now a path to search.
1821
        (gdb_path_conv): New function.  Convert Cygwin32 pathname to
1822
        DOS-style pathname.
1823
 
1824
        * {aclocal.m4,configure.in}: Changes for Windows builds.
1825
 
1826
        * configure: Rebuilt.
1827
 
1828
Fri Mar 14 10:01:29 1997  Tom Tromey  
1829
 
1830
        * configure: Regenerated.
1831
        * configure.in (LIBS): Re-reverse order of TCL_LIBS and TK_LIBS.
1832
 
1833
Wed Mar 12 14:29:52 1997  Tom Tromey  
1834
 
1835
        * gdbtk.c (x_event): Use Tcl_DoOneEvent, TCL_DONT_WAIT,
1836
        TCL_ALL_EVENTS.
1837
 
1838
        * configure: Regenerated.
1839
        * configure.in (ENABLE_GDBTK): Put TCL_LIBS after TK_LIBS in
1840
        LIBS.
1841
 
1842
Mon Feb 10 13:50:53 1997  Stu Grossman  (grossman@critters.cygnus.com)
1843
 
1844
        * gdbtk.c (call_wrapper):  Clear running_now if an error occurs.
1845
 
1846
Wed Dec 11 18:51:35 1996  Mark Alexander  
1847
 
1848
        * gdbtk.c (gdb_loc): Correct truncation of PC on 64-bit MIPS.
1849
 
1850
Tue Nov 19 09:26:14 1996  Tom Tromey  
1851
 
1852
        * gdbtk.c (gdbtk_readline): Fix memory leak.
1853
 
1854
Mon Nov 18 23:43:05 1996  Tom Tromey  
1855
 
1856
        Fixes for Tcl 7.6 / Tk 4.2:
1857
        * gdbtk.tcl (apply_filespec): Use tk_getOpenFile.
1858
        Remove old fileselect code.
1859
        * gdbtk.c (Tcl_Alloc): Rename from Tcl_Malloc.
1860
 
1861
Fri Sep 27 10:25:30 1996  Fred Fish  
1862
 
1863
        * gdbtk.tcl (create_copyright_window): Increase timeout from
1864
        15 seconds to 30 seconds.
1865
 
1866
Wed Sep  4 17:28:40 1996  Stu Grossman  (grossman@critters.cygnus.com)
1867
 
1868
        * configure configure.in:  Add host *windows* to list of hosts
1869
        that don't support GDBtk.
1870
 
1871
Fri Aug 23 00:44:57 1996  Fred Fish  
1872
 
1873
        * gdbtk.c (gdbtk_init): Check for a DISPLAY env variable and
1874
        gracefully degrade to using command line interface if none is
1875
        found.
1876
 
1877
Fri Aug  9 12:32:53 1996  Tom Tromey  
1878
 
1879
        * Makefile.in (LIB_INSTALL_DIR): New macro.
1880
        (TCL): Include @TCL_LD_SEARCH_FLAGS@.
1881
 
1882
Thu Aug  1 20:35:01 1996  Tom Tromey  
1883
 
1884
        * gdbtk.c (mainWindow): Deleted.
1885
        (cleanup_init): Don't destroy main window.
1886
        (gdbtk_init): Main window now created by Tk_Init.
1887
 
1888
        * configure.in: Most X checks now handled automatically by Tk.
1889
        Use new macros to find Tcl/Tk.
1890
        * aclocal.m4: New version for new Tcl/Tk; from Don Libes.
1891
        * config.in, configure: Regenerated.
1892
 
1893
        * Makefile.in (TCL, TCL_CFLAGS, TK, TK_CFLAGS, X11_CFLAGS,
1894
        X11_LDFLAGS, X11_LIBS): Changed for new Tcl and Tk.
1895
 
1896
Thu Aug  1 16:12:05 1996  Jason Molenda  (crash@godzilla.cygnus.co.jp)
1897
 
1898
        * Makefile.in (gdbtk.tcl): put in $(datadir), not $(libdir).
1899
 
1900
Fri Jul 26 14:07:37 1996  Ian Lance Taylor  
1901
 
1902
        * gdbtk.c (gdb_disassemble): Initialize di.flavour.
1903
 
1904
Thu Jul 25 19:41:31 1996  Fred Fish  
1905
 
1906
        * gdbtk.c (null_routine): Ditto.
1907
        (gdbtk_flush): Ditto.
1908
        (gdbtk_fputs): Ditto.
1909
        (gdbtk_query): Ditto.
1910
        (gdbtk_readline): Ditto.
1911
        (gdbtk_readline_end): Ditto.
1912
        (gdb_get_breakpoint_list): Ditto.
1913
        (gdb_get_breakpoint_info): Ditto.
1914
        (breakpoint_notify): Ditto.
1915
        (gdbtk_create_breakpoint): Ditto.
1916
        (gdbtk_delete_breakpoint): Ditto.
1917
        (gdbtk_modify_breakpoint): Ditto.
1918
        (gdb_loc): Ditto.
1919
        (gdb_eval): Ditto.
1920
        (gdb_sourcelines): Ditto.
1921
        (map_arg_registers): Ditto.
1922
        (get_register_name): Ditto.
1923
        (gdb_regnames): Ditto.
1924
        (get_register): Ditto.
1925
        (gdb_fetch_registers): Ditto.
1926
        (register_changed_p): Ditto.
1927
        (gdb_changed_register_list): Ditto.
1928
        (gdb_cmd): Ditto.
1929
        (call_wrapper): Ditto.
1930
        (gdb_listfiles): Ditto.
1931
        (gdb_stop): Ditto.
1932
        (gdbtk_dis_asm_read_memory): Ditto.
1933
        (compare_lines): Ditto.
1934
        (gdb_disassemble): Ditto.
1935
        (tk_command): Ditto.
1936
        (cleanup_init): Ditto.
1937
        (gdbtk_interactive): Ditto.
1938
        (x_event): Ditto.
1939
        (gdbtk_wait): Ditto.
1940
        (gdbtk_call_command): Ditto.
1941
        (tk_command_loop): Ditto.
1942
        (gdbtk_init): Ditto.
1943
 
1944
        * gdbtk.c (register_changed_p): Remove unused local variable "buf".
1945
 
1946
Sat Jul 20 17:46:40 1996  Fred Fish  
1947
 
1948
        * gdbtk.tcl (files_command): Reorder the binding tags for
1949
        the listbox widget to avoid referencing the listbox after
1950
        the containing widget has been destroyed by the action of
1951
        a previous binding.
1952
 
1953
Sat Jul 20 10:09:28 1996  Fred Fish  
1954
 
1955
        * gdbtk.tcl (delete_expr): Unset corresponding element of
1956
        expr_update_list when destroying an expression.
1957
        (create_expr_window): Initialize expr_num, delete_expr_num,
1958
        and expr_update_list here when each new expression window
1959
        is created, rather than once at startup.
1960
 
1961
Mon Jul 15 16:44:05 1996  Stu Grossman  (grossman@critters.cygnus.com)
1962
 
1963
        * gdbtk.c (gdb_disassemble):  Setup di.mach from
1964
        tm_print_insn_info.mach, and set endian from TARGET_BYTE_ORDER.
1965
 
1966
Fri Jun 21 11:04:47 1996  Fred Fish  
1967
 
1968
        * gdbtk.tcl (create_register_windows): Include missing '$'s.
1969
        Add global declarations for various reg_format_* variables.
1970
        * gdbtk.tcl (populate_register_window): Make initial window one
1971
        line taller to account for new column header line.
1972
 
1973
Fri Jun 21 09:46:47 1996  Fred Fish  
1974
 
1975
        * gdbtk.c (get_register): Support for printing raw formats.
1976
        * gdbtk.tcl: Add hint for using debug_interface.
1977
        (center_window, add_breakpoint_frame, delete_breakpoint_frame):
1978
        Enclose arg in braces for consistency.
1979
        (create_registers_window, populate_reg_window, update_registers):
1980
        Major rewrite to support displaying multiple formats in the register
1981
        window.
1982
        (init_reg_info): New function.
1983
        (recompute_reg_display_list):  Reset reg_display_list, start
1984
        register display lines at line 2.
1985
 
1986
Thu Jun 20 08:18:59 1996  Fred Fish  
1987
 
1988
        * gdbtk.tcl (gdbtk_tcl_readline_begin): Handle backspace to
1989
        avoid backing up over prompt.  At every input, make sure insert
1990
        point is at least after command start, handle control-u to delete
1991
        current input line.
1992
        (tclsh): Handle backspace to avoid backing up over prompt.  Handle
1993
        control-u to delete current input line.
1994
 
1995
Wed Jun 19 17:23:38 1996  Geoffrey Noer  
1996
 
1997
        * configure.in: disable gdbtk for *cygwin32* hosted compiles
1998
        * configure: regenerated with autoconf 2.8
1999
 
2000
Sun May 19 16:49:37 1996  Fred Fish  
2001
 
2002
        * gdbtk.c (gdbtk_readline_begin, gdbtk_readline, gdbtk_readline_end):
2003
        New functions.
2004
        (tk_command_loop): Set instream to NULL to enable Tk user interaction.
2005
        (gdbtk_init): Set readline_begin_hook, readline_hook,
2006
        and readline_end_hook.
2007
        * gdbtk.tcl (gdbtk_tcl_readline_begin, gdbtk_tcl_readline,
2008
        gdbtk_tcl_readline_end): New functions.
2009
        (tclsh): Pack scroll bar on right side of window, not left.
2010
 
2011
Fri May 17 13:54:34 1996  Fred Fish  
2012
 
2013
        * gdbtk.tcl (create_command_window): Change a misspelled "get"
2014
        to the intended "cget".
2015
        (delete_line): Fix so it deletes the current line at the
2016
        insertion cursor.
2017
 
2018
Thu May 16 19:20:29 1996  Fred Fish  
2019
 
2020
        * gdbtk.tcl (gdb_prompt): Set this early on.
2021
        (create_command_window): Use gdb_prompt rather than "(gdb) ".
2022
        (gdbtk_tcl_preloop): Proc executed just prior to Tk main loop.
2023
        (tclsh): If an evaluation window already exists, just bring it
2024
        to the front instead of trying to create another.
2025
        * gdbtk.c (tk_command_loop): New function.
2026
        (gdbtk_init): Call tk_command_loop rather than Tk_MainLoop.
2027
 
2028
Thu May 16 16:16:35 1996  Fred Fish  
2029
 
2030
        * gdbtk.tcl (evaluate_tcl_command, tclsh):  New functions that
2031
        implement a tcl evaluation window for gdbtk maintainers to use.
2032
 
2033
Thu May 16 11:42:58 1996  Tom Tromey  
2034
 
2035
        * gdbtk.tcl (files_command): Correctly insert list of files into
2036
        listbox widget.
2037
 
2038
        * gdbtk.tcl (files_command): listbox command no longer accepts
2039
        -geometry.
2040
 
2041
Wed May 15 16:04:09 1996  Stan Shebs  
2042
 
2043
        * gdbtk.tcl (create_command_window): If command window's buffer
2044
        is disabled, don't execute any of the key bindings.
2045
 
2046
Mon May 13 13:43:25 1996  Fred Fish  
2047
 
2048
        * gdbtk.c (tk_command): Catch case where no argument is given
2049
        since this will cause the tcl interpreter to dump core.
2050
 
2051
Wed May  8 20:33:24 1996  Fred Fish  
2052
 
2053
        * gdbtk.c: Fix a couple of misspellings.
2054
 
2055
Thu May  2 19:17:49 1996  Stan Shebs  
2056
 
2057
        * gdbtk.tcl (debug_interface): New global, use to aid debugging.
2058
        (insert_breakpoint_tag, delete_breakpoint_tag): Fix range.
2059
        (file_popup_menu): Delete, never used.
2060
        (listing_window_popup): Rename from listing_window_button_1,
2061
        remove breakpoint toggling code.
2062
        (toggle_breakpoint): New procedure.
2063
        (create_file_win): Bind popup menu to button 2, toggle breakpoints
2064
        with button 1 in breakpoint area, add display of tagged areas if
2065
        debugging on.
2066
 
2067
Fri Apr  5 13:44:40 1996  Stan Shebs  
2068
 
2069
        * gdbtk.c (running_now): New global variable.
2070
        (gdb_cmd): Test it before executing any command.
2071
        (gdbtk_call_command): Set it when inferior is running.
2072
        * gdbtk.tcl (gdbtk_tcl_busy, gdbtk_tcl_idle): Enable and
2073
        disable interaction with command window's text appropriately.
2074
 
2075
Fri Apr  5 13:25:42 1996  Michael Meissner  
2076
 
2077
        * gdbtk.c (SIOCSPGRP, linux): If on Linux, undef SIOCSPGRP, since
2078
        some versions of the kernel don't support it.
2079
 
2080
Tue Feb  6 16:31:25 1996  Tom Tromey  
2081
 
2082
        * gdbtk.tcl (create_file_win): Eliminate text widget B1 binding so
2083
        double-clicking will work again.
2084
        (create_asm_win): Put "break" at end of all B1 bindings.
2085
        (create_file_win): Lower "sel" tag, don't raise it.
2086
        (ensure_line_visible): New proc.
2087
        (update_listing, update_assembly): Use it.
2088
        (create_copyright_window): Destroy window on Leave event.
2089
        (create_command_window): Put "break" at end of all B2 bindings.
2090
 
2091
Wed Jan 24 15:28:41 1996  Tom Tromey  
2092
 
2093
        * gdbtk.tcl, gdbtk.c: Updated copyrights.
2094
 
2095
        * configure.in: Look for -ldl or -ldld when using Tcl 7.5 or
2096
        greater.
2097
        * configure: Rebuilt.
2098
 
2099
Tue Jan 23 09:00:48 1996  Doug Evans  
2100
 
2101
        * gdbtk.c (gdb_disassemble): Pass fprintf_unfiltered to
2102
        INIT_DISASSEMBLE_INFO.
2103
 
2104
Mon Jan 15 09:58:41 1996  Tom Tromey  
2105
 
2106
        * gdbtk.tcl (create_expr_window): Many changes to update GUI.
2107
        (add_expr): Changes from create_expr_window.
2108
        (create_command_window): Set focus.
2109
        (delete_expr): Rewrote.
2110
        (expr_update_button): New proc.
2111
        (add_expr): Put bindings on FocusIn, FocusOut.
2112
        Don't allow .file_popup to be torn off.
2113
 
2114
Fri Jan 12 09:36:17 1996  Tom Tromey  
2115
 
2116
        * gdbtk.tcl (gdbtk_tcl_query): Swap Yes and No buttons.
2117
        (update_listing): Use lassign.  Use "see" to scroll.  Don't need
2118
        screen_top, screen_bot, screen_height.
2119
        (update_assembly): Use "see" to scroll.
2120
        (textscrollproc): Removed.
2121
        (create_file_win): Don't use textscrollproc.
2122
        (asmscrollproc): Removed.
2123
        (create_asm_window): Don't use asmscrollproc.
2124
        (create_asm_win): Ditto.
2125
        (screen_height, screen_top, screen_bot): Removed.
2126
        (run_editor): New proc.
2127
        (build_framework): Use it.
2128
        (create_file_win, create_source_window): Don't use textscrollproc.
2129
        (create_breakpoints_window): Set -xscrollcommand on canvas.
2130
        (not_implemented_yet): Default button is 0.
2131
        (delete_char): Don't use tk_textBackspace.
2132
        (create_command_window): Allow Tk bindings to fire after deleting
2133
        character.
2134
        (create_command_window): Make Delete delete left, not right.
2135
 
2136
Thu Jan 11 10:08:14 1996  Tom Tromey  
2137
 
2138
        * gdbtk.tcl (FSBox): Don't use tk_listboxSingleSelect.
2139
 
2140
        Changes in sync with expect:
2141
        * configure.in (ENABLE_GDBTK): Use CY_AC_PATH_TCL and
2142
        CY_AC_PATH_TK.
2143
        * aclocal.m4: Replaced with version from expect.
2144
        * configure: Regenerated.
2145
 
2146
Wed Jan 10 09:07:22 1996  Tom Tromey  
2147
 
2148
        * gdbtk.tcl (gdbtk_tcl_fputs, gdbtk_tcl_fputs_error,
2149
        gdbtk_tcl_flush): Use "see", not "yview".
2150
        (gdbtk_tcl_query): Use questhead bitmap.
2151
        various: Always wrap condition of 'if' in {...}.
2152
        (add_breakpoint_frame): Set -value on radiobuttons.
2153
        (lassign): New proc.
2154
        (add_breakpoint_frame): Use lassign, not series of assignments.
2155
        (decr): Made faster.
2156
        (interactive_cmd): Use "see", not "yview".
2157
        (not_implemented_yet): Use warning bitmap.
2158
        (update_expr): Don't allow $expr to be evalled by Tcl.
2159
        (create_expr_window): Don't use "focus".
2160
        (delete_char, delete_line): Define globally.
2161
        (delete_line, delete_char, create_command_window, update_autocmd,
2162
        build_framework, create_asm_win, create_file_win): Use "see", not
2163
        "yview".
2164
        (create_copyright_window, center_window, bind_widget_after_class):
2165
        New procs.
2166
        (FSBox,create_command_window, create_autocmd_window): Binding
2167
        changes for Tk4.
2168
        (textscrollproc): Define globally.
2169
        (build_framework): tk_menuBar no longer needed.  Keys Prior, Next,
2170
        Home, End, Up, and Down are all defined by Tk.
2171
        (apply_filespec): Use error bitmap in dialog.
2172
        (files_command): Don't use tk_listboxSingleSelect.
2173
        (files_command): Don't use "uniq" to remove duplicates from a
2174
        list.
2175
        (update_assembly): Use lassign.
2176
        (create_asm_win): Removed redundant bindings.
2177
        (listing_window_button_1, file_popup_menu): Use tk_popup.
2178
        (ButtonRelease-1 binding): Just remove tag from window; rest
2179
        handled by Tk.
2180
 
2181
        * gdbtk.c (gdbtk_query): Use Tcl_Merge to provide quoting.
2182
        (call_wrapper): Use Tcl_Eval, not Tcl_VarEval.
2183
        (gdbtk_call_command): Ditto.
2184
 
2185
Thu Jan  4 16:04:54 1996  Stu Grossman  (grossman@cygnus.com)
2186
 
2187
        * configure configure.in:  Make --enable-gdbtk be the default.
2188
 
2189
Thu Dec 28 15:10:49 1995  Stan Shebs  
2190
 
2191
        * README.GDBTK: Polish introductory paragraph.
2192
 
2193
Mon Oct 16 11:27:06 1995  Stu Grossman  (grossman@cygnus.com)
2194
 
2195
        * gdbtk.c (gdb_disassemble):  Use fprintf_unfiltered instead of
2196
        fprintf_filtered.
2197
 
2198
Tue Oct 10 15:26:39 1995  Fred Fish  
2199
 
2200
        * README.GDBTK: Updated for version 4.15.
2201
 
2202
Sat Aug 19 17:20:22 1995  Michael Tiemann  
2203
 
2204
        * gdbtk.tcl: ENABLE comes back as "1" or "0", not "enable" or
2205
        "disable".
2206
        Also, wire up the breakpoint window so that it can be demo'd.
2207
 
2208
Tue Aug  1 11:44:53 1995  J.T. Conklin  
2209
 
2210
        * gdbtk.c: Include "gdb_string.h" instead of .
2211
 
2212
Tue Jun 20 10:19:40 1995  Stu Grossman  (grossman@cygnus.com)
2213
 
2214
        * gdbtk.c:  Add functions Tcl_Malloc, Tcl_Realloc, and Tcl_Free.
2215
 
2216
        * gdbtk.tcl (add_breakpoint_frame):  Add more fields.
2217
        * (create_file_win create_asm_win build_framework):  Create null
2218
        bindings for meta keys to keep window from dropping down to
2219
        insertion point when meta is pressed by itself.  New bindings:
2220
           Up/Down - Scroll up/down one line at a time
2221
           Next/Prior - Scroll up/down one page at a time
2222
           Home/End - Warp to current pc/end of file
2223
        * (build_framework):  Turn on breakpoint menu.
2224
        * (create_command_window):  Implement tab completion.  Add binding
2225
        for ^C to stop target.
2226
 
2227
Fri May 19 06:15:40 1995  Jim Kingdon  
2228
 
2229
        * gdbtk.c: Conditionalize use of stdarg rather than varargs on
2230
        ANSI_PROTOTYPES not __STDC__; it must match the definition of
2231
        PARAMS.
2232
 
2233
Thu May 18 15:58:46 1995  J.T. Conklin  
2234
 
2235
        * gdbtk.c (gdbtk_query): Use stdarg.h macros when compiling with
2236
        an ANSI compiler.
2237
 
2238
Sat Apr 15 13:52:24 1995  Stan Shebs  
2239
 
2240
        * gdbtk.c (gdb_disassemble): Read from inferior if connected
2241
        to a VxWorks target.
2242
 
2243
Fri Apr 14 10:18:20 1995  Stu Grossman  (grossman@cygnus.com)
2244
 
2245
        * README.GDBTK:  New file.  Contains the obvious.
2246
 
2247
Tue Apr 11 11:07:12 1995  Michael Meissner  
2248
 
2249
        * gdbtk.c (gdbtk_init): If SIOCSPGRP is not available, but
2250
        F_SETOWN is, use that.
2251
 
2252
Thu Apr  6 17:00:46 1995  Michael Meissner  
2253
 
2254
        * Makefile.in (X11_INCLUDES): Define as empty.
2255
        (X11_CFLAGS): Define as including $(X11_INCLUDES).
2256
        (X11_LIB_SWITCHES): Define as empty.
2257
        (X11_LIBS): Define as -lX11.
2258
 
2259
        * configure.in (enable_gdbtk): If gdbtk, support the --x-includes
2260
        and --x-libraries switches, setting the X11_INCLUDES and
2261
        X11_LIB_SWITCHES respectively.  Instead of using a hardcoded -lX11
2262
        in ENABLE_CLIBS, use the X11_LIB_SWITCHES and X11_LIBS variables.
2263
 
2264
        * gdbtk.c (gdbtk_init): If SIOCSPGRP is not available, don't use
2265
        it.  This means that the stop button doesn't work, but is better
2266
        than nothing.
2267
 
2268
Wed Mar 29 17:09:29 1995  Stu Grossman  (grossman@cygnus.com)
2269
 
2270
        * Makefile.in (gdbtk.o):  Use X11_CFLAGS to provide alternate
2271
        locations (per-host) for X11 include files.
2272
        * config/pa/hppahpux.mh (XM_CLIBS):  Add -L/usr/lib/X11R5 to force
2273
        the use of R5 libs.
2274
        (X11_CFLAGS):  Add this to indicate the locs
2275
        of the R5 include files.
2276
 
2277
Wed Mar  8 16:12:21 1995  Stu Grossman  (grossman@cygnus.com)
2278
 
2279
        * gdbtk.c (gdb_get_breakpoint_info):  Return error if breakpoint
2280
        type is not bp_breakpoint.
2281
 
2282
Tue Feb 14 17:16:41 1995  Stu Grossman  (grossman@cygnus.com)
2283
 
2284
        * gdbtk.c: Ditto.
2285
        * gdbtk.c: General cleanups, get rid of unused variables.  Redo
2286
        handling of stdout/stderr to just return output as the result of
2287
        the tcl command that caused the output.  Cleanup -Wall stuff.
2288
        * (breakpoint_notify):  Now returns just action and breakpoint
2289
        number.
2290
        * (gdb_get_breakpoint_list):  New routine.  Does the obvious.
2291
        * (gdb_get_breakpoint_info):  Mostly derived from the old
2292
        breakpoint_notify, but returns lots more info.
2293
        * (dsprintf_append_element):  Helper routine, works like printf,
2294
        but appends a tcl element onto the specified DString.  Good for
2295
        building up lists as return values.
2296
        * (gdbtk_enable/disable_breakpoint):  Go away.  Replaced with
2297
        gdbtk_modify_breakpoint.
2298
        * (*many routines*):  Use new result protocol.
2299
        * (call_wrapper):  Make sure that recursive calls don't trash results.
2300
        * gdbtk.tcl:  New windows, autocmd, and breakpoints.
2301
        * (gdbtk_tcl_fputs):  Don't use $current_output_win redirection
2302
        anymore.  It's not needed (in fact, this routine may not be needed
2303
        anymore).
2304
        * (gdbtk_tcl_breakpoint):  Change to reflect new breakpoint
2305
        notification protocol.
2306
        * (gdbtk_tcl_busy gdbtk_tcl_idle):  Straighten out buttons, remove
2307
        catches.
2308
        * (interactive_cmd):  Use this wrapper around button invocations
2309
        of many commands.  This will catch errors and put the results into
2310
        the command window.  It also updates all the other windows.
2311
        * Also, change reliefs of most things to sunken.  This actually
2312
        looks better.
2313
        * (create_file_win):  Fix margin binding to allow breakpoints to
2314
        work again.
2315
        * (create_asm_win):  Use return value of gdb_disassemble instead
2316
        of implicit I/O to the command window.
2317
        * (create_command_window):  Use new result protocol to get output
2318
        from commands.
2319
 
2320
Sun Feb  5 20:32:44 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
2321
 
2322
        * gdbtk.c (gdb_disassemble): Deference pointer to function before
2323
        calling it (pre-ANSI compilers generally require this).
2324
 
2325
Fri Feb  3 11:19:20 1995  Stu Grossman  (grossman@cygnus.com)
2326
 
2327
        * gdbtk.c (gdb_disassemble): Get rid of
2328
        dis_asm_read_memory_hook.  We can now call the disassemblers
2329
        directly and have no need for this hook anymore.
2330
 
2331
Mon Jan 30 17:34:24 1995  Stu Grossman  (grossman@cygnus.com)
2332
 
2333
        * gdbtk.tcl (create_file_win):  Disable old popup menu for source
2334
        window.
2335
 
2336
Wed Jan 25 18:23:46 1995  Stu Grossman  (grossman@cygnus.com)
2337
 
2338
        * gdbtk.c (gdbtk_init):  Prevent segfault when gdbtk.tcl can't be
2339
        found.
2340
        * gdbtk.tcl:  Initialize expr_update_list() to prevent errors when
2341
        popping up expression window for the first time.
2342
 
2343
Tue Jan 24 12:10:28 1995  Stu Grossman  (grossman@cygnus.com)
2344
 
2345
        * gdbtk.tcl (create_registers_window):  Work around a radiobutton
2346
        widget bug to make Options|Natural button work.
2347
 
2348
        * gdbtk.c (gdb_disassemble):  Fix problem with source+assembly and
2349
        g++ caused by out-of-order pc's.
2350
        * gdbtk.tcl (files_command):  Remove duplicate file names.  Also,
2351
        add scrollbar.
2352
 
2353
Mon Jan 23 17:21:09 1995  Stu Grossman  (grossman@cygnus.com)
2354
 
2355
        * gdbtk.tcl:  Take .gdbtkinit if it exists.  Makes gdbtk match the
2356
        doc!
2357
 
2358
Thu Jan 12 15:02:40 1995  Stu Grossman  (grossman@cygnus.com)
2359
 
2360
        * gdbtk.c, gdbtk.tcl:  Update/add copyright.
2361
        * gdbtk.tcl (build_framework):  Several fixes for filespec widget,
2362
        including dismiss button, and better error handling.
2363
        * (create_command_win):  Bind button 2 to retrieve selection.
2364
 
2365
Wed Jan 11 17:06:55 1995  Stu Grossman  (grossman@cygnus.com)
2366
 
2367
        * gdbtk.tcl:  Add button to control mixed source disassembly.
2368
        Use text widgets in expr window.  The give me more control over
2369
        layout.
2370
        Add auto-updating of exprs in expression window.
2371
        Handle expressions out of scope a bit better.
2372
        Make selected window pop up to the top when invoked via the
2373
        menubar.
2374
        Make copyright message have raised relief.
2375
 
2376
        * gdbtk.c (gdbtk_init):  Improve handling for errors in gdbtk.tcl
2377
        during startup.
2378
 
2379
Thu Jan  5 17:38:29 1995  Stu Grossman  (grossman@cygnus.com)
2380
 
2381
        * gdbtk.c (finish_saving_output):  Don't do anything if not saving
2382
        output.
2383
        * (breakpoint_notify):  Don't send null filename to tcl.
2384
        * (gdb_eval):  New tcl command to eval an expression.
2385
        * (gdb_disassemble):  New tcl command to do disassembly.  This
2386
        allows tcl code to choose between exec file and target memeory,
2387
        and can also do mixed source and assembly.
2388
        * (gdbtk_init):  Move reading of gdbtk.tcl to the end to make sure
2389
        that more of the environment is set up.  Also, create link between
2390
        gdb and tcl vars disassemble{-_}from{-_}exec.
2391
 
2392
        * gdbtk.tcl:  New expression window support.
2393
        * Make assembly window be 80 columns wide.
2394
        * Use new disassembly method.  Add menu items to select
2395
        disassembly from exec file or target.
2396
        * Change View menubar item to Options.
2397
 
2398
        * Get rid of Stack, Breakpoints, Signals, and Variables Windows,
2399
        since they don't exist yet.
2400
 
2401
        * Pop up a copyright window on startup.
2402
 
2403
Wed Jan  4 19:49:10 1995  Stan Shebs  
2404
 
2405
        * gdbtk.tcl (build_framework): Add standard commands menu, more
2406
        windows to standard windows menu.
2407
        (not_implemented_yet): Clarify message.
2408
 
2409
Fri Dec 30 15:49:00 1994  Stan Shebs  
2410
 
2411
        * gdbtk.tcl (FSBox): New proc, File Selection Box code from exmh.
2412
        (not_implemented_yet): New proc.
2413
        (build_framework): Add various file commands to file menu.
2414
 
2415
Fri Dec 23 16:18:50 1994  Stu Grossman  (grossman@cygnus.com)
2416
 
2417
        * gdbtk.c (gdbtk_wait gdbtk_init):  Portability improvements for
2418
        SIGIO handling.
2419
 
2420
Mon Dec 19 09:55:47 1994  Stu Grossman  (grossman@cygnus.com)
2421
 
2422
        * gdbtk.tcl (update_assembly):  Force update to make sure that pc
2423
        is visible when creating new assembly windows.
2424
 
2425
Sun Dec 18 23:31:20 1994  Stu Grossman  (grossman@cygnus.com)
2426
 
2427
        * gdbtk.c (gdbtk_wait gdbtk_init):  Use different method of
2428
        enabling I/O interrupts for SVR4 (streams).
2429
        * (start_saving_output save_output get_saved_output
2430
        finish_saving_output flush_holdbuf gdbtk_flush gdbtk_fputs
2431
        gdbtk_init):
2432
        Totally revamp to use TCLs dynamic string functions.  Also, quote
2433
        all data passed back to TCL to prevent errors with unmatched
2434
        braces, odd characters, etc...  This fixes several wierd problems
2435
        with outputting strings containing unmatched braces.
2436
        * (breakpoint_notify gdb_loc):  Use long hex format to output
2437
        addresses of breakpoints and PCs.  This fixes some Alpha problems.
2438
        * (breakpoint_notify):  Add stream arg to call to gdbtk_fputs.
2439
        * (gdb_listfiles):  Also, go through the symtabs when looking for
2440
        files.  This makes xcoff work (sort of), but probably breaks
2441
        something else.
2442
        * (gdb_stop):  Return TCL_OK instead of nothing.  This fixes odd
2443
        TCL errors when hitting stop button.
2444
        * (tk_command):  Don't pass interp->result on to Tcl_{Var}Eval, as
2445
        that will trash the result.  strdup the result instead and pass
2446
        that on.  Improve error handling as well.
2447
 
2448
        * gdbtk.tcl (gdbtk_tcl_flush):  Use global def of
2449
        current_output_win.  Makes flushing actually work!
2450
        * (asm_win_name create_asm_win update_assembly):  Bunch of fixes
2451
        to make assembly windows stop flashing when loading a new file.
2452
        * (gdbtk_tcl_busy gdbtk_tcl_idle):  Use catch to prevent gdb_cmd
2453
        errors from losing control.
2454
        * (create_source_window):  Add source file selection to View menu.
2455
        * (create_command_window ( binding):  Quote text fed
2456
        into gdb_cmd to prevent eval errors.
2457
 
2458
Thu Dec 15 16:40:10 1994  Stu Grossman  (grossman@cygnus.com)
2459
 
2460
        * gdbtk.c: Improve mechanism for capturing output values.
2461
        (full_filename): Remove.
2462
        (gdb_cmd call_wrapper gdbtk_init): Protect all calls from tcl land
2463
        with call_wrapper.  This prevents longjmps (usually via error())
2464
        from jumping out of tcl/tk and leaving things in an indeterminate
2465
        state.
2466
        (gdbtk_fputs): Differentiate stdout from stderr when passing text
2467
        into tcl land.
2468
        * gdbtk.tcl: New view option to disable line numbers.  Put catch
2469
        around most uses of gdb_cmd.  Add update button to reg config
2470
        window.  Stop doing immediate updates when selecting registers.
2471
        Change register view values into checkbuttons.
2472
 
2473
Mon Dec 12 16:59:29 1994  Stu Grossman  (grossman@cygnus.com)
2474
 
2475
        * gdbtk.tcl (reg_config_menu create_registers_window
2476
        recompute_reg_display_list):  Use array instead of individual vars
2477
        for register display list.
2478
        * (recompute_reg_display_list update_registers):  Fix bug with not
2479
        displaying all registers.
2480
 
2481
Mon Dec 12 12:22:21 1994  Stu Grossman  (grossman@cygnus.com)
2482
 
2483
        * gdbtk.c:  New tcl commands:  gdb_fetch_registers,
2484
        gdb_changed_register_list, and gdb_regnames.
2485
        * gdbtk.tcl:  Use monochrome color model for now.
2486
        * (delete_breakpoint_tag create_file_win):  Add breakdot support.
2487
        * (create_file_win create_asm_win update_listing build_framework
2488
        create_source_window create_command_window):  Re-org window
2489
        creation to give all windows consistent look and feel.
2490
        * (update_listing update_asm):  Change pc pointer to '->'.
2491
        * (registers_command reg_config_menu create_registers_window
2492
        populate_reg_window update_registers):  Revamp register window.
2493
        Allow selection of registers to be displayed.  Highlight changed
2494
        registers.
2495
 
2496
Mon Nov 28 09:17:20 1994  Stu Grossman  (grossman@cygnus.com)
2497
 
2498
        * gdbtk.tcl (build_framework):  Fix bug with setting window titles.
2499
 
2500
        * gdbtk.tcl (build_framework):  Add "Report bug" to help menu.
2501
 
2502
        * gdbtk.tcl:  Re-arrange windows using new, consistent layout. Clean
2503
        up lots of code and centralize framework initialization.
2504
 
2505
Wed Nov 16 15:28:29 1994  Rob Savoye  (rob@cygnus.com)
2506
 
2507
        * Makefile.in: Fix the test for installing gdbtk.
2508
 
2509
Mon Nov 14 08:51:29 1994  Stu Grossman  (grossman@cygnus.com)
2510
 
2511
        * Makefile.in:  Install gdbtk.tcl.
2512
        * configure.in:  Add ENABLE_GDBTK flag.
2513
        * gdbtk.c (gdb_sourcelines):  Returns list of source lines
2514
        containing code.  (gdb_regnames):  Returns list of register names.
2515
 
2516
Thu Nov  3 14:25:24 1994  Stu Grossman  (grossman@cygnus.com)
2517
 
2518
        * gdbtk.c (gdb_stop):  Switch to target_stop().
2519
 
2520
Tue Nov  1 16:41:12 1994  Stu Grossman  (grossman@cygnus.com)
2521
 
2522
        * Makefile.in:  Use $(objdir)/tcl and $(objdir)/tk if they are
2523
        available.
2524
        * configure.in (ENABLE_CLIBS):  Use $(TCL) and $(TK) instead of
2525
        -ltcl and -ltk.
2526
        * gdbtk.c:  Get rid of lots of unnecessary #includes.
2527
        * (gdbtk_init):  Use ConnectionNumber macro instead of referencing
2528
        Display structure directly.
2529
        * gdbtk.tcl:  Change exit button to quit button.
2530
 
2531
Wed Oct 26 15:41:07 1994  Stu Grossman  (grossman@cygnus.com)
2532
 
2533
        * gdbtk.c: Change sense and name of no_windows variable.  Now
2534
        called use_windows, and defaults to off (for compatibility).
2535
 
2536
Thu Oct 20 17:35:45 1994  Stu Grossman  (grossman@cygnus.com)
2537
 
2538
        * gdbtk.c (gdb_cmd):  Force GUI into idle mode when errors occur.
2539
        * (gdb_stop):  New tcl command to stop the target process.
2540
        * (x_event, gdbtk_wait):  Allow GUI to interrupt gdb out of target
2541
        waits.
2542
        * (gdbtk_call_command):  Wrapper around command processing to
2543
        alert GUI of target state changes.
2544
        * (gdbtk_init):  Get the fd of X server for doing async
2545
        notification of X events (via x_event).  Setup new hooks.
2546
        * gdbtk.tcl:  Add scrollbars to assembly and command windows.
2547
        * Change window foreground & background colors.
2548
        * Create margin tag for breakpoints in source and assembly windows.
2549
        * Add new routines to be invoked when target state changes to/from
2550
        idle.
2551
        * Add start of expression window.
2552
        * Change bindings of mouse button 1 in assembly and source window
2553
        to just set or clear breakpoints when in the margin tag.
2554
        * Change shape of register window to be more vertical to better
2555
        reflect its contents.
2556
        * Add stop button.
2557
        * Cleanup some code around command window bindings.
2558
 
2559
Sat Sep 17 17:05:14 1994  Stu Grossman  (grossman@cygnus.com)
2560
 
2561
        * gdbtk.tcl:  Let ^U delete lines in the command window.
2562
 
2563
Fri Sep 16 15:40:34 1994  Stu Grossman  (grossman@cygnus.com)
2564
 
2565
        * gdbtk.c:  Replace calls to full_filename with symtab_to_filename.
2566
        * gdbtk.tcl:  New routine pc_to_line replaces in line code.  New
2567
        routine decr replaces in line code.
2568
        * (create_file_win):  Use catch to handle open failures more
2569
        elegantly.  Also, create special window to display file open
2570
        failure message.  Move opening of file prior to creation of text
2571
        widget.
2572
        * (create_asm_win):  Add PC as argument.  We now base disassembly
2573
        on PC instead of function name, since function names can be
2574
        ambiguous (usually seen with shared libs).  Also, use catch to
2575
        simplify code where we don't care about failures.
2576
 
2577
Wed Sep 14 00:55:26 1994  Stu Grossman  (grossman@cygnus.com)
2578
 
2579
        * gdbtk.tcl:  Add ref counts to breakpoint tags.
2580
        * Put quotes around function name in disassemble command to better
2581
        handle assembler names containing `.'.
2582
        * Make pclist element 0 be filler to avoid off-by-one problem with
2583
        line numbers.
2584
        * Set names of top-level windows.
2585
        * Add register display window.
2586
        * Add PC to label of assembly window.
2587
 
2588
Tue Sep 13 08:59:04 1994  Stu Grossman  (grossman@cygnus.com)
2589
 
2590
        * gdbtk.c (gdbtk_flush gdbtk_fputs):  Buffer up output to make
2591
        disassembly more efficient.
2592
        * (breakpoint_notify):  Include pc in gdbtk_tcl_breakpoint
2593
        callback.
2594
        * (gdb_loc):  Include pc in return value.  Also, return function
2595
        name if arg was specified.
2596
        * (gdb_cmd_stub):  Call gdb_flush to drain internal GDB buffers
2597
        after command completes.
2598
        * (gdbtk_init):  Improve error handling.
2599
 
2600
        * gdbtk.tcl:  Add lots of comments.  Clean up code.
2601
        * (gdbtk_tcl_fputs):  Make output window redirectable.
2602
        * Add assembly window, and breapoint support.
2603
        * Make button 1 in margin toggle breakpoints.
2604
        * Use stippling to indicate breakpoint disabling.
2605
 
2606
Fri Sep  2 19:11:40 1994  Stu Grossman  (grossman@cygnus.com)
2607
 
2608
        * configure.in: Don't symlink to gdbtk.tcl if it's already there.
2609
 
2610
Thu Jul 28 14:37:36 1994  Stu Grossman  (grossman@cygnus.com)
2611
 
2612
        Support for TK GUI.
2613
        * Makefile.in:  Add rule for gdbtk.o.
2614
        * configure.in:  Add support for --enable-gdbtk.
2615
        * gdbtk.c:  New file.  Contains support routines for TK interface.
2616
        * gdbtk.tcl:  New file.  Implements GUI policy.
2617
 
2618
 
2619
Local Variables:
2620
mode: change-log
2621
left-margin: 8
2622
fill-column: 74
2623
version-control: never
2624
End:

powered by: WebSVN 2.1.0

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