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

Subversion Repositories or1k

[/] [or1k/] [trunk/] [gdb-5.3/] [gdb/] [tui/] [ChangeLog] - Blame information for rev 1765

Details | Compare with Previous | View Log

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