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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gdb-6.8/] [gdb/] [tui/] [ChangeLog-1998-2003] - Blame information for rev 818

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 24 jeremybenn
2003-09-27  Andrew Cagney  
2
 
3
        * tuiRegs.c: Rename REGISTER_RAW_SIZE to
4
        DEPRECATED_REGISTER_RAW_SIZE.
5
 
6
2003-09-13  Andrew Cagney  
7
 
8
        * tui.h (struct ui_file): Add opaque declaration.
9
 
10
2003-08-04  Daniel Jacobowitz  
11
 
12
        * tui-interp.c: Include "cli-out.h".
13
        (tui_resume): Update tui_old_uiout's stream to gdb_stdout.
14
 
15
2003-07-24  Stephane Carrez  
16
 
17
        * tui.c (tui_rl_other_window): New function to switch the TUI active
18
        window and give focus to a next window.
19
        (tui_initialize_readline): Bind it to c-x o.
20
        (tui_rl_next_keymap): Activate TUI mode when entering SingleKey mode.
21
 
22
2003-07-23  Stephane Carrez  
23
 
24
        * tui.c (tui_enable): Call tuiRefreshAll to make sure the window
25
        is accurate.
26
 
27
2003-07-23  Stephane Carrez  
28
 
29
        * tui-interp.c (tui_resume): Enable tui when we expected it.
30
        (tui_suspend): Remember in which TUI mode we are.
31
        (_initialize_tui_interp): Use the tui interpreter even when no
32
        other interpreter was set and define in which TUI mode to start.
33
 
34
2003-06-28  Daniel Jacobowitz  
35
 
36
        * tui-out.c (tui_ui_out_impl): Add NULL for redirect member.
37
 
38
2003-06-22  Daniel Jacobowitz  
39
 
40
        * tui-hooks.c: Update include order.
41
        * tui.c: Likewise.
42
        * tuiCommand.c: Likewise.
43
        * tuiData.c: Likewise.
44
        * tuiDataWin.c: Likewise.
45
        * tuiDisassem.c: Likewise.
46
        * tuiGeneralWin.c: Likewise.
47
        * tuiIO.c: Likewise.
48
        * tuiLayout.c: Likewise.
49
        * tuiRegs.c: Likewise.
50
        * tuiSource.c: Likewise.
51
        * tuiSourceWin.c: Likewise.
52
        * tuiStack.c: Likewise.
53
        * tuiWin.c: Likewise.
54
 
55
2003-06-12  Andreas Schwab  
56
 
57
        * tuiSource.c (tuiVerticalSourceScroll): Use get_frame_pc.
58
        * tuiSourceWin.c (tuiHorizontalSourceScroll): Likewise.
59
        * tuiStack.c (tui_get_function_from_frame): Likewise.
60
        (tuiShowFrameInfo): Likewise.
61
        * tuiWin.c (_makeVisibleWithNewHeight): Likewise.
62
        * tui-hooks.c (tui_selected_frame_level_changed_hook): Likewise.
63
        * tuiDisassem.c (tuiVerticalDisassemScroll): Likewise.
64
        Include "disasm.h".
65
 
66
2003-05-08  Andrew Cagney  
67
 
68
        * tuiRegs.c: Use MAX_REGISTER_SIZE instead of
69
        MAX_REGISTER_RAW_SIZE.
70
 
71
2003-05-03  Andrew Cagney  
72
 
73
        * tuiDisassem.c (tui_disassemble): Call gdb_print_insn, instead of
74
        TARGET_PRINT_INSN.  Do not initialize a disassemble_info object.
75
 
76
2003-04-30  Andrew Cagney  
77
 
78
        * tuiDisassem.c (tui_disassemble): Use
79
        "deprecated_tm_print_insn_info" instead of TARGET_PRINT_INSN_INFO,
80
        add comment.
81
 
82
2003-03-14  Andrew Cagney  
83
 
84
        * tuiRegs.c (_tuiGetRegisterRawValue): Use frame_read_register,
85
        instead of get_saved_register.
86
 
87
2003-03-13  Stephane Carrez  
88
 
89
        * tui-out.c (tui_out_data): Fix typedef.
90
 
91
2003-03-08  Andrew Cagney  
92
 
93
        * tui-out.c: Update copyright.
94
        (tui_out_data): Define typedef.  Use instead of ui_out_data.
95
 
96
2003-02-14  Andrew Cagney  
97
 
98
        * tui.c (tui_enable, tui_disable): Don't modify tui_version.
99
        (tui_is_window_visible, tui_get_command_dimension): Test
100
        tui_active instead of tui_version.
101
        * tuiData.h (tui_version): Delete declaration.
102
        * tui-hooks.c (tui_init_hook, tui_event_loop): Delete function,
103
        moved to "tui-interp.c".
104
        (tui_exit, tui_command_loop): Ditto.
105
        (_initialize_tui): Don't initialize init_ui_hook.  Initialize
106
        target_new_objfile_hook.
107
        * tui-interp.c: New file.
108
 
109
2003-02-12  Andrew Cagney  
110
 
111
        * tuiIO.c (tui_prep_terminal): Add one notused parameter.
112
        * tui.c (tui_rl_switch_mode): Add two notused parameters.
113
        (tui_rl_change_windows, tui_rl_next_keymap): Ditto.
114
        (tui_rl_delete_other_windows): Ditto.
115
        (tui_rl_change_windows, tui_rl_delete_other_windows): Update
116
        calls.
117
 
118
2002-12-08  Elena Zannoni  
119
 
120
       Import of readline 4.3.
121
       Fix PR gdb/675
122
       * tuiWin.c: Include readline/readline.h.
123
       (tui_update_gdb_sizes): Use accessor function rl_get_screen_size.
124
       (tuiResizeAll): Ditto.
125
 
126
2002-12-06  Elena Zannoni  
127
 
128
        * tuiStack.c (tuiShowFrameInfo): Fix typo.
129
 
130
2002-11-29  Andrew Cagney  
131
 
132
        * tui/tui-hooks.c: Update to use deprecated_selected_frame.
133
        * tui/tui.c, tui/tuiDisassem.c, tui/tuiRegs.c: Ditto.
134
        * tui/tuiSource.c, tui/tuiSourceWin.c, tui/tuiWin.c: Ditto.
135
 
136
2002-11-28  Andrew Cagney  
137
 
138
        * tuiStack.c (tuiShowFrameInfo): Use find_frame_sal instead of
139
        find_pc_line.
140
 
141
2002-11-23  Andrew Cagney  
142
 
143
        * tuiStack.c (tuiShowFrameInfo): Use get_frame_type instead of
144
        deprecated_frame_in_dummy.  Fix coding style.
145
 
146
2002-11-21  Stephane Carrez  
147
 
148
        * tui-hooks.c (tui_init_hook): Don't enable the TUI if a specific
149
        interpreter is installed.
150
 
151
2002-11-18  Andrew Cagney  
152
 
153
        * tuiStack.c (tuiShowFrameInfo): Use get_frame_type instead of
154
        signal_handler_caller.
155
 
156
2002-11-10  Andrew Cagney  
157
 
158
        * tuiStack.c (tuiShowFrameInfo): Replace frame_in_dummy with
159
        deprecated_frame_in_dummy.
160
 
161
2002-10-26  Stephane Carrez  
162
 
163
        * tuiIO.c (tui_prep_terminal): Save the prompt registered in readline.
164
        (tui_redisplay_readline): Use the last saved prompt.
165
        (tui_rl_saved_prompt): New.
166
 
167
2002-10-25  Stephane Carrez  
168
 
169
        Fix PR gdb/787
170
        * tuiWin.c (ACS_LRCORNER, ACS_LLCORNER, ACS_ULCORNER, ACS_URCORNER,
171
        ACS_HLINE, ACS_VLINE): Define if they don't exist.
172
 
173
2002-10-25  Stephane Carrez  
174
 
175
        Fix PR gdb/478
176
        * tuiIO.c (tui_initialize_io): Use setvbuf since this is portable.
177
 
178
2002-10-02  Elena Zannoni  
179
 
180
        * tui-hooks.c (selected_frame_level_changed_hook): Use the one
181
        exported from frame.h.
182
 
183
2002-09-29  Elena Zannoni  
184
 
185
        * tui.c (tui_show_source): Don't access current_source_symtab, use
186
        accessor function instead.  Include source.h and symtab.h
187
        * tuiDisassem.c (tuiShowDisassemAndUpdateSource,
188
        tuiVerticalDisassemScroll): Use accessor functions for current
189
        source line and symtab.  Include source.h.
190
        * tuiLayout.c (_extractDisplayStartAddr): Use accessor functions
191
        for current source line and symtab.  Include source.h.
192
        * tuiWin.c (_makeVisibleWithNewHeight): Ditto.
193
        * tuiSourceWin.c (tuiUpdateSourceWindowAsIs,
194
        tuiHorizontalSourceScroll): Ditto.
195
        * tuiSource.c (tuiVerticalSourceScroll): Ditto.
196
 
197
2002-09-13  Stephane Carrez  
198
 
199
        * tui.c (tui_rl_switch_mode): Remove unecessary TUI switch printfs.
200
        (tui_initialize_readline): Allow to use space to leave SingleKey
201
        to enter one gdb command.
202
        (tui_enable): Restore the TUI keymap when we are back to TUI.
203
        (tui_disable): Restore normal keymap when leaving TUI.
204
        * tuiIO.c (tui_redisplay_readline): Restore the SingleKey mode
205
        when the buffer becomes empty and we are in tui_one_command_mode.
206
 
207
2002-09-13  Stephane Carrez  
208
 
209
        * tuiIO.c (tui_setup_io): rl_already_prompted must be cleared
210
        when leaving TUI mode so that gdb prompt is displayed.
211
 
212
2002-09-13  Stephane Carrez  
213
 
214
        * tuiStack.c (tui_make_status_line): Make sure the local buffer
215
        is large enough to hold the complete line.
216
 
217
2002-09-10  Stephane Carrez  
218
 
219
        * tui-hooks.c (tui_event_loop): New function.
220
        (tui_command_loop): New function to override gdb loop and make sure
221
        uiout is set according to TUI mode.
222
        (tui_command_loop): Install the specific TUI command hook.
223
        * tuiIO.c (tui_initialize_io): Initialize tui_old_uiout.
224
        (tui_uiout, tui_old_uiout): Make public.
225
        * tuiIO.h (tui_uiout, tui_old_uiout): Declare.
226
 
227
2002-09-04  Stephane Carrez  
228
 
229
        * tuiIO.c (tui_putc): New function to print one character.
230
        (printable_part): New function from readline/complete.c.
231
        (PUTX): New macro, likewise.
232
        (print_filename): New function, likewise.
233
        (get_y_or_n): New function, likewise and adapted for TUI.
234
        (tui_rl_display_match_list): New function from readline/complete.c
235
        and writes on TUI command window.
236
        (tui_setup_io): Install or remove the readline hook
237
        rl_completion_display_matches_hook so that completion is written
238
        directly in TUI command window instead of in the TUI pipe.
239
        (tui_initialize_io): Use #ifdef TUI_USE_PIPE_FOR_READLINE for the
240
        TUI redirection pipe.
241
        (tui_getc): Likewise for call to tui_readline_output.
242
        (tui_readline_output): Likewise for function.
243
        * tui.c (tui_rl_startup_hook): Always take care of gdb prompt.
244
 
245
2002-09-02  Stephane Carrez  
246
 
247
        * tuiWin.c (_newHeightOk): Fix compilation warnings.
248
 
249
2002-09-01  Stephane Carrez  
250
 
251
        * tuiWin.c (_tuiAllWindowsInfo): Don't crash if the window
252
        is not displayed.
253
 
254
2002-09-01  Stephane Carrez  
255
 
256
        * tui-out.c (tui_out_new): Clear start_of_line.
257
        * tuiSource.c (tuiVerticalSourceScroll): Use print_source_lines
258
        to update the current source line.
259
 
260
2002-09-01  Stephane Carrez  
261
 
262
        * tui-hooks.c (tui_detach_hook): New hook to know when a process dies.
263
        (tui_install_hooks): Install it.
264
        (tui_remove_hooks): Remove it.
265
 
266
2002-09-01  Stephane Carrez  
267
 
268
        * tuiData.h (FILE_PREFIX): Don't define.
269
        (blankStr, locationStr, breakStr): Don't declare.
270
        (breakLocationStr, nullStr, historyLimit, setHistoryLimitTo): Likewise.
271
        (displayableWinContentOf, displayableWinContentAt): Likewise.
272
        (winElementHeight, winByName, freeAllWindows): Likewise.
273
 
274
        * tuiData.c (blankStr, locationStr, breakStr): Remove.
275
        (breakLocationStr, nullStr, historyLimit, setHistoryLimitTo): Remove.
276
        (displayableWinContentOf, displayableWinContentAt): Remove.
277
        (winElementHeight, winByName, freeAllWindows): Remove.
278
 
279
2002-09-01  Stephane Carrez  
280
 
281
        * tuiStack.c (tui_make_status_line): New function to create the
282
        status line.
283
        (tuiShowLocatorContent): Use it instead of displayableWinContentAt.
284
        * tuiData.h (PROC_PREFIX): Use "In:" to reduce length of prefix.
285
        (PC_PREFIX): Use upper case.
286
        (SINGLE_KEY, MIN_LINE_WIDTH, MIN_PROC_WIDTH): Define.
287
        (MAX_TARGET_WIDTH, MAX_PID_WIDTH): Define.
288
 
289
2002-08-31  Stephane Carrez  
290
 
291
        * tuiSourceWin.h (tuiUpdateAllExecInfos): Don't declare.
292
        (tuiClearAllExecInfosContent): Likewise.
293
        (tuiEraseAllExecInfosContent): Ditto.
294
        (tuiUpdateSourceWindowsFromLocator): Ditto.
295
        * tuiSourceWin.c (tuiUpdateAllExecInfos): Remove.
296
        * tui.h (tui_vCheckDataValues): Don't declare.
297
        (tui_vStartNewLines, tui_vAllSetHasBreakAt): Likewise.
298
        (tui_vUpdateLocatorFilename, tui_vUpdateSourceWindowsWithAddr): Ditto.
299
        (tui_vShowFrameInfo): Ditto.
300
 
301
2002-08-31  Stephane Carrez  
302
 
303
        * tui.c (tui_commands): Table of single key commands.
304
        (tui_rl_command_key): New function to execute gdb command.
305
        (tui_rl_command_mode): New function to temporarily leave SingleKey.
306
        (tui_rl_next_keymap): New function to enter/leave the SingleKey mode.
307
        (tui_rl_startup_hook): New function to avoid prompt display by
308
        readline functions.
309
        (tui_set_key_mode): New function to set the key mode and install
310
        the readline keymap.
311
        (tui_initialize_readline): Create TUI SingleKey readline map.
312
        (tui_enable): Install rl_startup_hook.
313
        (tui_disable): Remove it.
314
        * tui.h (enum tui_key_mode): Declare.
315
        (tui_set_key_mode, tui_current_key_mode): Declare.
316
        * tuiIO.c (tui_redisplay_readline): Don't display the prompt in
317
        SingleKey mode.
318
        * tuiIO.h (tui_redisplay_readline): Declare.
319
 
320
2002-08-31  Stephane Carrez  
321
 
322
        * tuiSourceWin.c (tuiSetIsExecPointAt): Redraw the previous and
323
        current line.
324
 
325
2002-08-31  Stephane Carrez  
326
 
327
        * tuiSource.c (tuiSetSourceContent): Remove old breakpoint code.
328
        (_hasBreak): Remove.
329
        (tuiShowSource): Fix comment indentation.
330
        (tuiSourceIsDisplayed): Likewise.
331
        (tuiVerticalSourceScroll): Likewise.
332
 
333
2002-08-30  Stephane Carrez  
334
 
335
        * tuiSourceWin.h (tui_update_all_breakpoint_info): Declare.
336
        (tui_update_breakpoint_info): Declare.
337
        (tuiSetHasBreakAt, tuiAllSetHasBreakAt): Remove.
338
 
339
        * tuiSourceWin.c (tuiUpdateSourceWindowAsIs): Update breakpoint
340
        information using tui_update_breakpoint_info.
341
        (tui_update_all_breakpoint_info): New function to refresh all
342
        execution windows.
343
        (tui_update_breakpoint_info): New function to recompute the status
344
        of exec info window from breakpoints.
345
        (tuiSetHasBreakAt, tuiAllSetHasBreakAt): Remove.
346
        (tuiSetExecInfoContent): Use the exec info flags computed by
347
        tui_update_breakpoint_info to display a short status about breakpoints.
348
 
349
        * tuiData.h (TuiExecInfoContent): New for exec info string.
350
        (TuiWhichElement): Use it.
351
        (TUI_BP_ENABLED, TUI_BP_DISABLED, TUI_BP_HIT): New defines.
352
        (TUI_BP_CONDITIONAL, TUI_BP_HARDWARE): New defines.
353
        (TUI_BP_HIT_POS, TUI_BP_BREAK_POS, TUI_EXEC_POS): Likewise.
354
        (TUI_EXECINFO_SIZE): Likewise.
355
        * tuiData.c (initContentElement): Clear exec info string.
356
 
357
        * tui-hooks.c (get_breakpoint): Remove.
358
        (tui_event_create_breakpoint): Call tui_update_all_breakpoint_info.
359
        (tui_event_delete_breakpoint): Likewise.
360
        (tui_event_modify_breakpoint): Likewise.
361
 
362
2002-08-29  Stephane Carrez  
363
 
364
        * tui.c (tuiGetLowDisassemblyAddress): Moved from here.
365
        * tuiDisassem.c (tuiGetLowDisassemblyAddress): To here, and use
366
        tui_find_disassembly_address to find the starting address of
367
        disassemble window.
368
 
369
2002-08-28  Stephane Carrez  
370
 
371
        * tuiDisassem.c (tui_disassemble): New function to disassemble
372
        several lines in a buffer.
373
        (tui_find_disassembly_address): New function to search backward
374
        or forward a disassembly line.
375
        (tuiSetDisassemContent): Use tui_disassemble to obtain the real
376
        content and format it in the window.
377
        (tuiShowDisassemAndUpdateSource): Remove unused locals.
378
        (tuiVerticalDisassemScroll): Use tui_find_disassembly_address to
379
        obtain the address to disassemble for the scrolling.
380
        * tuiDisassem.h (tuiGetBeginAsmAddress): Update.
381
        * tuiSourceWin.c (tuiUpdateSourceWindowAsIs): Don't pass symtab.
382
 
383
2002-08-28  Stephane Carrez  
384
 
385
        * tuiIO.c (CTRL_CHAR): Redefine and use readline 4.3 definition.
386
 
387
2002-08-26  Stephane Carrez  
388
 
389
        Fix PR gdb/393:
390
        * tui.c (tui_disable): Update gdb's knowledge of its terminal
391
        using target_terminal_save_ours.
392
        (tui_enable): Likewise.
393
 
394
2002-08-25  Stephane Carrez  
395
 
396
        * tui.c (tui_rl_switch_mode): Renames tui_switch_mode.
397
        (tui_rl_change_windows): Renames tui_change_windows.
398
        (tui_rl_delete_other_windows): Renames tui_delete_other_windows.
399
        (tui_initialize_readline): Update.
400
 
401
2002-08-25  Stephane Carrez  
402
 
403
        * tuiDisassem.c (tuiSetDisassemContent): Use breakpoint_here_p.
404
        (_hasBreak): Remove.
405
 
406
2002-08-25  Stephane Carrez  
407
 
408
        * tuiDisassem.c (tuiGetBeginAsmAddress): Use lookup_minimal_symbol
409
        to find symbol address.
410
 
411
2002-08-25  Stephane Carrez  
412
 
413
        * tuiSourceWin.c (tui_display_main): Rename from tuiDisplayMainFunction
414
        and use tuiGetBeginAsmAddress.
415
        * tuiSourceWin.h (tui_display_main): Declare.
416
        * tui.h (tuiDisplayMainFunction): Remove.
417
        * tui-hooks.c (tui_new_objfile_hook): Update.
418
 
419
2002-08-25  Stephane Carrez  
420
 
421
        * tuiSource.h (m_tuiShowSourceAsIs): Remove macro.
422
        (tuiShowSourceAsIs): Don't declare.
423
 
424
2002-08-25  Stephane Carrez  
425
 
426
        * tui-hooks.c (tui_selected_frame_level_changed_hook): Always update
427
        the frame position.
428
 
429
2002-08-25  Stephane Carrez  
430
 
431
        * tuiStack.c (tuiSetLocatorContent): Remove.
432
        (tuiUpdateLocatorInfoFromFrame): Remove.
433
        (tui_set_locator_info): Allocate the content buffer if necessary.
434
        (tui_set_locator_filename): Call tui_set_locator_info directly.
435
        (tuiShowFrameInfo): Likewise and use find_pc_line instead of
436
        find_pc_symtab.
437
 
438
2002-08-25  Stephane Carrez  
439
 
440
        * tuiSourceWin.c (tuiDisplayMainFunction): Update to use
441
        tuiUpdateLocatorFilename.
442
        * tuiStack.c (tuiSetLocatorInfo): Make it static.
443
        (tuiSetLocatorContent): Likewise.
444
        (tuiUpdateLocatorInfoFromFrame): Likewise.
445
        (tuiSwitchFilename): Remove.
446
        (tui_set_locator_filename): New function
447
        (tui_set_locator_info): Rename from tuiSetLocatorInfo to GNU-ify;
448
        use tui_set_locator_filename to record the filename.
449
        (tuiUpdateLocatorFilename): Likewise.
450
        (tuiUpdateLocatorInfoFromFrame): Update.
451
        (tuiSetLocatorContent): Likewise.
452
        * tuiStack.h (tuiClearLocatorContent): Don't declare.
453
        (tuiSetLocatorInfo, tuiSetLocatorContent): Likewise.
454
        (tuiUpdateLocatorInfoFromFrame, tuiSwitchFilename): Likewise.
455
 
456
2002-08-25  Stephane Carrez  
457
 
458
        * tuiSourceWin.c (tuiSetHasBreakAt): Use filename for breakpoint
459
        comparison; cleanup.
460
        * tuiSource.c (tuiSetSourceContent): Set window title and filename.
461
        * tuiGeneralWin.c (boxWin): Print optional title on top of window.
462
        * tuiData.h (TuiSourceInfo): Add filename member.
463
        (TuiGenWinInfo): Add title member.
464
        * tuiData.c (initGenericPart): Clear title.
465
        (freeWindow): Free title and filename; remove unused locals.
466
        (initWinInfo): Clear filename.
467
        (tuiDelWindow): Free it; remove unused locals.
468
 
469
2002-08-25  Stephane Carrez  
470
 
471
        * tuiStack.h (tuiGetLocatorFilename): Don't declare.
472
        (tuiUpdateLocatorDisplay): Likewise.
473
        * tuiStack.c (tuiGetLocatorFilename): Remove.
474
        (tuiShowFrameInfo): Use tuiSetLocatorContent and tuiShowLocatorContent
475
        instead of tuiUpdateLocatorDisplay.
476
        (tuiUpdateLocatorDisplay): Remove.
477
 
478
2002-08-25  Stephane Carrez  
479
 
480
        * tuiStack.h (tuiClearLocatorDisplay): Don't declare.
481
        * tuiStack.c (tuiClearLocatorDisplay): Remove.
482
        (tuiShowLocatorContent): Use wclrtoeol to clear end of status line.
483
        (tuiUpdateLocatorDisplay): Don't call tuiClearLocatorDisplay.
484
 
485
2002-08-25  Stephane Carrez  
486
 
487
        * tuiStack.c (tui_get_function_from_frame): Rename from
488
        _getFuncNameFromFrame; use print_address_symbolic to get symbolic
489
        name of address.
490
        (tuiUpdateLocatorInfoFromFrame): Update.
491
 
492
2002-08-25  Stephane Carrez  
493
 
494
        * tuiRegs.c (tuiDisplayRegistersFrom): Remove unused locals.
495
        (_tuiRegisterFormat, _tuiSetSpecialRegsContent): Likewise.
496
        (_tuiSetGeneralAndSpecialRegsContent): Likewise.
497
        (_tuiSetFloatRegsContent): Likewise.
498
        (_tuiRegisterName): Return a const char*.
499
        * tuiData.h (_TuiDataElement): Use const char* for name.
500
 
501
2002-08-25  Stephane Carrez  
502
 
503
        * tuiSourceWin.h (tuiEraseAllSourceContent): Don't declare.
504
        (tuiShowAllExecInfosContent): Likewise.
505
        * tuiSourceWin.c (tuiEraseAllSourceContent): Remove.
506
        (tuiShowAllExecInfosContent): Remove.
507
        (tuiAllocSourceBuffer): Remove unused locals.
508
 
509
2002-08-25  Stephane Carrez  
510
 
511
        * tuiStack.c (tui_update_command): Rename _tuiUpdateLocation_command
512
        to follow other gdb's command names; use execute_command; cleanup.
513
        (_initialize_tuiStack): Update.
514
 
515
2002-08-25  Stephane Carrez  
516
 
517
        * tuiWin.h (tui_update_gdb_sizes): Declare.
518
 
519
2002-08-24  Stephane Carrez  
520
 
521
        * tui.c (strcat_to_buf): Use const char* for source item.
522
        (tui_enable): Update the windows if there is a selected frame.
523
        * tui.h (strcat_to_buf): Update prototype.
524
        (strcat_to_buf_with_fmt): Remove.
525
 
526
2002-08-24  Stephane Carrez  
527
 
528
        * tuiWin.c (tui_update_gdb_sizes): New function to tell gdb what
529
        is the size of command window.
530
        (tuiResizeAll): Call it instead of init_page_info.
531
        * tui.c (tui_enable): Call it to resize to TUI command window.
532
        (tui_disable): Likewise for plain screen.
533
 
534
2002-08-24  Stephane Carrez  
535
 
536
        * tui.c (tui_enable): Use tuiSetLayout instead of showLayout and
537
        use tuiShowFrameInfo instead of tuiSetLocatorContent.
538
        * tuiLayout.h (showLayout): Remove.
539
        * tuiLayout.c (_showSourceOrDisassemAndCommand): Remove unused locals.
540
        (_showSourceDisassemCommand): Likewise.
541
        (showLayout): Make it static.
542
        (lastLayout): Remove.
543
 
544
2002-08-24  Stephane Carrez  
545
 
546
        * tuiSourceWin.c (tui_show_source_line): New function.
547
        (tuiShowSourceContent): Call it and avoid clearing the window before
548
        redrawing it.
549
        (tuiClearAllSourceWinsContent): Remove.
550
        * tuiSourceWin.h (tuiClearAllSourceWinsContent): Don't declare.
551
        * tuiWin.h (tuiClearWinFocus, tuiClearWinFocusFrom): Don't declare.
552
        * tuiWin.c (tuiClearWinFocus, tuiClearWinFocusFrom): Remove.
553
        (tuiRefreshAll): Don't clear the window.
554
        (_makeVisibleWithNewHeight): Don't clear locator line.
555
        (tuiResizeAll): Remove unused locals.
556
        (_tuiAdjustWinHeights): Likewise.
557
        (_makeInvisibleAndSetNewHeight): Likewise.
558
        (_newHeightOk): Likewise.
559
        * tuiLayout.c (showLayout): Don't clear source windows.
560
        (tuiSetLayout): Don't clear the window.
561
        (_initAndMakeWin): Likewise for status line.
562
        * tuiGeneralWin.c (makeVisible): Don't clear or refresh the window.
563
        (makeWindow): Likewise.
564
        (tuiClearWin): Remove.
565
        * tuiGeneralWin.h (tuiClearWin): Don't declare.
566
 
567
2002-08-24  Stephane Carrez  
568
 
569
        * tuiSourceWin.c (tuiSrcWinIsDisplayed): Remove.
570
        (tuiAsmWinIsDisplayed): Remove.
571
        (tuiShowAllSourceWinsContent): Remove.
572
        (tuiUpdateOnEnd): Remove.
573
        * tuiGeneralWin.c (scrollWinForward): Remove.
574
        (scrollWinBackward): Remove.
575
        (_winResize): Don't declare.
576
        * tui.h (tuiUpdateOnEnd): Don't declare.
577
        (vcatch_errors, va_catch_errors): Likewise.
578
        * tuiSourceWin.h (tuiUpdateOnEnd): Likewise.
579
        (tuiShowAllSourceWinsContent): Likewise.
580
        * tuiGeneralWin.h (scrollWinForward): Likewise.
581
        (scrollWinBackward): Likewise.
582
 
583
2002-08-24  Stephane Carrez  
584
 
585
        * tuiRegs.c (_tuiRegisterFormat): Use gdbarch_print_registers_info.
586
 
587
2002-08-18  Daniel Jacobowitz  
588
 
589
        Fix PR gdb/655
590
        * tui.c: Disable  include.
591
 
592
2002-03-15  Andrew Cagney  
593
 
594
        * tui-out.c (XMALLOC): Delete macro.  Update copyright.
595
 
596
2002-03-01  Andrew Cagney  
597
 
598
        * tui-hooks.c: Add FIXME to explain true/false problem.  Update
599
        copyright.
600
        * tui.c, tuiCommand.c, tuiData.c, tuiDataWin.c: Ditto.
601
        * tuiDisassem.c, tuiGeneralWin.c, tuiIO.c, tuiLayout.c: Ditto.
602
        * tuiRegs.c, tuiSource.c, tuiSourceWin.c, tuiStack.c: Ditto.
603
        * tuiWin.c: Ditto.
604
 
605
        2002-02-08  Daniel Jacobowitz  
606
        * tui-hooks.c: Include  before "bfd.h".
607
        * tui.c: Likewise.
608
        * tuiCommand.c: Likewise.
609
        * tuiData.c: Likewise.
610
        * tuiDataWin.c: Likewise.
611
        * tuiDisassem.c: Likewise.
612
        * tuiGeneralWin.c: Likewise.
613
        * tuiIO.c: Likewise.
614
        * tuiLayout.c: Likewise.
615
        * tuiRegs.c: Likewise.
616
        * tuiSource.c: Likewise.
617
        * tuiSourceWin.c: Likewise.
618
        * tuiStack.c: Likewise.
619
        * tuiWin.c: Likewise.
620
 
621
2002-02-01  Andrew Cagney  
622
 
623
        * tuiWin.c (_initialize_tuiWin): Replace NO_FUNCTION with NULL.
624
 
625
2001-10-20  Andrew Cagney  
626
 
627
        * tuiDisassem.c: Include "value.h".
628
        * tuiSourceWin.c: Ditto.
629
 
630
2001-09-28  Tom Tromey  
631
 
632
        * tuiLayout.h (tui_set_layout): Don't declare.
633
        * tui.h (tui_vAddWinToLayout): Don't declare.
634
        (tui_vSetLayoutTo): Likewise.
635
        (tui_set_layout): Declare.
636
 
637
2001-08-02  Eli Zaretskii  
638
 
639
        * tuiSourceWin.c: Use disp_del instead of del.
640
 
641
        * tuiSource.c: Use disp_del instead of del.
642
 
643
        * tuiDisassem.c: Use disp_del instead of del.
644
 
645
2001-07-31  Stephane Carrez  
646
 
647
        * tui.c (tui_enable): Remove call to terminal_save_ours().
648
        (tui_disable): Likewise.
649
 
650
2001-07-28  Stephane Carrez  
651
 
652
        * tuiWin.c (_initialize_tuiWin): Use specific tui prefix for
653
        set/show configuration variables.
654
        (show_tui_cmd): New function.
655
        (set_tui_cmd): New function.
656
 
657
2001-07-24  Stephane Carrez  
658
 
659
        * tui-hooks.c: New file, gdb hooks for tui.
660
        * tui-out.c: New file, image copied from cli-out.c.
661
        (tui_field_int): Identify "line" fields and keep track of them.
662
        (tui_field_string): Likewise for "file".
663
        (tui_out_new): Use flags = 0 to avoid printing the sources.
664
 
665
2001-07-23  Stephane Carrez  
666
 
667
        * tuiIO.c (tui_cont_sig): Update cursor position on the screen to
668
        leave it in the command window.
669
        (tui_redisplay_readline): Save cursor position to restore the
670
        cursor after we go back from background.
671
        * tuiData.h (TuiCommandInfo): Add start_line member.
672
 
673
2001-07-23  Stephane Carrez  
674
 
675
        * tuiStack.c (tuiUpdateLocatorFilename): Use const char*.
676
        * tuiStack.h (tuiUpdateLocatorFilename): Update prototype.
677
        * tuiWin.c (_initialize_tuiWin): Don't cast table of enum in calls
678
        to add_set_enum_cmd.
679
        * tui.c (tui_show_source): New function.
680
        (tuiGetLowDisassemblyAddress): Use CORE_ADDR for newLow.
681
        (tui_switch_mode): Prep or deprep readline terminal;
682
        make sure the \n we return does not redo the last command.
683
        * tui.h (tui_show_source): Declare.
684
        (tui_out_new, tui_install_hooks, tui_remove_hooks): Likewise.
685
        (tui_active, tui_initialize_io, tui_initialize_readline): Likewise.
686
 
687
2001-07-22  Stephane Carrez  
688
 
689
        * tuiIO.c (tui_initialize_io): Install tui_cont_sig signal handler
690
        if SIGCONT is defined.
691
        (tui_cont_sig): New function when SIGCONT is defined.
692
        (tui_setup_io): Save tty setting to restore by SIGCONT.
693
 
694
2001-07-22  Stephane Carrez  
695
 
696
        * tui.h (tui_show_assembly): Declare.
697
        (tui_is_window_visible): Declare.
698
        * tui.c (tui_show_assembly): New function.
699
        (tui_is_window_visible): New function.
700
        (tui_get_command_dimension): New function.
701
 
702
2001-07-21  Stephane Carrez  
703
 
704
        * tuiWin.c (tuiRefreshAll): Use clearok to force a refresh.
705
 
706
2001-07-21  Stephane Carrez  
707
 
708
        * tui-file.c (tui_file_fputs): Use tui_puts.
709
 
710
2001-07-21  Stephane Carrez  
711
 
712
        * tuiStack.c (tuiSetLocatorInfo): Cleanup.
713
        * tuiStack.h (tuiGetLocatorFilename): Declare.
714
        * tuiRegs.h (tuiFirstRegElementNoInLine): Declare.
715
        * tuiData.h (addToSourceWindows): Declare.
716
 
717
2001-07-21  Stephane Carrez  
718
 
719
        * tui.c (tui_change_windows): New function.
720
        (tui_delete_other_windows): New function.
721
        (tui_initialize_readline): Bind them to C-X 1 and C-X 2.
722
        (tui_enable): Enable the keypad; call tui_update_variables.
723
        (strcat_to_buf_with_fmt): Remove.
724
 
725
2001-07-21  Stephane Carrez  
726
 
727
        * tui.h: Remove old declarations, add the new ones.
728
        * tui.c (tui_switch_mode): New function.
729
        (tui_initialize_readline): New function.
730
        (tui_enable): New function.
731
        (tui_disable): New function.
732
        (tuiGetLowDisassemblyAddress): Use CORE_ADDR, cleanup.
733
        (tui_vSelectSourceSymtab): Remove.
734
        (tuiInitWindows): Remove.
735
        (_initialize_tui): Remove.
736
        (_tuiReset): Keep but put arround #if 0.
737
 
738
2001-07-21  Stephane Carrez  
739
 
740
        * tuiIO.h: Remove old declarations and add the new ones.
741
        * tuiIO.c: New management for curses and gdb terminal interactions.
742
        (tui_tputs): Remove.
743
        (tuiTermSetup, tuiTermUnsetup): Remove, must use normal curses ops.
744
        (tuiBufferGetc, tui_vStartNewLines, _updateCommandInfo): Remove.
745
        (tui_owns_terminal): Remove.
746
        (tui_redisplay_readline): New function.
747
        (tui_puts): New function.
748
        (tui_prep_terminal): New function.
749
        (tui_deprep_terminal): New function.
750
        (tui_getc): Rename of tuiGetc, simplify and fix.
751
        (tui_setup_io): New function.
752
        (tui_initialize_io): New function.
753
 
754
2001-07-21  Stephane Carrez  
755
 
756
        * tuiRegs.c (tuiDisplayRegistersFrom): Call touchwin.
757
        (_tuiRegisterFormat): Reduce size of format result.
758
 
759
2001-07-21  Stephane Carrez  
760
 
761
        * tuiGeneralWin.c (boxWin): Use the tui configuration variables.
762
        * tuiWin.h: Declare the new variables.
763
        * tuiWin.c (_initialize_tuiWin): Create TUI configuration variables.
764
        (tui_update_variables): New function.
765
        (translate): New function.
766
        (tui_border_kind_enums, tui_border_mode_enums): New tables.
767
        (tui_border_mode_translate): New table.
768
        (tui_border_kind_translate_*): New tables.
769
        (tui_active_border_mode): New variables.
770
        (tui_border_*): New variables.
771
 
772
2001-07-21  Stephane Carrez  
773
 
774
        * tuiWin.c (_parseScrollingArgs): Fix uninitialized variable.
775
        (_makeVisibleWithNewHeight): Use TuiLineOrAddress type.
776
 
777
        * tuiStack.c (tuiShowFrameInfo): Use TuiLineOrAddress type.
778
        (tui_vUpdateLocatorFilename): Remove.
779
        * tuiStack.h: Update prototypes.
780
 
781
        * tuiSourceWin.c (tuiAddrIsDisplayed): New function.
782
        (tuiLineIsDisplayed): Split for address and line.
783
        (tuiUpdateSourceWindow): Use TuiLineOrAddress type.
784
        (tuiUpdateSourceWindowAsIs): Likewise.
785
        (tuiUpdateSourceWindowsWithAddr): Likewise.
786
        (tuiUpdateSourceWindowsWithLine): Likewise.
787
        (tuiHorizontalSourceScroll): Likewise.
788
        (tuiSetIsExecPointAt): Likewise.
789
        (tuiUpdateOnEnd): Likewise.
790
        * tuiSourceWin.h: Update prototypes.
791
 
792
        * tuiSource.c (tuiVerticalSourceScroll): Use TuiLineOrAddress type.
793
        (tuiShowSource): Likewise.
794
        (tuiVerticalSourceScroll): Likewise.
795
        * tuiSource.h (tuiShowSource): Update prototype.
796
 
797
        * tuiDisassem.c (tuiSetDisassemContent): Use CORE_ADDR for address.
798
        (tuiShowDisassem): Use TuiLineOrAddress type.
799
        (tuiShowDisassemAndUpdateSource): Likewise.
800
        (tuiVerticalDisassemScroll): Likewise.
801
        (tuiShowDisassemAsIs): Remove.
802
        * tuiDisassem.h (tuiSetDisassemContent): Update prototype.
803
 
804
        * tuiData.c (initWinInfo): Use CORE_ADDR for address.
805
        (clearWinDetail): Likewise.
806
        (displayableWinContentOf): Fix address conversion.
807
        (tuiNextWin): Fix crash when the window is not yet created.
808
        (partialWinByName): Likewise.
809
 
810
2001-07-21  Stephane Carrez  
811
 
812
        * tuiSourceWin.h: Remove unused declarations.
813
        * tuiSourceWin.c (tui_vUpdateSourceWindowsWithAddr): Remove.
814
        (tui_vUpdateSourceWindowsWithLine): Remove.
815
        (tui_vAllSetHasBreakAt): Remove.
816
 
817
        * tuiLayout.h (tui_set_layout): Declare.
818
        (tui_vSetLayoutTo): Remove.
819
        (tui_vAddWinToLayout): Remove.
820
        * tuiLayout.c (_tuiLayout_command): Call tui_enable() to force TUI.
821
        (_tuiToggleLayout_command): Remove.
822
        (_tuiToggleSplitLayout_command): Remove.
823
        (_tuiLayout_command): Remove.
824
        (tui_vSetLayoutTo): Remove.
825
        (tui_vAddWinToLayout): Remove.
826
 
827
        * tuiDataWin.h (tui_vCheckDataValues): Remove.
828
        * tuiDataWin.c (tui_vCheckDataValues): Remove.
829
 
830
2001-07-20  Stephane Carrez  
831
 
832
        * tuiWin.c (tuiStrDup): Remove, replaced by xstrdup.
833
        (_parseScrollingArgs): Use xstrdup.
834
        (_tuiScrollForward_command): Call tui_enable() to force TUI mode.
835
        (_tuiScrollBackward_command): Likewise.
836
        (_tuiScrollLeft_command): Likewise.
837
        (_tuiScrollRight_command): Likewise.
838
        (_tuiSetFocus): Likewise.
839
        (_tuiSetFocus_command): Likewise.
840
        (_tuiRefreshAll_command): Likewise.
841
        (_tuiSetTabWidth_command): Likewise.
842
        (_tuiSetWinHeight): Likewise.
843
        (_tuiSetWinHeight_command): Likewise.
844
        (_tuiXDBsetWinHeight): Likewise.
845
        (_tui_vSetFocus): Remove.
846
        (_tui_vSetWinHeight): Remove.
847
        (_tui_vXDBsetWinHeight): Remove.
848
 
849
2001-07-21  Stephane Carrez  
850
 
851
        * tuiCommand.h: Remove unused declarations.
852
        * tuiCommand.c (tuiDispatchCtrlChar): Fix escape sequences.
853
        (tuiIncrCommandCharCountBy): Remove.
854
        (tuiDecrCommandCharCountBy): Remove.
855
        (tuiSetCommandCharCountTo): Remove.
856
        (tuiClearCommandCharCount): Remove.
857
 
858
2001-07-20  Stephane Carrez  
859
 
860
        * tuiWin.c (_initialize_tuiWin): Always define the tui commands;
861
        create the tui class help.
862
        * tuiLayout.c (_initialize_tuiLayout): Always define the tui commands.
863
        * tuiRegs.c (_initialize_tuiRegs): Likewise.
864
        * tuiStack.c (_initialize_tuiStack): Likewise.
865
 
866
2001-07-19  Stephane Carrez  
867
 
868
        * tuiDisassem.c (tuiVerticalDisassemScroll): Use CORE_ADDR.
869
        (tuiVerticalDisassemScroll): Likewise.
870
        (tuiShowDisassemAndUpdateSource): Check for null symtab to
871
        prevent a crash.
872
 
873
2001-07-18  Stephane Carrez  
874
 
875
        * tuiIO.c (_tuiHandleResizeDuringIO): Call tuiRefreshAll.
876
        (tuiRead, tui_vread): Remove.
877
 
878
        * tui.c (va_catch_errors, tuiDo, tuiDoAndReturnToTop): Remove.
879
        (vcatch_errors, _tui_vDo): Remove.
880
        * tui.h (tuiDo, tuiDoAndReturnToTop): Remove.
881
 
882
        * tuiLayout.c (tuiSetLayout): Remove vcatch_errors.
883
        (tui_set_layout): Rename of _tuiSetLayoutTo, public.
884
        (_tuiToggleLayout_command): Merge with _tui_vToggleLayout_command.
885
        (_tuiToggleSplitLayout_command): Merge with _tui_vToggleSplitLayout_command.
886
        (_tuiLayout_command): Call tui_set_layout.
887
 
888
        * tuiRegs.c (_tuiScrollRegsBackward_command): Call tui_scroll.
889
        (_tuiScrollRegsForward_command): Likewise.
890
        (_tuiShowFloat_command): Call _tui_vShowRegisters_commandSupport.
891
        (_tuiShowGeneral_command): Likewise.
892
        (_tuiShowSpecial_command): Likewise.
893
        (_tuiToggleFloatRegs_command): Call tuiToggleFloatRegs.
894
        * tuiWin.c (tui_scroll): Rename of tui_vScroll, update parameters.
895
        (_tuiScrollForward_command): Call tui_scroll.
896
        (_tuiScrollBackward_command): Likewise.
897
        (_tuiScrollLeft_command): Likewise.
898
        (_tuiScrollRight_command): Likewise.
899
        (_tuiSetFocus_command): Call _tuiSetFocus.
900
        (_tuiRefreshAll_command): Call tuiRefreshAll.
901
        (_tuiSetWinHeight_command): Call _tuiSetWinHeight.
902
        (_tuiXDBsetWinHeight_command): Call _tuiXDBsetWinHeight.
903
        * tuiWin.h (tui_scroll): Rename of tui_vScroll, update parameters.
904
 
905
2001-07-18  Stephane Carrez  
906
 
907
        * tuiData.h (TuiLocatorElement): Use CORE_ADDR for address member.
908
        (TuiLineOrAddress): Likewise.
909
        * tuiDisassem.c (tuiGetBeginAsmAddress): Use CORE_ADDR to specify
910
        an address.
911
        (tuiSetDisassemContent): Likewise.
912
        (tuiShowDisassem, tuiShowDisassemAndUpdateSource): Likewise.
913
        * tuiLayout.c (_extractDisplayStartAddr): Likewise.
914
        (tuiSetLayout): Likewise.
915
        * tuiSourceWin.c (tuiDisplayMainFunction): Likewise.
916
        (tuiUpdateSourceWindowsWithAddr): Likewise.
917
        (tuiUpdateSourceWindowsWithLine): Likewise.
918
        (tuiSetHasBreakAt): Likewise.
919
        * tuiStack.c (tuiSetLocatorInfo): Likewise.
920
        (tuiSwitchFilename): Likewise.
921
        (tuiUpdateLocatorInfoFromFrame): Likewise.
922
        (tuiSetLocatorContent): Likewise.
923
        (tuiShowFrameInfo): Likewise.
924
        * tuiDisassem.h: Update prototypes to use CORE_ADDR.
925
        * tuiSourceWin.h: Likewise.
926
        * tuiStack.h: Likewise.
927
 
928
2001-07-17  Stephane Carrez  
929
 
930
        * tuiWin.c: Add missing includes.
931
        (_makeVisibleWithNewHeight): Fix call to find_line_pc.
932
        * tuiLayout.c: Add missing includes.
933
        (_initAndMakeWin): Don't put curses in echo mode.
934
        (_extractDisplayStartAddr): Fix calls to find_line_pc.
935
        (_tuiLayout_command): Missing ',' in warning call.
936
        * tuiSourceWin.c (tuiUpdateSourceWindowsWithLine): Fix calls to
937
        find_line_pc.
938
        (tuiSetHasBreakAt): Check for null source file.
939
 
940
2001-07-17  Stephane Carrez  
941
 
942
        * tuiWin.c (_tuiSetFocus): Replace subsetCompare with subset_compare.
943
        * tuiLayout.c (_tuiSetLayoutTo): Likewise.
944
        * tui.c (_tui_vToggle_command): Likewise.
945
 
946
2001-07-17  Elena Zannoni  
947
 
948
        * tui-file.c: Add include of tuiIO.h, for tuiPuts_unfiltered.
949
 
950
2001-07-16  Stephane Carrez  
951
 
952
        * tuiRegs.c (tuiDisplayRegistersFrom): Set scrollok to FALSE in
953
        each register window.
954
        (tuiCheckRegisterValues): Use REGISTER_RAW_SIZE to obtain the size
955
        of the register to check.
956
        (_tuiRegValueHasChanged): Likewise.
957
        (_tuiRegisterName): Use REGISTER_NAME.
958
        (tui_restore_gdbout): New function.
959
        (_tuiRegisterFormat): Use do_registers_info with gdb_stdout redirected
960
        to a string.
961
        (START_SPECIAL_REGS): Define.
962
        (_tuiGetRegisterRawValue): Use get_saved_register.
963
        (_tuiDisplayRegister): Fix clearing of register window.
964
 
965
2001-07-17  Stephane Carrez  
966
 
967
        * tui-file.h (fputs_unfiltered_hook): Remove.
968
        * tui-file.c (tui_file_flush): Remove fputs_unfiltered_hook.
969
        (tui_file_fputs): Likewise; simplify
970
 
971
2001-07-16  Stephane Carrez  
972
 
973
        * tuiStack.c: Add missing includes.
974
        (tuiShowFrameInfo): Don't crash when there is no symbol table
975
        associated with the pc.
976
        * tuiSource.c (_hasBreak): Check for null source file.
977
        * tuiWin.c (tuiRefreshAll): Check for null winList[type].
978
        (_tuiSetFocus): Check for null dataWin.
979
        * tuiGeneralWin.c (refreshAll): Check for null list[type].
980
 
981
2001-07-16  Stephane Carrez  
982
 
983
        * tuiDisassem.c (tuiSetDisassemContent): Use tm_print_insn_info
984
        to disassemble in the curses window.
985
 
986
2001-07-16  Stephane Carrez  
987
 
988
        * tui.h: Cleanup to avoid inclusion of curses includes.
989
        (TuiGenWinInfo, TuiGenWinInfoPtr): Move from here.
990
        * tuiData.h: To here; include curses includes here.
991
        (setTermHeightTo): Rename of setTermHeight to follow reality.
992
        (setTermWidthTo): Likewise with setTermWidth.
993
 
994
2001-07-14  Stephane Carrez  
995
 
996
        * tuiWin.c, tui.c, tuiCommand.c: Use ansi prototype.
997
        tuiIO.c, tuiData.c: Likewise.
998
        tuiDataWin.c, tuiDisassem.c: Likewise.
999
        tuiGeneralWin.c, tuiLayout.c: Likewise.
1000
        tuiRegs.c, tuiSource.c: Likewise.
1001
        tuiSouceWin.c, tuiStack.c: Likewise.
1002
 
1003
2001-07-14  Stephane Carrez  
1004
 
1005
        * tuiWin.c, tuiWin.h, tui.c, tui.h, tuiCommand.c: Add FSF copyright.
1006
        tuiCommand.h, tuiIO.c, tuiIO.h, tuiData.h, tuiData.c: Likewise.
1007
        tuiDataWin.c, tuiDataWin.h, tuiDisassem.c, tuiDisassem.h: Likewise.
1008
        tuiGeneralWin.c, tuiGeneralWin.h, tuiLayout.c, tuiLayout.h: Likewise.
1009
        tuiRegs.c, tuiRegs.h, tuiSource.c, tuiSource.h: Likewise.
1010
        tuiSouceWin.c, tuiSourceWin.h, tuiStack.c, tuiStack.h: Likewise.
1011
 
1012
2001-03-08  Andrew Cagney  
1013
 
1014
        * tuiRegs.c: Use NUM_REGS, not ARCH_NUM_REGS.
1015
 
1016
2001-03-06  Kevin Buettner  
1017
 
1018
        * tui-file.h: Update/correct copyright notice.
1019
 
1020
Wed Feb  7 19:54:27 2001  Andrew Cagney  
1021
 
1022
        * tui-file.c: Add __FILE__ and __LINE__ parameter to calls to
1023
        internal_error.
1024
 
1025
2000-12-14  Kevin Buettner  
1026
 
1027
        * tui-file.c, tui.c, tuiData.c, tuiLayout.c: Replace occurrences
1028
        of free() with xfree().
1029
 
1030
2000-06-22  Kevin Buettner  
1031
 
1032
        * tuiSourceWin.h: Eliminate use of PARAMS from this file.
1033
 
1034
2000-06-20  Kevin Buettner  
1035
 
1036
        * tuiLayout.c: Eliminate use of PARAMS from this file.
1037
 
1038
2000-06-17  Kevin Buettner  
1039
 
1040
        * tuiIO.c: Eliminate use of PARAMS from this file.
1041
 
1042
Thu May 25 14:46:20 2000  Andrew Cagney  
1043
 
1044
        * tui-file.c: Include "tui.h", "tuiData.h", "tuiIO.h" and
1045
        "tuiCommand.h".
1046
        (tui_file_fputs): Pass ``file'' and not ``stream'' to
1047
        tui_file_adjust_strbuf.
1048
 
1049
Thu May 25 16:58:01 2000  Andrew Cagney  
1050
 
1051
        * tui.h: Include  when available.
1052
        * tui.c, tuiGeneralWin.c: Do not include .
1053
 
1054
Mon May 15 17:16:10 2000  Andrew Cagney  
1055
 
1056
        * Makefile.in: Delete.
1057
 
1058
Tue Apr 18 15:32:15 2000  Andrew Cagney  
1059
 
1060
        * Makefile.in (distclean, maintainer-clean, realclean,
1061
        mostlyclean): New targets.
1062
 
1063
Tue Feb  1 00:17:12 2000  Andrew Cagney  
1064
 
1065
        * tui-file.c, tui-file.h, tuiDisassem.c, tuiIO.c, tuiIO.h,
1066
        tuiRegs.c: Update to reflect rename of gdb-file / GDB_FILE to
1067
        ui-file / ``struct ui_file''.
1068
 
1069
Mon Jan 31 18:12:43 2000  Andrew Cagney  
1070
 
1071
        * tui-file.c (enum streamtype, struct tui_stream, tui_file_new,
1072
        tui_file_delete, tui_fileopen, tui_sfileopen, tui_file_isatty,
1073
        tui_file_rewind, tui_file_put, tui_file_fputs,
1074
        tui_file_get_strbuf, tui_file_adjust_strbuf, tui_file_flush,
1075
        fputs_unfiltered_hook): Move to here from ../utils.c
1076
 
1077
        * tui-file.h, tui-file.c: New files.
1078
 
1079
Mon Nov  8 17:47:37 1999  Andrew Cagney  
1080
 
1081
        * tuiRegs.c (_tuiRegisterFormat), tuiDisassem.c
1082
        (tuiSetDisassemContent): Replace gdb_file_init_astring with
1083
        tui_sfileopen.  Replace gdb_file_get_strbuf with
1084
        tui_file_get_strbuf.
1085
 
1086
Mon Nov  8 16:54:51 1999  Andrew Cagney  
1087
 
1088
        * tuiRegs.c (_tuiRegisterFormat), tuiDisassem.c
1089
        (tuiSetDisassemContent): Repace gdb_file_deallocate with
1090
        gdb_file_delete. Replace gdb_file_init_astring with tui_sfileopen.
1091
 
1092
Fri Sep 17 19:34:38 1999  Andrew Cagney  
1093
 
1094
        * tuiSource.c: Include "source.h".
1095
        (open_source_file, find_source_lines): Delete declarations.
1096
 
1097
1999-01-26  Jason Molenda  (jsm@bugshack.cygnus.com)
1098
 
1099
        * tui.h: Include stdarg.h instead of varargs.h if we're on an ISO Cish
1100
        system.
1101
 
1102
Thu Dec 31 12:08:32 1998  David Taylor  
1103
 
1104
        The following changes were made by Jim Blandy ,
1105
        Edith Epstein , Elena Zannoni
1106
         Stan Shebs , and David
1107
        Taylor , as part of the project to merge in
1108
        changes originally made by HP; HP did not create ChangeLog
1109
        entries.
1110
 
1111
        * Makefile.in: New file; we're merging HP's changes into GDB, and
1112
        we've moved the TUI files into a subdirectory, so we need a new
1113
        Makefile.
1114
 
1115
        * tui.c:
1116
        #include , if we have it, to get declarations for
1117
        the termcap functions on Solaris.
1118
        (tgoto): Add external K&R declaration for this; Solaris doesn't
1119
        bother to actually declare it in their header files.
1120
        (_tuiReset): Ignore the #definition of TIOCGETC if USG is defined;
1121
        we'd rather use the USG mechanisms than the Berkeley mechanisms
1122
        (TIOCGETC is one of the Berkeley terminal control ioctls).
1123
        Apologies if this causes trouble later; this should all be handled
1124
        by autoconf...
1125
        (strcat_to_buf, strcat_to_buf_with_fmt): New functions, moved here
1126
        from ../utils.h.
1127
        (tuiFree): replace safe_free with free.
1128
        (strcat_to_buf): new function, copied from utils.c.
1129
        (tuiInit): Add ignored `argv0' argument, to match the type that
1130
        init_ui_hook expects; updated declaration.  Call the
1131
        initialize_tui_files function constructed above.  Initialize
1132
        flush_hook to NULL.
1133
        (tuiInitWindows): Call tuiSetLocatorContent, to get the first
1134
        element of the locator window's content allocated.  This seems
1135
        wrong, because it must have been initialized somehow in HP's
1136
        sources, and we should do it the same way now.  But we do get
1137
        further before it segfaults.  [Postscript: HP didn't bother to
1138
        initialize it; they compile
1139
        (va_catch_errors, vcatch_errors): Functions moved here from
1140
        ../utils.c in HP's sources.  They're not used anywhere else.
1141
        (xdb_style): Delete this variable, and remove all references to
1142
        it.  It's always true.
1143
        (tuiInit, _tui_vDo): References removed.
1144
 
1145
        * tui.h:  Add prototypes.
1146
        Don't #include "gendefs.h"; it's only used in the TUI.
1147
        Integrate its contents into this file:
1148
        #include  here.
1149
        (Opaque, OpaqueFuncPtr): Typedefs moved to here.
1150
 
1151
        * tuiCommand.c: #include "defs.h", so we get the appropriate
1152
        definition of GDB_FILE.
1153
 
1154
        * tuiData.c
1155
        (freeWindow): replace safe_free with free.
1156
        (tui_version): don't define it here; it's defined in main.c now.
1157
 
1158
        * tuiDisassem.c
1159
        (tuiSetDisassemContent): Call strcat_address_numeric instead of
1160
        strcat_address.  Simplify the control structure. Use predefined
1161
        GDB function to print asm inst address.  Use GDB_FILE to collect
1162
        output into buffers.
1163
 
1164
        * tuiIO.c
1165
        (tgoto): Add external K&R declaration for this here too.
1166
        (tuiGetc, tuiTermSetup, tuiTermUnsetup): Same.
1167
        (tuiPuts_unfiltered): change FILE to GDB_FILE.
1168
        (tui_tputs): fix prototype for 3rd argument.
1169
 
1170
        * tuiIO.h (tuiPuts_unfiltered): change declaration.
1171
 
1172
        * tuiLayout.c
1173
        (_tuiSetLayoutTo): for displaying registers, hook up the HP code
1174
        that decides which registers to display (i.e. single precision
1175
        float, double precision float, general, special). Previously,
1176
        only handled TUI_GENERAL_REGS. Now that the code is hooked up,
1177
        compiling with -z poses a problem. When the first layout command
1178
        is 'layout regs', dataWin->detail is a NULL pointer, and gdb
1179
        core dumps.
1180
 
1181
        * tuiLayout.c (_tuiSetLayoutTo): replace safe_free with free.
1182
 
1183
        * tuiRegs.c #include "defs.h" earlier, to avoid problems in
1184
        .  No idea exactly what's conflicting with what, but the
1185
        errors went away...
1186
        (_tuiRegisterFormat): Change so that function creates a GDB_FILE
1187
        object, calls pa_do_strcat_registers_info, copies the register
1188
        info into a buffer, and deallocates the GDB_FILE object.  Remove
1189
        some code that is not executed.  Also, call to
1190
        pa_do_strcat_registers_info has an additional parameter,
1191
        precision.  This code requires some new per-target functions that
1192
        we don't want to merge.  Dyke it out, with #ifdef
1193
        TUI_EXTENDED_FORMATTERS.
1194
        (_tuiSetSpecialRegsContent): this function was ifdefed out.
1195
        Hooked this up.
1196
        (_tuiSetGeneralAndSpecialRegsContent): this function was ifdefed
1197
        out.  Hooked it up.
1198
        (IS_64BIT): Just define this to be zero; we're not merging in the
1199
        64-bit support.
1200
        (tuiShowRegisters): Comment out all references to the "special"
1201
        regs; we don't have a distinction between the "special" and
1202
        "non-special" regs in most of our machine descriptions.  This code
1203
        is PA-specific in other ways as well, and needs to be redesigned
1204
        to be portable to other processors.
1205
 
1206
        * tuiWin.c: #include , to get a declaration for
1207
        strchr.
1208
 
1209
        * tui.c, tuiCommand.c, tuiData.c, tuiDataWin.c, tuiDisassem.c,
1210
        tuiGeneralWin.c, tuiIO.c, tuiLayout.c, tuiRegs.c, tuiSource.c,
1211
        tuiSourceWin.c, tuiStack.c, tuiWin.c: New files (from HP).  Changed
1212
        bool to int throughout.  Re-indented, GNU style.
1213
 
1214
        * tui.h, tuiCommand.h, tuiData.h, tuiDataWin.h, tuiDisassem.h,
1215
        tuiGeneralWin.h, tuiIO.h, tuiLayout.h, tuiRegs.h, tuiSource.h,
1216
        tuiSourceWin.h, tuiStack.h, tuiWin.h: new files (from HP).
1217
        Changed bool to int throughout.

powered by: WebSVN 2.1.0

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