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