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