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

Subversion Repositories or1k

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

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 578 markom
  Mon Dec 21 11:11:02 1998  Keith Seitz  
2
 
3
          * gdbtk-cmds.c (get_register): Call get_saved_register instead of
4
          read_relative_register_raw_bytes to fetch registers.
5
 
6
  Thu Dec 17 09:00:56 1998  Keith Seitz  
7
 
8
          * gdbtk-cmds.c (gdb_search): Don't mention C++ RTTI and
9
          global constructor/destructor symbols.
10
 
11
  Thu Nov 12 15:20:15 1998  Jim Ingham   
12
          * More bug fixes merged in from devo.
13
 
14
          * gdbtk-cmds.c (gdb_cmd): Added an optional second argument to the
15
          gdb_cmd, which is from_tty.  This is passed to the gdb command
16
          parser.  It is 0 by default, and the console window passes 1.
17
 
18
          * gdbtk-cmds.c: moved disassemble_from_exec from gdbtk.c to gdbtk-cmds.c
19
          with all the other link-var'ed variables
20
 
21
          * gdbtk-hooks.c (gdbtk_trace_find): Only run the hook functions if
22
          we are called from_tty.
23
 
24
          * gdbtk-hooks.c (gdbtk_trace_start_stop): Set the trace buttons
25
          from a trace_start_command callback rather than doing it as a
26
          special case in gdb_cmd.
27
 
28
          * tracepoint.c (tstart_command, tstop_command): Add call to
29
          trace_start_stop_hook here.
30
 
31
  1998-11-04  Martin M. Hunt  
32
 
33
          * gdbtk-cmds.c (gdb_set_bp_addr): For callback, send full
34
          pathname instead of just basename.
35
 
36
  1998-11-03  Keith Seitz  
37
          * v850ice.c (do_gdb): New function.
38
          (ice_stepi): Use do_gdb to step properly.
39
          (ice_nexti): Use do_gdb to step properly.
40
          (view_source): Correct call to src window's location for new version.
41
 
42
  Tue Aug 25 18:13:30 1998  Jim Ingham    
43
 
44
          * gdbtk.c (gdbtk_init): I hadn't excised ALL the old startup code,
45
          so it was not working correctly.  Now it does.
46
 
47
  Fri Aug 21 14:37:40 1998  Jim Ingham  
48
 
49
          * gdbtk.c (gdbtk_init): Changed the startup code to use
50
          tcl_findLibrary
51
 
52
 
53
 
54
 
55
on Dec 28 17:44:36 1998  David Taylor  
56
 
57
 
58
        The following changes were made by Jim Blandy ,
59
        Edith Epstein , Elena Zannoni
60
         Stan Shebs , and David
61
        Taylor , as part of the project to merge in
62
        changes originally made by HP; HP did not create ChangeLog
63
        entries.
64
 
65
        * gdbtk.c (gdbtk_init): change stderr to gdb_stderr.
66
 
67
        * gdbtk-cmds.c
68
        (get_pc_register): Use paddr_nz, not sprintf's %llx and
69
        a cast to `long long'.  Those aren't portable.
70
        (gdb_eval): add embedded_offset param to val_print call
71
        (get_register): add embedded_offset param to val_print call
72
 
73
        * gdbtk-hooks.c
74
        (tk_command_loop): change instream to a FILE.
75
        (gdbtk_flush): change both the declaration and definition to
76
        use GDB_FILE rather than FILE.
77
 
78
Mon Dec 21 11:11:02 1998  Keith Seitz  
79
 
80
        * gdbtk-cmds.c (get_register): Call get_saved_register instead of
81
        read_relative_register_raw_bytes to fetch registers.
82
 
83
Thu Dec 17 09:00:56 1998  Keith Seitz  
84
 
85
        * gdbtk-cmds.c (gdb_search): Don't mention C++ RTTI and
86
        global constructor/destructor symbols.
87
 
88
Tue Dec 15 10:09:31 1998  Andrew Cagney  
89
 
90
        * gdbtk-cmds.c (gdb_disassemble): Fix typo.
91
 
92
Sun Dec 13 09:52:51 1998  Andrew Cagney  
93
 
94
        * gdbtk-cmds.c: Update TARGET_PRINT_INSN_INFO, TARGET_PRINT_INSN.
95
 
96
Fri Dec 11 09:52:04 1998  Andrew Cagney  
97
 
98
        * gdbtk-cmds.c: Replace reg_name with REGISTER_NAME.
99
 
100
Mon Dec 14 13:20:50 1998 Jim Ingham  
101
 
102
        * Makefile.in, configure.in configure - add support for LIBGUI
103
        outside the IDE context.
104
 
105
Thu Nov 19 13:14:57 1998  Geoffrey Noer  
106
 
107
        * gdbtk-cmds.c: Can't start using new API names yet.  Switch back
108
        to calling cygwin32_ funcs until some time has passed...
109
        * gdbtk.c: Ditto.  Also, include sys/cygwin.h for Cygwin, instead
110
        of providing own proto.
111
 
112
Fri Nov 13 00:15:08 1998  Geoffrey Noer  
113
 
114
        Changes to account for name change from cygwin32 to cygwin and
115
        clean up Win32-related ifdefs.
116
 
117
        * gdbtk.c: lose "32" from cygwin_ func calls.  ifndef for
118
        checking DISPLAY should be for _WIN32, not WINNT.
119
        * gdbtk.h: pick GDBTK_PATH_SEP based on _WIN32, not WINNT.
120
        * gdbtk-cmds.c (gdb_path_conv): lose "32" from cygwin_  func call,
121
        change ifdef to __CYGWIN32__ instead of WINNT.
122
        * {gdbtk.c, gdbtk-hooks.c}: __CYGWIN32__ refs drop the "32".
123
 
124
Thu Nov 12 15:20:15 1998  Jim Ingham   
125
 
126
        * gdbtk-cmds.c (gdb_cmd): Added an optional second argument to the
127
        gdb_cmd, which is from_tty.  This is passed to the gdb command
128
        parser.  It is 0 by default, and the console window passes 1.
129
 
130
        * gdbtk-cmds.c: moved disassemble_from_exec from gdbtk.c to gdbtk-cmds.c
131
        with all the other link-var'ed variables
132
 
133
        * gdbtk-hooks.c (gdbtk_trace_find): Only run the hook functions if
134
        we are called from_tty.
135
 
136
        * gdbtk-hooks.c (gdbtk_trace_start_stop): Set the trace buttons
137
        from a trace_start_command callback rather than doing it as a
138
        special case in gdb_cmd.
139
 
140
        * tracepoint.c (tstart_command, tstop_command): Add call to
141
        trace_start_stop_hook here.
142
 
143
Wed Nov  4 12:41:42 1998  Jim Ingham  
144
 
145
        * gdbtk-cmds.c (gdb_set_bp_addr): Pass the type, enable & thread
146
        to gdbtk_tcl_breakpoint.
147
        * gdbtk-hooks.c (gdbtk_trace_find): Added this function.  It is
148
        the hook function for tfind commands.
149
        * tracepoint.c (trace_find_command): Added the trace_find_hook,
150
        run when you do trace_find_command.
151
        * tracepoint.h: Define the trace_find_hook.
152
 
153
1998-11-03  Keith Seitz  
154
 
155
        * v850ice.c (do_gdb): New function.
156
        (ice_stepi): Use do_gdb to step properly.
157
        (ice_nexti): Use do_gdb to step properly.
158
        (view_source): Correct call to src window's location for new version.
159
 
160
Mon Nov  2 11:16:10 1998  Jim Ingham  
161
 
162
        * gdbtk-cmds (gdb_get_tracepoint_info): Demangle C++ function names.
163
 
164
Fri Oct 30 11:22:23 1998  Jim Ingham  
165
 
166
        * gdbtk-cmds (gdb_get_tracepoint_info): Fixed typo.
167
 
168
Wed Oct 28 16:19:02 1998  Martin M. Hunt  
169
 
170
        * gdbtk-cmds.c (gdb_set_bp_addr): For callback, send full
171
        pathname instead of just basename.
172
 
173
Wed Oct 28 10:14:33 1998  Jim Ingham   
174
 
175
        * gdbtk-cmds.c: Made the bdtypes & bpdisp arrays shared so they
176
        could be used in gdbtk-hooks.c (breakpoint_notify).
177
        Also fixed a few error messages to actually print the bp number
178
        rather that #%d...
179
        * gdbtk-hooks.c (breakpoint_notify): pass more of the information
180
        about the breakpoint into the Tcl command, so it does not have to
181
        try and guess about information we have on the C side.
182
        * gdbtk.h: Export the bptypes & pbdisp arrays.
183
 
184
1998-10-13  Jason Molenda  (jsm@bugshack.cygnus.com)
185
 
186
        * gdbtk.c, gdbtk-cmds.c: Cast parameters passed to make_cleanup to
187
        use the new make_cleanup_func typedef.
188
 
189
1998-10-08  Keith Seitz  
190
 
191
        * gdbtk-hooks.c (gdbtk_add_hooks): Install a hook for
192
        (new) file_changed_hook.
193
        (gdbtk_exec_file_changed): Rename to gdbtk_exec_file_display
194
        to mimic hook's name.
195
        (gdbtk_file_changed): New hook function.
196
 
197
Tue Oct  6 22:57:13 1998  Andrew Cagney  
198
 
199
        * configure.in (links): Link gdbtcl2 directory instead of gdbtcl.
200
 
201
Mon Oct  5 00:34:00 1998  Martin M. Hunt  
202
 
203
        * gdbtk-cmds.c (gdb_set_bp_addr): New command. Sets a
204
        breakpoint at an address. Use this instead of gdb_cmd "break"
205
        because the syntax of the break command is broken and doesn't
206
        allow you to create a thread-specific BP at an address.  Also
207
        this is faster.
208
 
209
Sun Oct  4 22:35:47 1998  Martin M. Hunt  
210
 
211
        * gdbtk-cmds.c (gdb_set_bp): Add an optional thread number.
212
        (gdb_find_bp_at_line): New function. Returns a list of bpnums
213
        at the specified line number.
214
        (gdb_find_bp_at_addr): New function. Returns a list of bpnums
215
        at an address..
216
 
217
1998-10-02  Keith Seitz  
218
 
219
        * gdbtk-hooks.c (gdbtk_exec_file_changed): New function which handles
220
        exec_file changes.
221
        (gdbtk_add_hooks): Define exec_file_display_hook (to gdbtk_exec_file_changed)
222
 
223
        * gdbtk-cmds.c (gdb_stop): target_stop is ALWAYS defined, so
224
        compare against something a little more meaningful (target_ignore).
225
 
226
1998-09-24  Keith Seitz  
227
 
228
        * gdbtk.c (gdbtk_wait): Don't run the timer for ice targets.
229
 
230
        * v850ice.c (WM_ADDR_TO_SYM): New message.
231
        (v850ice_wndproc): Add handler for WM_SOURCE.
232
        (v850ice_wait): Call the ui_loop_hook occasionally.
233
        (ice_cont): Acknowledge message before doing anything.
234
        (ice_stepi): Ack message and let gdbtk do stepping.
235
        (ice_nexti): Ack message and let gdbtk do stepping.
236
        (view_source): New function ICE calls to display source code.
237
 
238
1998-09-18  Keith Seitz  
239
 
240
        * gdbtk-cmds.c (get_frame_name): Demangle function names, too.
241
 
242
Thu Sep 10 22:10:29  1998 Jim Ingham 
243
 
244
        *gdbtk-cmds.c (gdb_disassemble): Make sure the symtab's linetable is not
245
        null before trying to use it...
246
 
247
1998-09-02  Keith Seitz  
248
 
249
        * gdbtk-cmds.c (gdb_cmd): Do not run the timer when downloading --
250
        the ui_progress_hook that has been installed will actually
251
        update the gui for us.
252
 
253
Mon Aug 31 15:42:10 1998  Tom Tromey  
254
 
255
        * gdbtk-hooks.c (context_hook): Don't define.
256
 
257
1998-08-31  Keith Seitz  
258
 
259
        * gdbtk-cmds.c (gdb_listfuncs): When stripping out "global destructors"
260
        and "global constructors", do not append any elements to the result.
261
 
262
Sun Aug 30 00:49:18 1998  Martin M. Hunt  
263
 
264
        * gdbtk-cmds.c (Gdbtk_Init): Link C variable gdb_context
265
        with tcl variable gdb_context_id.
266
 
267
        * gdbtk-hooks.c (gdbtk_context_change): Implement new hook called
268
        context_hook.  Called when threads change.
269
 
270
        * gdbtk.c: Initialize gdb_context.
271
 
272
        * gdbtk.h: Declare gdb_context.
273
 
274
        * infrun (wait_for_inferior): Call context_hook.
275
 
276
        * thread.c (thread_command): Call context_hook.
277
 
278
        * defs.h: Declare context_hook.
279
 
280
Fri Aug 28 12:14:49 1998  Martin M. Hunt  
281
 
282
        * gdbtk-cmds.c (gdb_loadfile): Open the file after doing
283
        the symtab lookup and calling symtab_to_filename(). This
284
        makes GDBtk work with the GDB "dir" command.
285
 
286
1998-08-18  Keith Seitz  
287
 
288
        * gdbtk-hooks.c (gdbtk_add_hooks): Set selected_frame_level_changed_hook.
289
        (gdbtk_selected_frame_changed): New function.
290
 
291
        * gdbtk-cmds.c (Gdbtk_Init): Add command gdb_stack into interpreter.
292
        Link gdb's global selected_frame_level with interpreter global
293
        gdb_selected_frame_level.
294
        (gdb_stack): New function to faciltate speedier backtraces from
295
        gdbtk.
296
        (get_frame_name): New helper function for gdb_stack.
297
 
298
Tue Aug 18 15:42:40 1998  Martin M. Hunt  
299
 
300
        * gdbtk-cmds.c (gdb_listfuncs): Strip out global constructors
301
        and destructors from the function list.
302
 
303
Thu Aug 13 15:09:59 1998  Drew Moseley  
304
 
305
        * gdbtk.c (gdbtk_cleanup): added a scope-level around the contents
306
        of the #ifdef so that the variable declarations in there would not
307
        be illegal in a C compilation.
308
 
309
Mon Jul 27 13:07:16 1998  Martin M. Hunt  
310
 
311
        * gdbtk.c (gdbtk_call_command): Removed because it is now
312
        in gdbtk-hooks.c
313
        (null_routine): Removed.
314
 
315
        * gdbtk-hooks.c (tracepoint_notify): Fix sprintf to
316
        match number of arguments.
317
 
318
        * gdbtk-cmds.c (gdb_loc): When calling gdb_loc with an
319
        argument, call find_pc_line() to get a complete
320
        symtab_and_line struct.
321
 
322
Fri Jul 24 14:25:43 1998  Keith Seitz  
323
 
324
        * gdbtk-cmds.c (gdb_search): Add missing NULL to switches.
325
        Add missing flags to result_ptr.
326
        Pass along any errors caused by getting the list of files from
327
        tcl.
328
        Allocate correct amount of memory for the file list.
329
        Don't do any unecessary cleanups.
330
 
331
Fri Jul 24 01:08:37 1998  Martin M. Hunt  
332
 
333
        * gdbtk-cmds.c (gdb_loadfile): When there are no
334
        linenumbers, use only one tab.
335
 
336
Sat Jul 18 12:28:39 1998  Martin M. Hunt  
337
 
338
        * gdbtk.c (gdbtk_cleanup): Add call to tcl function
339
        gdbtk_cleanup. We need this so the GUI gets to clean
340
        up no matter how GDB exits.
341
 
342
Wed Jul  1 13:10:58 1998  Jim Ingham   
343
 
344
        * Moved gdbtk_hooks.c & gdbtk_cmds.c to gdbtk-hooks.c &
345
        gdbtk-cmds.c to comply with the gdb conventions.  Changed the
346
        configure & makefile to reflect the change...
347
 
348
Wed Jul  1 11:07:21 1998  Jim Ingham   
349
 
350
        * gdbtk.c: removed all the commands and hooks from this file so
351
        now it contains only the startup code.
352
        * gdbtk.c (gdbtk_init): Fixed a bug in the startup code on Windows
353
        that caused gdbtk not to find the share directory unless
354
        GDBTK_LIBRARY was set.
355
        * gdbtk_cmds.c: New file - this contains all the Tcl commands that
356
        gdb defines.  All the old commands were moved here, the
357
        string-based commands were converted to object commands, and the
358
        object-based commands were all converted to uniformly use the
359
        call_wrapper.  A new function, Gdbtk_Init was added to centralize
360
        initializing the gdb package.
361
        * gdbtk_hooks.c: New file - All the hooks were moved here, and a new
362
        function, gdbtk_add_hooks was added to centralize adding all these
363
        hook functions.  gdbtk_fputs was also modified to handle the new
364
        result_ptr structure.  See the comments in gdbtk.h for more
365
        details.
366
        * gdbtk.h: New file - this contains all the defines and globals
367
        shared by gdbtk.c, gdbtk_cmds.c & gdbtk_hooks.c
368
        * Makefile.in, configure.in & configure: mutatis mutandi for the
369
        new files.
370
 
371
 
372
Mon Jun 29 11:49:17 1998  Keith Seitz  
373
 
374
        * main.c (main): Don't include gdbtk test code if GDBTK is
375
        not defined by configure.
376
 
377
        * configure.in: When enabling gdbtk, add "-DGDBTK" to ENABLE_CFLAGS.
378
 
379
        * configure: Regenerate.
380
 
381
Fri Jun 26 13:56:07 1998  Keith Seitz  
382
 
383
        * gdbtk.c: Change all references to static global "interp" to
384
        "gdbtk_interp" and export this global.
385
        (gdbtk_init): If gdbtk_source_filename is not NULL, source this file
386
        into the interpreter when it goes idle.
387
        Add new command "gdb_search".
388
        (gdb_search): New function which searches the symbol table.
389
        (gdbtk_test): New function called by main when the --tclcommand
390
        option is used.
391
 
392
        * main.c (main): Add a new option "--tclcommand" which is used
393
        by the testsuite to source a file into the interpreter when it
394
        goes idle.
395
 
396
Sun Jun 21 09:31:12 1998  Ron Unrau  (runrau@cygnus.com)
397
 
398
        * gdbtk.c (gdb_set_bp): Use new interface.
399
 
400
Wed Jun 17 19:12:23 1998  Jeff Holcomb  
401
 
402
        * Makefile.in (install-only): Install tracing help files.
403
 
404
Mon Jun 15 13:18:21 1998  Jim Ingham 
405
 
406
        * gdbtk.c (gdbtk_init): Add elements to the auto_path AS LIST
407
        ELEMENTS.  This allows gdbtk to work when installed in a directory
408
        which has a space in the path.  D. Moseley pointed out the bug.
409
 
410
 
411
Tue Jun  9 14:10:46 1998  Keith Seitz  
412
 
413
        * gdbtk.c (gdb_get_vars_command): Return static variables and
414
        variables stored in registers.
415
 
416
        * main.c (main): Call pre/post_add_symbol_hook's when loading
417
        executables and symbol files.
418
 
419
Fri Jun  5 00:16:22 1998  Martin M. Hunt  
420
 
421
        * gdbtk.c (gdbtk_init): Change all references to
422
        GDBTK_IDE to IDE_ENABLED.
423
 
424
Thu Jun  4 18:31:53 1998  Martin M. Hunt  
425
 
426
        * gdbtk.c (gdbtk_init): Initialize tkTable.
427
 
428
Thu Jun  4 10:15:03 1998  Elena Zannoni  
429
 
430
        * gdbtk.c: merged:
431
 
432
        - Elena Zannoni  
433
        (call_obj_wrapper): in case of error, copy the
434
        error message from the result to the error_string.
435
        (gdbtk_fputs): add comments.
436
        (gdb_actions_command): call validate_actionline when installing the
437
        tracepoint, to do the syntax checking of the actions for us.
438
        - Elena Zannoni  
439
        (gdb_get_trace_frame_num): new function to get the
440
        trace frame number from gdb.
441
        (gdbtk_init): added new command gdb_get_trace_frame_num.
442
        - Jim Blandy  
443
        (struct wrapped_call_objs): Change the `func' member to
444
        be a Tcl_ObjCmdProc, not an Tcl_CmdProc, since it accepts a vector
445
        of objects as arguments.  Change the object vector to be const,
446
        since that's what all the users of this structure seem to expect.
447
        (call_obj_wrapper): Cast clientData properly before storing it in
448
        the wrapped_args structure.
449
 
450
Thu May 28 17:19:14 1998  Keith Seitz  
451
 
452
        * gdbtk.c (_initialize_gdbtk): Get rid of the console. Patch from
453
        Chris Faylor (cgf@cygnus.com).
454
 
455
        * configure.in: Link cygwin32 with subsystem console.
456
 
457
        * configure: Regenerated
458
 
459
Sun May 24 14:00:24 1998  Keith Seitz  
460
 
461
        * ser-unix.c (wait_for): Do not reset timeout_remaining for cygwin32 so that
462
        we can use this member to track real timeouts.
463
        (hardwire_readchar): Modify for cygwin32 so that we only ever use a real
464
        system timeout of one second. Track the "real" timeout as a series of these
465
        one second timeouts.
466
        Call ui_loop_hook to keep the gui alive.
467
 
468
        * top.c: Define new hook for cygwin32, "ui_loop_hook".
469
 
470
        * gdbtk.c (gdbtk_init): Add ui_loop_hook for CygWin32 to work around
471
        update problems.
472
 
473
Thu May 21 13:56:24 1998  Elena Zannoni  
474
 
475
        * gdbtk.c: reinserted the changes that were accidentally deleted:
476
        (_initialize_gdbtk): Use correct device names in
477
        cygwin-specific call (cosmetic change).
478
        (gdbtk_ignorable_warning): removed va_list parameter,
479
        which was unused.
480
        (_initialize_gdbtk): add cygwin32 specific code to
481
        allow `gdb -nw' to work when specified specified from a windows
482
        console-mode command line.
483
 
484
1998-05-19  Jim Blandy  
485
 
486
        * gdbtk.c (struct wrapped_call_objs): Change the `func' member to
487
        be a Tcl_ObjCmdProc, not an Tcl_CmdProc, since it accepts a vector
488
        of objects as arguments.  Change the object vector to be const,
489
        since that's what all the users of this structure seem to expect.
490
        (call_obj_wrapper): Cast clientData properly before storing it in
491
        the wrapped_args structure.
492
 
493
Wed May 13 11:12:58 1998  James Ingham  
494
 
495
        * gdbtk.c: Fixed a goof in the definition of the gdb_get_args &
496
        gdb_get_locals Tcl commands.  Moved the previous ChangeLog entry
497
        from ChangeLog to ChangeLog-gdbtk (here)...
498
 
499
Tue May 12 13:29:20 1998  Jeff Holcomb  
500
 
501
        * Makefile.in (install-only): Add images/icons.txt and
502
        images2/icons.txt to files that need to be installed.
503
 
504
Tue May 12 12:03:16 1998  James Ingham  
505
 
506
        * gdbtk.c: Add an object call wrapper for the new Tcl_Obj based
507
        commands.  This way the obj commands will also go through
508
        catch_errors.  This is just a bandaid while I rewrite the
509
        string-based commands to use the object format.
510
 
511
Tue May  5 09:30:25 1998  Christopher Faylor 
512
 
513
        * gdbtk.c (_initialize_gdbtk): Use correct device names in
514
        cygwin-specific call (cosmetic change).
515
 
516
Wed Apr 29 15:53:16 1998  Elena Zannoni  
517
 
518
        * gdbtk.c (gdbtk_ignorable_warning): removed va_list parameter,
519
        which was unused.
520
 
521
Tue Apr 28 19:41:33 1998  Tom Tromey  
522
 
523
        * Makefile.in (GDBTKLIBS): New macro.
524
        (INSTALLED_LIBS): Include GDBTKLIBS.
525
        (CLIBS): Likewise.
526
        * configure: Rebuilt.
527
        * configure.in: Put Tcl/Tk libs into GDBTKLIBS, not LIBS.
528
        (GDBTKLIBS): AC_SUBST.
529
 
530
Thu Apr 23 19:01:05 1998  Keith Seitz  
531
 
532
        * Makefile.in (install-only): Install help files.
533
 
534
Wed Apr 22 21:17:35 1998  Christopher Faylor 
535
 
536
        * gdbtk.c (_initialize_gdbtk): add cygwin32 specific code to
537
        allow `gdb -nw' to work when specified specified from a windows
538
        console-mode command line.
539
 
540
Wed Apr 15 11:23:53 1998  Stan Shebs  
541
 
542
        * gdbtcl: Remove directory and contents, this version of
543
        the interface is obsolete.
544
 
545
Mon Apr 13 16:17:52 1998  Martin M. Hunt  
546
 
547
        * gdbtk.c (gdb_loadfile): Change fstat() call to stat().
548
        Needed because you can't convert a FILE* to an fd.
549
 
550
Mon Apr 13 16:28:07 1998  Elena Zannoni  
551
 
552
        * gdbtk.c: (perror_with_name_wrapper) new function to call
553
        perror_with_name safely.
554
        (gdb_loadfile) added source vs. executable time stamp check.
555
        (gdbtk_warning) new function to pass a warning message to the gui.
556
        (gdbtk_ignorable_warning) new function to pass a warning
557
        to the gui. Used only for the src. vs. exec check.
558
        (gdbtk_init) added warning_hook
559
        added include 
560
 
561
Mon Apr 13 12:58:26 1998  Keith Seitz  
562
 
563
        * gdbtk.c (gdbtk_start_timer): Include on all platforms. Decrease
564
        timer interval a little.
565
        (gdbtk_stop_timer): Include on all platforms.
566
        (gdbtk_wait): No more signals! Use a timer on all platforms to keep the
567
        GUI alive.
568
        (gdbtk_init): Remove FIOASYNC and all x_fd references. Now using timers
569
        on all platforms.
570
 
571
Fri Apr 10 15:48:10 1998  Jason Molenda  (crash@bugshack.cygnus.com)
572
 
573
        * gdbtk.c (gdb_listfiles): Allocate space for 'files' dynamically.
574
 
575
Thu Apr  9 14:20:59 1998  Martin M. Hunt  
576
 
577
        * gdbtk.c (gdbtk_init): Remove redundant variable "IDE".
578
 
579
Tue Apr  7 15:13:58 1998  Stan Shebs  
580
 
581
        * gdbtk.tcl: Remove, no longer used.
582
 
583
Tue Apr  7 12:49:45 1998  Keith Seitz  
584
 
585
        * gdbtk.c (gdb_cmd): NEVER call the busy, update, and idle hooks.
586
 
587
Tue Mar 31 15:42:06 1998  Keith Seitz  
588
 
589
        * gdbtk.c (gdb_loadfile): Don't use the return result from
590
        sprintf, which returns a char * under SunOS4.
591
 
592
Tue Mar 31 17:18:43 1998  Ian Lance Taylor  
593
 
594
        * configure.in: Add $(LIBIDETCL) as well as $(LIBIDE) if
595
        --enable-ide.
596
        * Makefile.in (IDE_CFLAGS_X): Add -I for libidetcl/src.
597
        (LIBIDETCL): Define.
598
        * configure: Rebuild.
599
 
600
Sun Mar 29 21:19:46 1998  Keith Seitz  
601
 
602
        * gdbtk.c (gdb_get_tracepoint_info): Change formatting of address.
603
        (tracepoint_exists): Remove code which confuses assembly traces.
604
 
605
Sat Mar 28 12:13:23 1998  Keith Seitz  
606
 
607
        * gdbtk.c (gdb_cmd): If argc > 2, assume that the busy and idle hooks
608
        should not be called.
609
 
610
Thu Mar 26 22:29:28 1998  Elena Zannoni  
611
 
612
        * gdbtk.c: (gdb_trace_status) new function.
613
        (gdbtk_init) added command "gdb_is_tracing".
614
        (tracepoint_notify) added passcount information.
615
 
616
Thu Mar 26 12:00:35 1998  Martin M. Hunt  
617
 
618
        * gdbtk.c (gdbtk_fputs): Insert fencepost.
619
        (gdb_loc): Correct pc calculation.
620
        (gdb_immediate_command): Return if a load is in progress.
621
        (gdb_cmd): Return if a load is in progress.
622
        (target_stop_wrapper): New function.
623
        (gdb_stop): Call target_stop_wrapper.
624
        (x_event): Add fencepost and optimize load cancel check.
625
        (gdbtk_start_timer): Set up structs only once.
626
        (gdbtk_stop_timer): Just use preset structs to set timer parameters.
627
        (gdb_loadfile): If file cannot be loaded, return error message.
628
        (gdb_loadfile): Add space before tab so that lines without
629
        a '-' can later be changed to have one.
630
 
631
Wed Mar 25 14:08:51 1998  Elena Zannoni  
632
 
633
        * gdbtk.c (gdbtk_pre_add_symbol): Use Tcl_merge to form Tcl commands.
634
 
635
Mon Mar 23 13:41:39 1998  Elena Zannoni  
636
 
637
        * gdbtk.c (gdb_get_mem): Rewrite to fetch entire contents
638
        of the memory window at once.
639
 
640
Sat Mar 21 19:34:49 1998  Elena Zannoni  
641
 
642
        Merged changes from Foundry: list follows by author:
643
 
644
        - Tom Tromey  
645
 
646
        * Makefile.in (gdbres.o): New target.
647
        (WINDRES): New define.
648
        * configure: Rebuilt.
649
        * configure.in (WINDRES): Define.
650
        (CONFIG_OBS): Include gdbres.o on Windows.
651
        * gdbtool.ico: New file.
652
        * gdb.rc: New file.
653
        * gdbtk.c (gdbtk_init): Call ide_create_messagebox_command.
654
        (gdbtk_cleanup): Call ide_interface_deregister_all.
655
        (gdbtk_init): Pass event handle to cleanup.
656
        (TclDebug): Use Tcl_Merge to construct command.
657
        (gdbtk_init): Call ide_create_cygwin_path_command.
658
 
659
        - Martin M. Hunt  
660
 
661
        * gdbtk.c (gdb_set_bp): Set addr_string for bp.
662
        (gdb_get_breakpoint_info): Demangle function
663
        names in breakpoint info.
664
        Include "demangle.h".
665
        (gdb_loc, gdb_listfuncs): Demangle C++
666
        function names.
667
        (gdb_set_bp): Properly quote filename to fix
668
        problems with spaces. Send pc back as a hex string.
669
        (gdb_listfuncs): Remove debugging line.
670
         Turn off some debugging lines.
671
        (breakpoint_notify): Return correct line number.
672
        (gdb_get_breakpoint_info): Return correct line number.
673
        (gdb_set_bp): New function to provide a better way to
674
        set breakpoints.
675
        (gdbtk_readline, gdbtk_readline_begin): Memory
676
        allocated by tcl needs to be freed by Tcl_Free().
677
        (find_file_in_dir): Deleted.
678
        (gdb_find_file_command): Call full_lookup_symtab().
679
        (gdb_listfuncs): Call full_lookup_symtab().
680
        (full_lookup_symtab): New function.  Like lookup_symtab
681
        except handles multiple files with the same basename,
682
        full pathnames, and always sets symtab->fullname.
683
        (gdb_loadfile): Call full_lookup_symtab(). Clear
684
        realloc'd memory.
685
        (gdb_loadfile):  Don't tag lines without source.
686
        Tag source lines with source_tag.
687
        (gdb_find_file_command, find_file_in_dir):
688
        Rewrite.  Now searches symtabs and psymtabs for a match
689
        on the partial or full filename.  Returns the full pathname.
690
        (gdb_loadfile): Realloc additional memory
691
        if someone loads in a file with more than 160,000
692
        lines.  I don't know if this really works because
693
        I don't have enough memory to test it.
694
        (gdb_sourcelines): Deleted.
695
        (gdb_loadfile): New function. Takes a text widget
696
        and loads it with the contents of a file.  Marks
697
        and tags source lines.
698
        (pc_changed): New function.
699
        (get_pc_register): Returns the value of
700
        the PC to GDB.
701
        (gdb_loc): If looking on the stack, return
702
        real pc along with calling source line.
703
        (gdb_loc): Return "" instead of "N/A" if
704
        filename is not found.
705
        (gdb_get_breakpoint_info): Same.
706
        (get_register): For Natural mode, set format to 0.
707
         Minor bugfixes from keiths.
708
        (TclDebug): New function for debugging use.
709
        (gdb_loc): Return correct PC for frames
710
        that are not the innermost frame.
711
        (gdb_listfiles): Rewritten to use object
712
        API.  Now takes an optional dirname which will cause
713
        only files in that directory or its subdirectories
714
        to be returned.  Now returns basenames instead of
715
        full pathnames.
716
        (gdb_cmd): Set/reset load_in_progress flag.
717
        (call_wrapper): Don't pop up dialog for errors in
718
        downloads; just abort download.
719
        (gdbtk_load_hash): Set return value correctly.
720
 
721
        -  Keith Seitz  
722
 
723
        * gdbtk.c (gdbtk_init): Define the ui_loop_hook so that it can be
724
        called by routines which might block, allowing us to update the GUI.
725
        (gdbtk_wait): Move timer calls to annotation hooks.
726
        (gdbtk_init): Define the annotation hooks.
727
        (gdbtk_annotate_starting): New function for cygwin32 hosts.
728
        (gdbtk_annotate_stopped): New function for cygwin32 hosts.
729
        (gdbtk_annotate_exited): New function for cygwin32 hosts.
730
        (gdbtk_annotate_signalled): New function. for cygwin32 hosts.
731
        (gdbtk_init): Use gdbtk_print_frame_info hook.
732
        (gdbtk_print_frame_info): New function which sets current_source_symtab
733
        based on the given symtab and line info.
734
        (gdb_immediate_command): New function which does
735
        not buffer any
736
        output. (Contrast to gdb_cmd.)
737
        (gdb_prompt_command): New function to return gdb's prompt.
738
        (find_file_in_dir): New functon which searches source paths
739
        for a given filename.
740
        (gdb_find_file): New function which returns path to given file -- uses
741
        find_file_in_dir.
742
        (gdbtk_init): Install "gdb_immediate", "gdb_find_file", and
743
        "gdb_prompt"
744
        commands into interpreter.
745
 
746
        -  Ian Lance Taylor  
747
 
748
        * gdbtk.c (gdbtk_timer_going): If __CYGWIN32__, new static
749
        variable.
750
        (gdb_cmd): If __CYGWIN32__, if executing the load command, call
751
        gdbtk_start_timer and gdbtk_stop_timer.
752
        (call_wrapper): If __CYGWIN32__, if the timer is going, turn it
753
        off.  Clear load_in_progress.
754
        (x_event): If load_in_progress, quit if download_cancel_ok.
755
        (gdbtk_start_timer): Set gdbtk_timer_going.
756
        (gdbtk_stop_timer): Clear gdbtk_timer_going.
757
        (gdbtk_wait): Call x_event.
758
        (gdbtk_init): Call ide_create_win_grab_command if
759
        __CYGIN32__.
760
        (gdb_clear_file): Clear stop_pc.
761
 
762
Wed Mar  4 16:50:18 1998  Jason Molenda  (crash@bugshack.cygnus.com)
763
 
764
        * gdbtk.c (gdb_listfiles): Fix thinko in last change.
765
 
766
Wed Mar  4 15:34:49 1998  Jason Molenda  (crash@bugshack.cygnus.com)
767
 
768
        * gdbtk.c (gdb_listfiles): Allocate space for 'files' dynamically.
769
 
770
Tue Feb 10 17:50:37 1998  Keith Seitz  
771
 
772
        * gdbtk.c (gdbtk_modify_tracepoint): Define new tracepoint modification hook.
773
        (gdbtk_print_frame_info): Define this hook so that current_source_symtab
774
        is set properly.
775
        (gdb_actions_command): Use free_actions () from tracepoint.c/h.
776
 
777
Mon Jan 26 11:37:55 1998  Keith Seitz  
778
 
779
        * gdbtk.c (gdb_actions_command): Make note of next action
780
        before freeing all references to it.
781
 
782
Sat Jan 24 23:52:08 1998  Martin M. Hunt  
783
 
784
        * gdbtk.c: Merge from Foundry branch.
785
        (TclDebug): New debugging function.
786
        (gdb_loc): For frames, find address of calling function
787
        instead of whatever is on the stack (usually the next
788
        instruction).
789
        (gdb_listfiles): Takes an optional pathname argument and
790
        returns an alphabetized list of basenames of files in the
791
        path.
792
 
793
Wed Jan 22  10:37:02 1998  Keith Seitz  
794
 
795
        * symfile.c: Define two new hooks for symbol reading:
796
        "pre_add_symbol_hook" and "post_add_symbol_hook". These hooks
797
        are called before we begin reading symbols, and after we finish.
798
        (generic_load): Use new symbol reading hooks and get rid of
799
        compiler warning.
800
 
801
        * gdbtk.c (gdbtk_init): Add hooks for pre- and post-symbol reading.
802
        (gdbtk_pre_add_symbol): New function: the pre-add-symbol hook.
803
        (gdbtk_post_add_symbol): New function: the post-add-symbol hook.
804
        (find_file_in_dir): New function. Moved the guts of gdb_find_file_command
805
        into here to allow its use by others.
806
        (gdb_loc): Use find_file_in_dir to return the real path to the file
807
        (or "N/A" if we can't find it).
808
 
809
        * configure.in (TIX_LIB_EXT): Define new variable for those special cases
810
        when TCL_SHLIB_SUFFIX is not enough to specify the dependency.
811
 
812
        * configure: Regenerate.
813
 
814
Fri Jan 23 07:47:06 1998  Fred Fish  
815
 
816
        * Makefile.in (uninstall): Remove installed gdbtcl dir, if one
817
        was installed.
818
 
819
Thu Jan 15 12:42:28 1998  Keith Seitz  
820
 
821
        * gdbtk.c (gdb_immediate_command): New function which does not buffer any
822
        output. (Contrast to gdb_cmd.)
823
        (gdbtk_init): Install "gdb_immediate" command into interpreter.
824
 
825
Wed Jan 14 16:38:44 1998  Keith Seitz  
826
 
827
        * configure.in (--enable-gdbtk): If tcl was built with --enable-shared,
828
        use TCL_SHLIB_SUFFIX to specify the suffix of the library file so that
829
        we don't expect to see "libfoo.a" instead of "libfoo.{so,sl, etc}".
830
 
831
        * configure: Regenerate.
832
 
833
Wed Dec 31 16:50:26 1998  Keith Seitz  (keiths@onions.cygnus.com)
834
 
835
        * gdbtk.c (gdb_actions_command): extract and save step count
836
        from "while-stepping" command
837
 

powered by: WebSVN 2.1.0

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