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

Subversion Repositories or1k

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

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 578 markom
2001-07-05  Keith Seitz  
2
 
3
        * library/managedwin.itb (_create): Don't pass "-over"
4
        to center_window unless we really are asked to put the
5
        window over another!
6
 
7
2001-06-18  Keith Seitz  
8
 
9
        * library/managedwin.itb (_create): When creating a
10
        window over another, be sure to center on the window,
11
        not the object.
12
 
13
2001-06-13  Keith Seitz  
14
 
15
        * generic/gdbtk-bp.c (gdbtk_tracepoint_create): Change
16
        parameter to int to match breakpoint notifications.
17
        (gdbtk_tracepoint_modify): Ditto.
18
        (gdbtk_tracepoint_delete): Ditto.
19
        (tracepoint_notify): Ditto.
20
        * generic/gdbtk-hooks.c (gdbtk_add_hooks): Remove
21
        tracepoint hooks and install tracepoint event handlers.
22
 
23
2001-06-11  Tom Tromey  
24
 
25
        * library/help/session.html: New file.
26
        * library/help/index.html: Added link.
27
 
28
        * library/session.tcl (session_save): Save breakpoints.
29
        (SESSION_serialize_bps): New proc.
30
        (SESSION_recreate_bps): New proc.
31
        (session_load): Recreate breakpoints.
32
        * library/util.tcl (bp_exists): Expect user specification in
33
        breakpoint info.
34
        * library/srctextwin.itb (SrcTextWin::showBPBalloon): Expect user
35
        specification in breakpoint info.
36
        * library/gdbevent.itb (BreakpointEvent::_init): Initialize
37
        _user_specification.
38
        (BreakpointEvent::get): Handle user_specification.
39
        * library/gdbevent.ith (BreakpointEvent): Added
40
        _user_specification field.
41
        * library/bpwin.itb (BpWin::bp_store): Expect user specification
42
        and use it when saving.
43
        (BpWin::bp_type): Expect user specification.
44
        * generic/gdbtk-bp.c (BREAKPOINT_IS_WATCHPOINT): New macro.
45
        (gdb_get_breakpoint_info): Added `user specification' to result.
46
 
47
2001-06-11  Keith Seitz  
48
 
49
        * generic/gdbtk-stack.c (gdb_stack): Return TCL_ERROR if
50
        we are unable to get the current frame. get_current_frame
51
        may have output an error message.
52
 
53
2001-06-07  Keith Seitz  
54
 
55
        * generic/gdbtk-hooks.c (x_event): Remove unused variable "count".
56
        (tracepoint_notify): Remove superfluous declaration. This funtion
57
        was moved to gdbtk-bp.c.
58
 
59
        * generic/gdbtk-bp.c (gdb_find_bp_at_addr): Remove unused variable
60
        "b".
61
        (gdb_set_bp): Remove unused variable "cmd".
62
        (gdb_set_bp_addr): Remove unused variables "cmd" and "filename".
63
 
64
        * generic/gdbtk.c (gdbtk_init): Remove unused variables
65
        "auto_path_name", "auto_path_elem", and "found_main".
66
 
67
2001-06-05  Martin Hunt  
68
 
69
        * generic/gdbtk.c (_initialize_gdbtk): Don't close console yet.
70
        (gdbtk_init): Wait until after tcl/tk stuff is all initialized
71
        to close console (on Windows) and redirect ouput.
72
 
73
2001-06-05  Martin Hunt  
74
 
75
        * library/globalpref.itb(build_win): Don't change directory
76
        before building icon combobox.  Add debug lines.
77
 
78
2001-06-04  Keith Seitz  
79
 
80
        * library/srcbar.itcl (constructor): Set the toolbar's initial
81
        state.
82
 
83
2001-06-04  Keith Seitz  
84
 
85
        * library/interface.tcl (gdb_update_hook): Mark as deprecated.
86
        (gdbtk_update): Dispatch and UpdateEvent, too.
87
        * library/ehandler.ith (update): New event handler.
88
        * library/gdbevent.ith (UpdateEvent): New event.
89
        * library/gdbevent.itb (UpdateEvent::constructor): New method.
90
        (UpdateEvent::get): New method.
91
        * library/kod.ith (udpate): Match event handler definition.
92
        * library/kod.itb (update): Ditto.
93
        (build_win): Pass dummy argument to update method.
94
        (top): Ditto.
95
        (up): Ditto.
96
        (set_variable): Ditto.
97
        * library/memwin.ith (update): Match event handler definition.
98
        * library/memwin.itb (update): Ditto.
99
        (constructor): Remove gdb_update_hook.
100
        (destructor): Ditto.
101
        * library/process.ith (update): Match event handler definition.
102
        * library/process.itb (update): Ditto.
103
        (constructor): Remove gdb_update_hook.
104
        (destructor): Ditto.
105
        (build_win): Pass dummy argument to update method.
106
        * library/regwin.ith (update): Match event handler definition.
107
        * library/regwin.itb (update): Ditto.
108
        (constructor): Remove gdb_update_hook.
109
        (destructor): Ditto.
110
        (build_win): Pass dummy argument to update method.
111
        (but3): Ditto.
112
        (unedit): Ditto.
113
        * library/stackwin.ith (update): Match event handler definition.
114
        * library/stackwin.itb (update): Ditto.
115
        (constructor): Remove gdb_update_hook.
116
        (destructor): Ditto.
117
        (build_win): Pass dummy argument to update method.
118
        * library/tdump.tcl (update): Match event handler definition.
119
        (constructor): Remove gdb_update_hook.
120
        (destructor): Ditto.
121
        (build_win): Pass dummy argument to update method.
122
        * library/variables.tcl (update): Match event handler definition.
123
        (build_win): Pass dummy argument to update method.
124
        * library/locals.tcl (update): Match event handler definition.
125
        (constructor): Pass dummy argument to update method.
126
        * library/watch.tcl (update): Match event handler definition.
127
        Pass dummy argument to VariableWin::update.
128
        (add): Pass dummy argument to update method.
129
        * library/srcwin.ith (update): New method.
130
        (update_hook_init): Remove.
131
        * library/srcwin.itb (update): New method.
132
        (constructor): Remove gdb_update_hook.
133
        (destructor): Ditto.
134
        * tclIndex: Regenerate.
135
 
136
2001-06-01  Keith Seitz  
137
 
138
        * library/console.itb (constructor): Pass dummy argument
139
        to idle method.
140
        (destructor): Ditto.
141
 
142
2001-05-31  Keith Seitz  
143
 
144
        * library/interface.tcl (gdbtk_idle): Run hooks, too,
145
        until they're all gone.
146
 
147
2001-05-31  Keith Seitz  
148
 
149
        * library/interface.tcl (gdb_idle_hook): Mark as deprecated.
150
        (gdbtk_idle): Dispatch an IdleEvent. gdb_idle_hook is gone.
151
        * library/ehandler.ith (idle): New event handler.
152
        * library/gdbevent.ith (IdleEvent): New event.
153
        * library/console.ith (idle): Match event handler definition.
154
        * library/console.itb (idle): Ditto.
155
        (constructor): Remove gdb_idle_hook.
156
        (destructor): Ditto.
157
        * library/kod.ith (idle): Match event handler definition.
158
        * library/kod.itb (idle): Ditto.
159
        (constructor): Remove gdb_idle_hook.
160
        (destructor): Ditto.
161
        * library/memwin.ith (idle): Match event handler definition.
162
        * library/memwin.itb (idle): Ditto.
163
        (constructor): Remove gdb_idle_hook.
164
        (destructor): Ditto.
165
        * library/pluginwin.itcl (stopped): Rename to "idle" and
166
        match event handler definition.
167
        Fix misleading comments.
168
        * library/process.ith (idle): Match event handler definition.
169
        * library/process.itb (idle): Ditto.
170
        (constructor): Remove gdb_idle_hook.
171
        (destructor): Ditto.
172
        * library/regwin.ith (idle): Match event handler definition.
173
        * library/regwin.itb (idle): Ditto.
174
        (constructor): Remove gdb_idle_hook.
175
        (destructor): Ditto.
176
        * library/srcbar.itcl (idle): New method.
177
        (constructor): Remove gdb_idle_hook.
178
        (destructor): Ditto.
179
        * library/srcwin.ith (idle): Match event handler definition.
180
        * library/srcwin.itb (idle): Ditto.
181
        (constructor): Remove gdb_idle_hook.
182
        (destructor): Ditto.
183
        * library/stackwin.ith (idle): Match event handler definition.
184
        * library/stackwin.itb (idle): Ditto.
185
        (constructor): Remove gdb_idle_hook.
186
        (destructor): Ditto.
187
        * library/variables.tcl (idle): Match event handler definition.
188
        (constructor): Remove gdb_idle_hook.
189
        (destructor): Ditto.
190
        * library/plugins/rhabout/rhabout.itcl (stopped): Rename
191
        to "idle" and match new event handler definition.
192
        * library/tclIndex: Regenerated.
193
 
194
2001-05-31  Keith Seitz  
195
 
196
        * library/interface.tcl (gdb_busy_hook): Deprecate.
197
        (gdbtk_busy): Create and dispatch a BusyEvent instead
198
        of running hooks.
199
        * library/ehandler.ith (busy): New event handler.
200
        * library/gdbevent.ith (BusyEvent): New event class.
201
        * library/console.ith: Inherit from GDBEventHandler.
202
        (busy): Match event handler definition.
203
        * library/console.itb (busy): Ditto.
204
        (constructor): Remove gdb_busy_event.
205
        (destructor): Ditto.
206
        * library/kod.ith (busy): Match event handler definition.
207
        * library/kod.itb (busy): Ditto.
208
        (constructor): Remove gdb_busy_hook.
209
        (destructor): Ditto.
210
        * library/memwin.ith (busy): Match event handler definition.
211
        * library/memwin.itb (busy): Ditto.
212
        (constructor): Remove gdb_busy_hook.
213
        (destructor): Ditto.
214
        * library/pluginwin.itcl (running): Rename to "busy" and
215
        match event handler definition.
216
        (consturctor): Remove gdb_busy_hook.
217
        (destructor): Ditto.
218
        * library/process.ith (busy): Match event handler definition.
219
        * library/process.itb (busy): Ditto.
220
        (constructor): Remove gdb_busy_hook.
221
        (destructor): Ditto.
222
        * library/regwin.ith (busy): Match event handler definition.
223
        * library/regwin.itb (busy): Ditto.
224
        (constructor): Remove gdb_busy_hook.
225
        (destructor): Ditto.
226
        * library/srcbar.itcl (constructor): Remove gdb_busy_hook.
227
        (destructor): Ditto.
228
        (busy): New method.
229
        * library/srcwin.ith (busy): Match event handler definition.
230
        * library/srcwin.itb (busy): Ditto.
231
        Only do the "busy" stuff if do_updates is set.
232
        (toggle_updates): Remove gdb_busy_hook.
233
        (constructor): Ditto.
234
        (destructor): Ditto.
235
        * library/stackwin.ith (busy): Match event handler definition.
236
        * library/stackwin.itb (busy): Ditto.
237
        (constructor): Remove gdb_busy_hook.
238
        (destructor): Ditto.
239
        * library/variables.tcl (constructor): Ditto.
240
        (destructor): Ditto.
241
        (disable_ui): Rename to "busy" and match event handler
242
        definition.
243
        * library/plugins/rhabout/rhabout.itcl (running): Rename
244
        to "busy" and match new event handler definition.
245
        * library/tclIndex: Regenerated.
246
 
247
2001-05-25  Keith Seitz  
248
 
249
        * generic/gdbtk-cmds.c (bin2hex): New function.
250
        (fromhex): New function.
251
        (gdb_set_mem): New function.
252
        (Gdbtk_Init): Add new command, "gdb_set_mem".
253
        * library/memwin.itb (edit): Use "gdb_set_mem" to set
254
        memory, not some gdb_cmd contrivance.
255
        When sending data to gdb_set_mem, make sure that it
256
        is properly zero-padded.
257
 
258
2001-05-22  Keith Seitz  
259
 
260
        * memwin.ith (error_dialog): Declare public method.
261
        * memwin.itb (error_dialog): Define.
262
        (edit): When attempting to set memory, post an error dialog
263
        if gdb told us an error occurred while writing the memory.
264
 
265
2001-05-22  Keith Seitz  
266
 
267
        * library/interface.tcl (gdbtk_tcl_file_changed): Handle
268
        the case of empty-string files, sent by gdb when the
269
        user requests to reset the file.
270
        (_close_file): New proc to deal with closing an exe.
271
        * library/srcbar.itcl (create_file_menu): Add "Close" menu
272
        option.
273
        (create_view_menu): Change key binding for Watch Window to
274
        Ctrl+T to accomodate "Close" going to Ctrl+W.
275
        * library/srctextwin.itb (config_win): Update key binding
276
        for Watch Window.
277
        Add key binding for Close.
278
        (do_key): Add "close".
279
        (_clear_cache): Finally implement. I think this works now.
280
 
281
2001-05-22  Keith Seitz  
282
 
283
        * library/variables.tcl (postMenu): Add mysterious workaround
284
        for popup menu bug in Tk for windows.
285
        Highlight the selection, too.
286
 
287
2001-05-21  Keith Seitz  
288
 
289
        * library/managedwin.itb (_create): Check the geometry of
290
        any window we create. Don't create a window that is
291
        bigger than the screen.
292
 
293
2001-05-18  Keith Seitz  
294
 
295
        * library/managedwin.ith (_geometry): Use a protected variable
296
        instead of a global from ManagedWin::reveal.
297
        (open): Make arg list reflect managedwin.itb.
298
        * library/managedwin.itb (window_name): Use class variable
299
        _top instead of recomputing the toplevel every time.
300
        (reveal): Ditto.
301
        Use class variable "_geometry" instead of global variable.
302
        (shutdown): Do not save ModalDialogs.
303
        (_create): If centering the new window, use libgui's
304
        center_window to do it.
305
 
306
2001-05-18  Keith Seitz  
307
 
308
        * generic/gdbtk-hooks.c (gdbtk_wait): Change integer pid
309
        argument to match gdb's new "ptid_t" pids.
310
 
311
2001-05-14  Keith Seitz  
312
 
313
        * library/interface.tcl (gdbtk_quit_check): Don't save sessions
314
        here. It doesn't work for the Console Window.
315
        (gdbtk_cleanup): Save session information here.
316
        (gdbtk_tcl_exec_file_display): When files are loaded,
317
        get the full pathname to the exe.
318
 
319
2001-05-11  Tom Tromey  
320
 
321
        * library/prefs.tcl (pref_save): Fix bug when key in gdb space has
322
        extra `/' in it.
323
 
324
2001-05-11  Kevin Buettner  
325
 
326
        * generic/gdbtk-bp.c (set_raw_breakpoint): Revise declaration
327
        to match the recently changed declaration in breakpoint.c.
328
        Update all callers.
329
 
330
2001-05-11  Keith Seitz  
331
 
332
        * generic/gdbtk-bp.c (gdbtk_create_breakpoint): Safe guard
333
        against "invalid" (internal) breakpoint numbers.
334
        (gdbtk_modify_breakpoint): Ditto.
335
        (gdbtk_delete_breakpoint): Ditto.
336
 
337
2001-05-10  Keith Seitz  
338
 
339
        * generic/gdbtk-bp.c (gdb_set_bp): Generate a breakpoint event
340
        when we create a breakpoint. The hook is no longer used.
341
        (gdb_set_bp_addr): Ditto.
342
 
343
2001-05-10  Keith Seitz  
344
 
345
        * generic/gdbtk-bp.c (breakpoint_list, breakpoint_list_size): New
346
        variables. Gdb is forcing us to maintain our own breakpoint
347
        database.
348
        (Gdbtk_Breakpoint_Init): Initialize our breakpoint database.
349
        (gdb_find_bp_at_addr): Use our breakpoint database.
350
        (gdb_find_bp_at_line): Ditto.
351
        (gdb_get_breakpoint_list): Ditto.
352
        (gdb_get_breakpoint_info): Remove deleted breakpoint hack.
353
        (gdbtk_create_breakpoint): Moved here from gdbtk-hooks.c.
354
        Add breakpoint to our breakpoint database.
355
        (gdbtk_modify_breakpoint): Ditto the move.
356
        (gdbtk_delete_breakpoint): Ditto the move.
357
        Remove breakpoint from our database.
358
        (gdb_get_tracepoint_info): Remove delete tracepoint hack.
359
        It's not needed for tracepoints: they were implemented properly.
360
        (gdbtk_create_tracepoint): Moved here from gdbtk-hooks.c.
361
        (gdbtk_modify_tracepoint): Ditto.
362
        (gdbtk_delete_tracepoint): Ditto.
363
        * generic/gdbtk-hooks.c: Include "gdb-events.h".
364
        (gdbtk_create_breakpoint): Moved to gdbtk-bp.c
365
        (gdbtk_modify_breakpoint): Ditto.
366
        (gdbtk_delete_breakpoint): Ditto.
367
        (breakpoint_notify): Ditto.
368
        (gdbtk_create_tracepoint): Ditto.
369
        (gdbtk_modify_tracepoint): Ditto.
370
        (gdbtk_delete_tracepoint): Ditto.
371
        (tracepoint_notify): Ditto.
372
        (report_error): No longer static.
373
        (gdbtk_add_hooks): Create our own event handler
374
        vector and register breakpoint_create, breakpoint_modify,
375
        and breakpoint_delete handlers in gdbtk-bp.c.
376
 
377
2001-05-10  Keith Seitz  
378
 
379
        * generic/gdbtk-cmds.c: Put on diet. All breakpoint-,
380
        tracepoint-, register-, and stack-related functions moved
381
        into separate files.
382
        (call_wrapper): Renamed to "gdbtk_call_wrapper" and export.
383
        Update all callers.
384
        * generic/gdbtk.h: Move all breakpoint-related stuff into
385
        gdbtk-bp.c.
386
        Remove declaration for "call_wrapper". Now in gdbtk-cmds.h
387
        (and called "gdbtk_call_wrapper").
388
        * generic/gdbtk-varobj.c: Include "gdbtk-cmds.h".
389
        * generic/gdbtk-cmds.h: New file.
390
        * generic/gdbtk-bp.c: New file.
391
        * generic/gdbtk-register.c: New file.
392
        * generic/gdbtk-stack.c: New file.
393
 
394
2001-05-09  Keith Seitz  
395
 
396
        * library/interface.tcl (gdb_quit_hook): Remove. It's unused.
397
        (gdbtk_quit): Do no shutdown window manager and save
398
        preferences here.
399
        (gdbtk_cleanup): This is the proper place to do those
400
        things.
401
 
402
2001-05-07  Keith Seitz  
403
 
404
        * library/globalpref.itb (build_win): Preserve the
405
        current working directory.
406
 
407
2001-05-06  Kevin Buettner  
408
 
409
        * generic/gdbtk-cmds.c (gdb_target_has_execution_command)
410
        (get_clear_file): Use ptid_equal() for comparing ptid values.
411
        Use ``null_ptid'' instead of 0 in comparisons against
412
        ``inferior_ptid''.
413
 
414
        From Phil Edwards :
415
        * generic/gdbtk-cmds.c (gdb_target_has_execution_command)
416
        (get_clear_file): Rename ``inferior_pid'' to ``inferior_ptid''.
417
 
418
2001-05-01  Keith Seitz  
419
 
420
        * gdbtk.c (gdbtk_init): Include the command "warp_pointer"
421
        for all platforms. Used for testing ONLY.
422
 
423
        * util.tcl (gdbtk_read_defs): If there is an error reading
424
        the testsuite definition file, print the error message to
425
        stderr, not stdout. This will allow tcl to know that an error
426
        has occurred.
427
        (find_iwidgets_library): Make it work for running testsuites
428
        from installed directory.
429
 
430
        * main.tcl: If we failed to find iwidgets, check if the
431
        testsuite is running. If it is running, do not pop up
432
        a dialog box: just print out the error and exit.
433
        Initialize _test(verbose) for the testsuite.
434
 
435
2001-04-23  Keith Seitz  
436
 
437
        * generic/gdbtk-cmds.c (gdb_get_breakpoint_info): If unable
438
        to find the requested breakpoint for lookup, check if
439
        it is about to be deleted and return information about
440
        that breakpoint.
441
        (gdb_get_tracepoint_info): Ditto for tracepoints.
442
        * generic/gdbtk-hooks.c (gdbtk_deleted_bp): New global.
443
        (gdbtk_delete_breakpoint): Remember the deleted breakpoint
444
        for gdb_get_breakpoint_info, in case it is called during
445
        the event notification.
446
        (gdbtk_delete_tracepoints): Ditto for tracepoints.
447
 
448
        * generic/gdbtk-cmds.c (gdb_entry_point): Return an empty
449
        string when there is no active target (i.e., there is no
450
        entry point to return yet).
451
 
452
2001-04-20  Keith Seitz  
453
 
454
        * library/srctextwin.ith (handle_set_hook): Rename to set_variable.
455
        * library/srctextwin.itb (set_variable): Handle SetVariableEvent.
456
        (constructor): Remove gdb_set_hook.
457
        (destructor): Ditto.
458
        * library/srcbar.itcl: Inherit from GDBEventHandler.
459
        (set_hook): Rename to set_variable and handle SetVariableEvent.
460
        (constructor): Remove gdb_set_hook.
461
        (destructor): Ditto.
462
        * library/regwin.ith (handle_set_hook): Renamed to set_variable.
463
        * library/regwin.itb (set_variable): Handle SetVariableEvent.
464
        (constructor): Remove gdb_set_hook.
465
        (destructor): Ditto.
466
        * library/kod.ith (set_os): Renamed to "set_variable".
467
        * library/kod.itb (set_variable): Handle SetVariableEvent.
468
        (constructor): Remove gdb_set_hook.
469
        (destructor): Ditto.
470
        * library/tclIndex: Regenerated.
471
 
472
2001-04-20  Keith Seitz  
473
 
474
        * library/interface.tcl (gdbtk_tcl_set_variable): New proc.
475
        * library/gdbevent.ith (SetVariableEvent): New event.
476
        * library/gdbevent.itb (SetVariableEvent::get): Override
477
        GDBEvent::get.
478
        * library/ehandler.ith (set_variable): New public method.
479
        * generic/gdbtk-hooks.c (gdbtk_set_hook): Let inteface function
480
        gdbtk_tcl_set_variable do all the work.
481
        * tclIndex: Regenerated.
482
 
483
2001-04-19  Keith Seitz  
484
 
485
        * library/gdbevent.ith: New file. Defines new event model.
486
        * library/gdbevent.itb: New file. Implements new event
487
        model.
488
        * library/ehandler.ith: New file. Defines new event model.
489
        * library/ehandler.itb: New file. Implements new event
490
        model.
491
        * library/gdbwin.ith: Inherit from GDBEventHandler.
492
        (update): Delete unused method.
493
        (_state): Delete unused variable.
494
        * library/tclIndex: Regenerated.
495
 
496
        * generic/gdbtk-cmds.c (gdb_set_bp): Use create_breakpoint_hook
497
        to notify gui of changes.
498
        (gdb_set_bp_addr): Ditto.
499
        (gdb_get_breakpoint_info): Update comments to match reality.
500
        * generic/gdbtk-hooks.c (breakpoint_notify): Only pass the
501
        breakpoint number which generated the event.
502
        (tracepoint_notify): Ditto for tracepoints.
503
        * library/interface.tcl (gdb_breakpoint_change_hook): Mark
504
        as deprecated and comment out definition.
505
        (gdbtk_tcl_breakpoint): Use new GDBEvent event "breakpoint"
506
        to notify rest of UI about breakpoint event.
507
        (gdbtk_tcl_tracepoint): Ditto for "tracepoint" event.
508
        * library/bpwin.ith (update): Renamed to "breakpoint".
509
        (breakpoint): New public method.
510
        (tracepoint): New public method.
511
        (bp_add): Take event as argument instead of number.
512
        (bp_modify): Ditto.
513
        (bp_delete): Ditto.
514
        * library/bpwin.itb (constructor): Remove
515
        gdb_breakpoint_changed_hook.
516
        (destructor): Ditto.
517
        (build_win): Insert any existing breakpoints by
518
        making BreakpointEvents for them.
519
        (breakpoint): Renamed from "update" to handle
520
        breakpoint events.
521
        Remove code to deal with tracepoints.
522
        (tracepoint): New method to handle tracepoint
523
        events.
524
        (bp_add): Deal with breakpoint events, not breakpoint
525
        numbers.
526
        (bp_modify): Ditto.
527
        (bp_delete): Ditto.
528
        * library/srctextwin.ith: Inherit from GDBWin.
529
        (breakpoint): New public method.
530
        (tracepoint): New public method.
531
        * library/srctextwin.itb (constructor): Remove
532
        gdb_breakpoint_changed_hook.
533
        (destructor): Ditto.
534
        (breakpoint): New method to handle breakpoint event.
535
        (tracepoint): New method to handle tracepoint event.
536
        (do_bp): Handle duplicate breakpoints for asm, too.
537
        (remove_bp_at_line): Delete breakpoints by number, not
538
        linespec. clear_command removes breakpoints from the
539
        breakpoint_chain BEFORE deleting the breakpoint. delete_command
540
        does this afterward (so we can call gdb_get_breakpoint_info on
541
        an about-to-be-deleted breakpoint).
542
 
543
2001-04-18  Martin M. Hunt  
544
 
545
        * generic/gdbtk.c (gdbtk_init): Initialize uiout.
546
 
547
2001-04-18  Tom Tromey  
548
 
549
        * library/interface.tcl (run_executable): Use
550
        gdb_set_inferior_args.
551
        * library/session.tcl (session_load): Use gdb_set_inferior_args.
552
        * generic/gdbtk-cmds.c (Gdbtk_Init): Register
553
        gdb_set_inferior_args.
554
        (gdb_get_inferior_args): New function.
555
 
556
2001-04-17  Tom Tromey  
557
 
558
        * library/session.tcl (session_save): Use gdb_get_inferior_args.
559
        * generic/gdbtk-cmds.c (inferior_args): Removed.
560
        (Gdbtk_Init): Don't register gdb_inferior_args variable.  Do
561
        register gdb_get_inferior_args function.
562
        (gdb_get_inferior_args): New function.
563
 
564
2001-04-17  Fernando Nasser  
565
 
566
        * library/variables.tcl (update): Temporary fix to the detection of
567
        "type_changed" condition.  Proper fix will require that this condition
568
        is properly reported by the underlying code.
569
 
570
2001-04-12  Nicholas Duffek  
571
 
572
        * generic/gdbtk-cmds.c (gdb_entry_point): New TCL command.
573
        * library/interface.tcl (gdbtk_locate_main): Try the program's
574
        entry point if no main function is found.
575
 
576
2001-04-10  Keith Seitz  
577
 
578
        From Tom Tromey (tromey@redhat.com):
579
        * library/managedwin.itb (reveal): We actually do want to force
580
        the focus for Windows.
581
 
582
2001-04-09  Martin M. Hunt  
583
 
584
        * library/managedwin.itb (ManagedWin::reveal): After
585
        deiconifying window for the first time, set its geometry
586
        again, if the platform is unix. This fixes a problem with kde.
587
        (ManagedWin::_create): Set a variable with the initial
588
        geometry.
589
 
590
2001-04-04  Christopher Faylor  
591
 
592
        * generic/gdbtk.c: Add __CYGWIN__ conditional to WIN32 test.
593
 
594
2001-04-04  Martin M. Hunt  
595
 
596
        * generic/gdbtk-hooks.c (gdbtk_fileopen): New function.
597
        Initialize ui_file stuff for gdbtk.
598
        (gdbtk_fputs): Don't print if gdbtk_disable_fputs. Send
599
        stdlog and stdtarg to their handler functions.
600
 
601
        * generic/gdbtk.c (Gdbtk_Init): Don't set gdb_stdlog
602
        and gdb_stdtarg to gdb_stdout,
603
        (gdbtk_init): Unset gdbtk_disable_fputs
604
        when ready to accept output from gdb. Remove references to
605
        fputs_unfiltered_hook.
606
 
607
        * generic/gdbtk.h: Declare new flag gdbtk_disable_fputs.
608
 
609
        * generic/gdbtk-cmds.c (gdb_restore_fputs): Instead of setting
610
        fputs_unfiltered_hook, set the new flag gdbtk_disable_fputs.
611
 
612
        * library/prefs.tcl (pref_set_defaults): Add defaults
613
        for log_fg and target_fg.
614
 
615
        * library/interface.tcl (gdbtk_tcl_fputs_error): Use
616
        err_tag.
617
        (gdbtk_tcl_fputs_log): New function. Write log messages
618
        to console.
619
        (gdbtk_tcl_fputs_target): New function. Write target
620
        IO to console.
621
 
622
        * library/console.ith (einsert): Add tag parameter.
623
 
624
        * library/console.itb (_build_win): Add new tags for log
625
        and target IO.
626
        (einsert): Add tag parameter.
627
 
628
2001-04-02  Martin M. Hunt  
629
 
630
        * generic/gdbtk-cmds.c (gdb_loadfile): Adjust size of text_argv
631
        array to prevent writing out of range. Remove unused variables.
632
        Fix formatting.
633
        (gdb_get_tracepoint_info): Remove unused variable "fname".
634
        (gdb_load_disassembly): Remove unused variable "widget".
635
        (gdb_loc): Remove unused variable "sym".
636
        (gdb_set_bp_addr): Remove unused variable "line".
637
        (gdb_get_breakpoint_info): Remove unused variable "sym".
638
        (get_frame_name): Remove unused variable "name".
639
 
640
2001-03-29  Fernando Nasser  
641
 
642
        * library/variables.tcl (update): Cope with varobj type changes.
643
 
644
2001-03-29  Fernando Nasser  
645
 
646
        * library/variables.tcl (destructor): Remove file_changed_hook hook.
647
 
648
2001-03-29  Fernando Nasser  
649
 
650
        * generic/gdbtk-varobj.c (variable_obj_command): Do not cache varobj
651
        handles as they may change -- use varobj_get_handle() instead.
652
 
653
2001-03-15  Martin Hunt  
654
        * library/browserwin.itb: Change all references to freeze_me,
655
        thaw_me and Top to _freeze_me, _thaw_me, and _top to match
656
        changes to managedwin.
657
 
658
        * library/kod.itb: Ditto.
659
 
660
2001-03-15  Tom Tromey  
661
 
662
        * library/mempref.itb (MemPref::build_win): Correctly set initial
663
        value of combobox.
664
        * library/memwin.itb: Added copyright header.
665
        (MemWin::constructor): Set defaults from preference database.
666
        (MemWin::reconfig): Update preference database.
667
        * library/prefs.tcl (pref_save): Save `mem' preferences.
668
        (pref_set_defaults): Define default memory preferences.
669
 
670
2001-03-08  Andrew Cagney  
671
 
672
        * generic/gdbtk-cmds.c (map_arg_registers): Use REG_NUM instead of
673
        ARCH_REG_NUM.
674
 
675
2001-03-01  Nicholas Duffek  
676
 
677
        * README.GDBTK: Minor spelling, grammar, and formatting fixes.
678
 
679
2001-03-01  Keith Seitz  
680
 
681
        * library/managedwin.ith: Move all implementations into
682
        managedwin.itb.
683
        (public variable nosize): Delete.
684
        (freeze_me, thaw_me, make_icon_window): Prepend with
685
        underscore to remind people these are not public
686
        methods/procs.
687
        (protected variable Top, screenwidth, screenheight): Ditto
688
        for these variables.
689
        (protected common manage_active, mainwindow): Delete.
690
        (enable): Delete.
691
        (reconfig): Add empty body.
692
        * library/managedwin.itb: Move all implementations from
693
        header here.
694
        Update all references to renamed variables/methods/procs.
695
        (destructor, restart, shutdown, _open, find) Let
696
        Itcl tell us which ManagedWins we have lying around.
697
        (enable): Delete.
698
        (reconfig): It's empty. Moved empty body to header.
699
 
700
2001-03-01  Nicholas Duffek  
701
 
702
        * library/managedwin.itb (ManagedWin::shutdown): Save each
703
        managed window's geometry as a preference.
704
        * library/managedwin.ith (ManagedWin::destructor): Don't save
705
        managed windows' geometries as preferences.
706
 
707
2001-03-01  Nicholas Duffek  
708
 
709
        * library/srctextwin.itb (SrcTextWin::location): Clear previous
710
        pane's cursor after switching panes.
711
 
712
2001-03-01  Nicholas Duffek  
713
 
714
        * library/srctextwin.itb (config_win): Give focus to $win.
715
 
716
Tue Feb 27 23:56:23 2001  Andrew Cagney  
717
 
718
        * generic/gdbtk-cmds.c: Include recently created "regcache.h"
719
 
720
2001-02-27  Keith Seitz  
721
 
722
        * generic/gdbtk-cmds.c (gdb_fetch_registers): Mark
723
        the result as generating a list only if it really does
724
        generate a list.
725
 
726
2001-02-21  Fernando Nasser  
727
 
728
        * TODO: New file.  Initial version of the TODO file, as posted to the
729
        insight list circa October 2000.
730
 
731
2001-02-14  Fernando Nasser  
732
 
733
        From 2001-02-09  Martin Hunt  
734
        * generic/gdbtk-cmds.c (gdb_load_disassembly): In mixed
735
        mode, source lines should be tagged with source_tag2.
736
 
737
2001-02-08  Fernando Nasser  
738
 
739
        From 2001-02-06  Martin Hunt  
740
        * library/debugwin.itb: Change window name to "Insight Debug"
741
        * library/embeddedwin.ith: Fix debug messages.
742
        * library/locals.tcl: Ditto.
743
        * library/watch.tcl (postMenu): Ditto.
744
        * library/variables.tcl: Ditto.
745
        * library/interface.tcl: Ditto.
746
        * library/regwin.itb: Ditto.
747
        * library/gdbwin.ith: Ditto.
748
        * library/srcbar.itcl: Ditto.
749
 
750
2001-02-06  Fernando Nasser  
751
 
752
        Originally from Martin Hunt , with modifications
753
        * library/srcwin.itb (_name): Check for errors when invoking
754
        gdb_find_file.
755
        * library/srctextwin.itb (_mtime_changed, location): Ditto.
756
        * generic/gdbtk-cmds.c (gdb_find_file_command): Better error checking.
757
        (full_lookup_symtab): Fix misleading comment.
758
 
759
2001-02-04  Fernando Nasser  
760
 
761
        * library/plugins/plugins.tcl: Fix typos and remove "-transient"
762
        parameter from open command.
763
        * library/plugins/HOW-TO: New file.  Describes how to add a plug-in
764
        window to Insight.
765
 
766
2001-02-01  Fernando Nasser  
767
 
768
        * library/images/insight.gif: New splash screen/about graphics.
769
        * library/images2/insight.gif: New splash screen/about graphics.
770
        * library/about.tcl: Update copyright, window title and change colors
771
        to match new splash screen/about images.
772
 
773
2001-02-01  Fernando Nasser  
774
 
775
        * library/gdbtoolbar.itcl (add): New method.  Emulate the style of the
776
        toolbar iwidget commands.
777
        (toolbar_show): Old name.
778
        (show): New name.
779
        (toolbar_create_button): Old name.
780
        (create): New name.
781
        (toolbar_configure_button): Old name.
782
        (itemconfigure): New name.
783
        (toolbar_bind_button): Old name.
784
        (itembind): New name.
785
        (toolbar_set_button_balloon): Old name.
786
        (itemballoon): New name.
787
        (toolbar_add_button): Make private.
788
        (toolbar_add_label): Ditto.
789
        (toolbar_add_button_separator): Ditto.
790
        (toolbar_remove_button): Ditto.
791
        (tollbar_insert_button): Ditto.
792
        * library/srcbar.itcl: Adjust to the above syntax.
793
        * library/plugins/rhabout/rhabout.itcl: Ditto.
794
 
795
2001-02-01  Fernando Nasser  
796
 
797
        * library/gdbmenubar.itcl (constructor): Remove unused code.
798
        (add): New method.  Emulate the style of the menubar iwidget commands.
799
        (menubar_show): Old name.
800
        (show): New name.
801
        (menubar_menu_exists): Old name.
802
        (exists): New name.
803
        (menubar_clear_menu): Old name.
804
        (clear): New name.
805
        (menubar_delete_menu): Old name.
806
        (delete): New name.
807
        (menubar_new_menu): Make private.  Does not return anything.
808
        (menubar_add_menu_command): Make private.
809
        (menubar_add_menu_separator): Ditto.
810
        (menubar_change_menu_state): Ditto.
811
        * library/srcbar.itcl: Adjust to the above syntax.
812
        * library/plugins/plugins.tcl: Ditto.
813
        * library/plugins/rhabout/rhabout.itcl: Ditto.
814
 
815
2001-02-01  Fernando Nasser  
816
 
817
        * library/pluginwin.itcl (contrucdtor, destructor): Use "code" to
818
        specify callbacks.
819
        (running, stopped, no_inferior): Make it a protected method.
820
        (childsite): Explicitly mark as a public method.
821
        * library/plugins/rhabout/rhabout.itcl (constructor): Add a label
822
        widget to show status messages.
823
        (running, stopped): Overload versions of the base class; display
824
        status messages as an example.
825
 
826
2001-01-31  Fernando Nasser  
827
 
828
        * library/pluginwin.itcl: New file.  Implements the PluginWindow
829
        class that provides some basic functionality for plug-ins.
830
        * library/plugins/rhabout/rhabout.itcl: Inherit from the new
831
        PluginWindow class.  Remove code dependent on ModalDlg.
832
        (constructor): Creates menus and a toolbar to show how these
833
        PluginWindow components are used.
834
        * library/tclIndex: Regenerate.
835
 
836
2001-01-31  Fernando Nasser  
837
 
838
        * library/plugins/rhabout.tcl: Add load for optional sample C command
839
        procedure.
840
        * library/plugins/rhabout/rhabout.itcl (constructor): Try calling
841
        optional sample C command procedure rhabout_extra_text.
842
        * library/plugins/rhabout/rhabout.c: New file. Implement an example
843
        plug-in shared library with a sample C command procedure.
844
        * library/plugins/rhabout/Makefile: New file. Makefile for the sample
845
        shared library above (Linux only).
846
 
847
2001-01-28  Fernando Nasser  
848
 
849
        * library/plugins: New directory.  Sample plug-in directory to help
850
        developers of Insight plug-ins.  See README file in that directory.
851
        * library/plugins/plugins.tcl: New file. Sample version of a code
852
        fragment file which adds entries to the PlugIn menu of the Source
853
        Window to activate custom plug-in windows.
854
        * library/plugins/pkgIndex.tcl: New file.  Sample version of a file
855
        with package information for the installed plug-ins.
856
        * library/plugins/rhabout.tcl: New file. Sample file providing a
857
        plug-in package.
858
        * library/plugins/rhabout: New directory.  Sample plug-in.
859
        * library/plugins/rhabout/rhabout.itcl: New file.  Sample class
860
        implementing a plug-in window.
861
        * library/plugins/rhabout/tclIndex: New file.  Tcl index for the sample
862
        plug-in implementation.
863
 
864
2001-01-28  Fernando Nasser  
865
 
866
        * library/main.tcl: Add plugin subdirectory, if existent, to auto_path.
867
        * library/srcbar.itcl (create_plugin_menu): New method.  Create a pull
868
        down menu for plugins if there are any for this target configuration.
869
        (create_menu_items): Invoke the new method above.
870
 
871
2001-01-28  Fernando Nasser  
872
 
873
        * library/gdbmenubar.itcl (menubar_new_menu): Save lable of a menu to
874
        use as index.
875
        (menubar_delete_menu): New function.  Delete a menu.
876
 
877
2001-01-28  Fernando Nasser  
878
 
879
        * library/gdbmenubar.itcl (menu_list): Add missing declararion for
880
        global variable.
881
 
882
2001-01-28  Fernando Nasser  
883
 
884
        * library/gdbmenubar.itcl (set_class_state): Turn off verbose debug
885
        messages.
886
        * library/gdbtoolbar.itcl (set_class_state): Ditto.
887
 
888
2001-01-26  Fernando Nasser  
889
 
890
        * generic/gdbtk-cmds.c (gdb_clear_file): Call exec_file_clear() and
891
        symbol_file_clear() instead of exec_file_command() and
892
        symbol_file_command().
893
        (gdb_find_file_command): Return the proper error text.
894
 
895
2001-01-25  Fernando Nasser  
896
 
897
        * library/srcbar.itcl: New file. Implement SrcBar, a menu and toolbar
898
        for the Source Window (code previously in srcmenubar.itcl and
899
        srctoolbar.itcl).
900
        * library/srcmenubar.itcl: Remove obsolete file.
901
        * library/srctoolbar.itcl: Remove obsolete file.
902
        * library/srcbar.tcl: Remove obsolete file.
903
        * library/gdbmenubar.itcl (menubar_show): New method. Associate the
904
        menu with the toplevel window.
905
        * library/srcwin.itb (_build_win): Use SrcBar.
906
        * library/tclIndex: Regenerate.
907
 
908
2001-01-24  Fernando Nasser  
909
 
910
        From  Martin Hunt  
911
        * generic/gdbtk-cmds.c (gdb_set_bp_addr, gdb_set_bp): Change
912
        strsave() to xstrdup().
913
 
914
2001-01-24  Fernando Nasser  
915
 
916
        From  Martin Hunt  
917
        * generic/gdbtk-cmds.c (gdbtk_dis_asm_read_memory): Fix call
918
        to xfer_memory().
919
 
920
2001-01-19  Fernando Nasser  
921
 
922
        * library/prefs.tcl (pref_set_defaults): Set default value of
923
        gdb/src/top_control to place the source window controls at the top.
924
 
925
2001-01-18  Fernando Nasser  
926
 
927
        * library/srctextwin.itb (_highlightAsmLine): Add missing FUNCNAME
928
        parameter.
929
        (FillAssembly, FillMixed): Pass the FUNCNAME parameter that is
930
        needed by the above method.
931
        * library/srctextwin.ith (_highlightAsmLine): Add FUNCNAME parameter
932
        to method definition.
933
 
934
2001-01-17  Fernando Nasser  
935
 
936
        * library/srctextwin.itb (_highlightAsmLine): Add missing FILENAME
937
        parameter.
938
        (FillAssembly, FillMixed): Pass the FILENAME parameter that is
939
        needed by the above method.
940
        * library/srctextwin.ith (_highlightAsmLine): Add FILENAME parameter
941
        to method definition.
942
 
943
2001-01-15  Fernando Nasser  
944
 
945
        * srcwin.itb (clear_file): Pass the appropriate value to the GO
946
        argument of mode() so it does not try to read a source file when
947
        no executable is loaded.
948
 
949
2001-01-09  Fernando Nasser  
950
 
951
        * library/srcmenubar.itcl (create_file_menu): Add missing incr for
952
        session numbers.
953
 
954
2001-01-04  Fernando Nasser  
955
 
956
        The following changes fix the problem of having to click on a splash
957
        window to make it disapear.
958
        * modal.tcl (post): Take as an argument "expire", the time a modal
959
        window is displayed.
960
        * managedwin.itb (open): Check for an "expire" argument and pass the
961
        value down to modal post method.
962
 
963
2001-01-04  Fernando Nasser  
964
 
965
        * library/gdbmenubar.itcl (set_class_state): New public method.
966
        Standard method to control state by class.
967
        (menubar_menu_class_find): Delete public accessor method.
968
        (menubar_change_menu_state): Change the state of a menu item
969
        not of a whole class list.
970
        * library/srcmenubar.itcl (enable_ui): Use set_class_state instead
971
        of prying into base class internal data.
972
        * library/gdbtoolbar.itcl (set_class_state): New public method.
973
        Standard method to control state by class.
974
        (toolbar_button_class_find): Delete public accessor method.
975
        * library/srctoolbar.itcl (enable_ui): Use set_class_state instead
976
        of prying into base class internal data.
977
 
978
2001-01-04  Fernando Nasser  
979
 
980
        * library/interface.tcl (gdbtk_connect): New proc. Connects to ai
981
         remote target (code previously at library/gdbmenubar.itcl).
982
        (disconnect): Rename to...
983
        (gdbtk_disconnect): New name for proc disconnect.
984
        * library/srcmenubar.itcl (do_connect): Remove the code mentioned
985
        above and call the new interface proc gdbtk_connect.
986
        Also, call ::update idletasks after changing the state of the
987
        menu entries.
988
        (do_detach): Call gdbtk_disconnect, not ::disconnect (old name).
989
        (do_disconnect): Call gdbtk_disconnect, not disconnect (old name).
990
 
991
2001-01-03  Fernando Nasser  
992
 
993
        * library/prefs.tcl (pref_set_defaults): Define gdb/src/top_control
994
        to allow the source window controls to be placed at the top.
995
        * library/srcwin.itb (_build_win): Test for gdb/src/top_control
996
        and place the controls accordingly.
997
 
998
2001-01-02  Fernando Nasser  
999
 
1000
        * library/gdbmenubar.itcl: New file. Define the GDBMenuBar class,
1001
        a generic menubar building facility for Insight windows (WIP).
1002
        * library/gdbtoolbar.itcl: New file. Define the GDBToolBar class,
1003
        a generic toolbar building facility for Insight windows (WIP).
1004
        * library/srcmenubar.itcl: New file. Define the SrcMenuBar class,
1005
        which implements the Source Window menubar (inherits GDBMenuBar).
1006
        * library/srctoolbar.itcl: New file. Define the SrcToolBar class,
1007
        which implements the Source Window toolbar (inherits GDBToolBar).
1008
        * library/srcwin.itb (_build_win): Use SrcMenuBar and SrcToolBar
1009
        instead of the obsolete GDBSrcBar.
1010
        * library/srcbar.tcl: Mark as OBSOLETE.
1011
        * library/toolbar.tcl: Mark as OBSOLETE. Rename class GDBToolBar
1012
        to avoid conflict with new class with the same name.
1013
        * library/Makefile (TCL): Include .itcl files.
1014
        * library/tclIndex: Regenerate.
1015
 
1016
2001-01-02  Fernando Nasser  
1017
 
1018
        * library/srcwin.itb (_build_win): If gdb is running a program, load
1019
        the window with source for that location (if available).
1020
        (download_progress): Calls to "update" must refer to the global
1021
        namespace.
1022
 
1023
2001-01-02  Fernando Nasser  
1024
 
1025
        * library/interface.tcl (gdbtk_quit_check): Save session whenever
1026
        possible.
1027
 
1028
2001-01-01  Fernando Nasser  
1029
 
1030
        * library/ChangeLog-2000: New file. Entries dated 2000 moved here
1031
        from library/ChangeLog.
1032
        * library/ChangeLog: Removed.
1033
        * generic/ChangeLog-2000: New file. Entries dated 2000 moved here
1034
        from library/ChangeLog.
1035
        * generic/ChangeLog: Removed.
1036
 
1037
2000-12-14  Fernando Nasser  
1038
 
1039
        * library/ChangeLog-1999: New file. Entries dated 1999 moved here
1040
        from library/ChangeLog.
1041
        * library/ChangeLog-1998: New file.  Similar change for 1998.
1042
        * library/ChangeLog-1997: New file.  Similar change for 1997.
1043
        * library/ChangeLog: Removed entries previous to 2000.
1044
        * generic/ChangeLog-1999: New file. Entries dated 1999 moved here
1045
        from library/ChangeLog.
1046
        * generic/ChangeLog-1998: New file.  Similar change for 1998.
1047
        * generic/ChangeLog-1997: New file.  Similar change for 1997.
1048
        * generic/ChangeLog: Removed entries previous to 2000.
1049
 
1050
2000-04-17  Jonathan Larmour  
1051
 
1052
        * ChangeLog-gdbtk: Renamed to ChangeLog
1053
        * ChangeLog: New file
1054
        * README.GDBTK: No need for changelog-default-name hint for Emacs now
1055
 
1056
Sat Feb  5 00:14:30 2000  Andrew Cagney  
1057
 
1058
        * gdb.rc, gdbtool.ico, README.GDBTK: To here from top level GDB
1059
        directory.
1060
        * gdb/gdbtcl2: Directory moved to gdbtk/library.
1061
        * gdb/gdbtk/generic: New directory.
1062
 

powered by: WebSVN 2.1.0

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