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