Commit | Line | Data |
---|---|---|
3a42771a SC |
1 | 2002-08-25 Stephane Carrez <stcarrez@nerim.fr> |
2 | ||
3 | * tuiStack.h (tuiClearLocatorDisplay): Don't declare. | |
4 | * tuiStack.c (tuiClearLocatorDisplay): Remove. | |
5 | (tuiShowLocatorContent): Use wclrtoeol to clear end of status line. | |
6 | (tuiUpdateLocatorDisplay): Don't call tuiClearLocatorDisplay. | |
7 | ||
5564c769 SC |
8 | 2002-08-25 Stephane Carrez <stcarrez@nerim.fr> |
9 | ||
10 | * tuiStack.c (tui_get_function_from_frame): Rename from | |
11 | _getFuncNameFromFrame; use print_address_symbolic to get symbolic | |
12 | name of address. | |
13 | (tuiUpdateLocatorInfoFromFrame): Update. | |
14 | ||
bc77de56 SC |
15 | 2002-08-25 Stephane Carrez <stcarrez@nerim.fr> |
16 | ||
17 | * tuiRegs.c (tuiDisplayRegistersFrom): Remove unused locals. | |
18 | (_tuiRegisterFormat, _tuiSetSpecialRegsContent): Likewise. | |
19 | (_tuiSetGeneralAndSpecialRegsContent): Likewise. | |
20 | (_tuiSetFloatRegsContent): Likewise. | |
21 | (_tuiRegisterName): Return a const char*. | |
22 | * tuiData.h (_TuiDataElement): Use const char* for name. | |
23 | ||
335fc5a3 SC |
24 | 2002-08-25 Stephane Carrez <stcarrez@nerim.fr> |
25 | ||
26 | * tuiSourceWin.h (tuiEraseAllSourceContent): Don't declare. | |
27 | (tuiShowAllExecInfosContent): Likewise. | |
28 | * tuiSourceWin.c (tuiEraseAllSourceContent): Remove. | |
29 | (tuiShowAllExecInfosContent): Remove. | |
30 | (tuiAllocSourceBuffer): Remove unused locals. | |
bc77de56 | 31 | |
7563e053 SC |
32 | 2002-08-25 Stephane Carrez <stcarrez@nerim.fr> |
33 | ||
34 | * tuiStack.c (tui_update_command): Rename _tuiUpdateLocation_command | |
35 | to follow other gdb's command names; use execute_command; cleanup. | |
36 | (_initialize_tuiStack): Update. | |
37 | ||
b7a60de6 SC |
38 | 2002-08-25 Stephane Carrez <stcarrez@nerim.fr> |
39 | ||
40 | * tuiWin.h (tui_update_gdb_sizes): Declare. | |
41 | ||
297d1607 SC |
42 | 2002-08-24 Stephane Carrez <stcarrez@nerim.fr> |
43 | ||
44 | * tui.c (strcat_to_buf): Use const char* for source item. | |
45 | (tui_enable): Update the windows if there is a selected frame. | |
46 | * tui.h (strcat_to_buf): Update prototype. | |
47 | (strcat_to_buf_with_fmt): Remove. | |
48 | ||
3e752b04 SC |
49 | 2002-08-24 Stephane Carrez <stcarrez@nerim.fr> |
50 | ||
51 | * tuiWin.c (tui_update_gdb_sizes): New function to tell gdb what | |
52 | is the size of command window. | |
53 | (tuiResizeAll): Call it instead of init_page_info. | |
54 | * tui.c (tui_enable): Call it to resize to TUI command window. | |
55 | (tui_disable): Likewise for plain screen. | |
56 | ||
c7037be1 SC |
57 | 2002-08-24 Stephane Carrez <stcarrez@nerim.fr> |
58 | ||
59 | * tui.c (tui_enable): Use tuiSetLayout instead of showLayout and | |
60 | use tuiShowFrameInfo instead of tuiSetLocatorContent. | |
61 | * tuiLayout.h (showLayout): Remove. | |
62 | * tuiLayout.c (_showSourceOrDisassemAndCommand): Remove unused locals. | |
63 | (_showSourceDisassemCommand): Likewise. | |
64 | (showLayout): Make it static. | |
65 | (lastLayout): Remove. | |
66 | ||
bc712bbf SC |
67 | 2002-08-24 Stephane Carrez <stcarrez@nerim.fr> |
68 | ||
69 | * tuiSourceWin.c (tui_show_source_line): New function. | |
70 | (tuiShowSourceContent): Call it and avoid clearing the window before | |
71 | redrawing it. | |
72 | (tuiClearAllSourceWinsContent): Remove. | |
73 | * tuiSourceWin.h (tuiClearAllSourceWinsContent): Don't declare. | |
74 | * tuiWin.h (tuiClearWinFocus, tuiClearWinFocusFrom): Don't declare. | |
75 | * tuiWin.c (tuiClearWinFocus, tuiClearWinFocusFrom): Remove. | |
76 | (tuiRefreshAll): Don't clear the window. | |
77 | (_makeVisibleWithNewHeight): Don't clear locator line. | |
78 | (tuiResizeAll): Remove unused locals. | |
79 | (_tuiAdjustWinHeights): Likewise. | |
80 | (_makeInvisibleAndSetNewHeight): Likewise. | |
81 | (_newHeightOk): Likewise. | |
82 | * tuiLayout.c (showLayout): Don't clear source windows. | |
83 | (tuiSetLayout): Don't clear the window. | |
84 | (_initAndMakeWin): Likewise for status line. | |
85 | * tuiGeneralWin.c (makeVisible): Don't clear or refresh the window. | |
86 | (makeWindow): Likewise. | |
87 | (tuiClearWin): Remove. | |
88 | * tuiGeneralWin.h (tuiClearWin): Don't declare. | |
89 | ||
e9ae5755 SC |
90 | 2002-08-24 Stephane Carrez <stcarrez@nerim.fr> |
91 | ||
92 | * tuiSourceWin.c (tuiSrcWinIsDisplayed): Remove. | |
93 | (tuiAsmWinIsDisplayed): Remove. | |
94 | (tuiShowAllSourceWinsContent): Remove. | |
95 | (tuiUpdateOnEnd): Remove. | |
96 | * tuiGeneralWin.c (scrollWinForward): Remove. | |
97 | (scrollWinBackward): Remove. | |
98 | (_winResize): Don't declare. | |
99 | * tui.h (tuiUpdateOnEnd): Don't declare. | |
100 | (vcatch_errors, va_catch_errors): Likewise. | |
101 | * tuiSourceWin.h (tuiUpdateOnEnd): Likewise. | |
102 | (tuiShowAllSourceWinsContent): Likewise. | |
103 | * tuiGeneralWin.h (scrollWinForward): Likewise. | |
104 | (scrollWinBackward): Likewise. | |
105 | ||
ad0fd2c8 SC |
106 | 2002-08-24 Stephane Carrez <stcarrez@nerim.fr> |
107 | ||
108 | * tuiRegs.c (_tuiRegisterFormat): Use gdbarch_print_registers_info. | |
109 | ||
6d7fbb5a DJ |
110 | 2002-08-18 Daniel Jacobowitz <drow@mvista.com> |
111 | ||
112 | Fix PR gdb/655 | |
113 | * tui.c: Disable <termio.h> include. | |
114 | ||
349c5d5f AC |
115 | 2002-03-15 Andrew Cagney <ac131313@redhat.com> |
116 | ||
117 | * tui-out.c (XMALLOC): Delete macro. Update copyright. | |
118 | ||
f33c6cbf AC |
119 | 2002-03-01 Andrew Cagney <ac131313@redhat.com> |
120 | ||
121 | * tui-hooks.c: Add FIXME to explain true/false problem. Update | |
122 | copyright. | |
123 | * tui.c, tuiCommand.c, tuiData.c, tuiDataWin.c: Ditto. | |
124 | * tuiDisassem.c, tuiGeneralWin.c, tuiIO.c, tuiLayout.c: Ditto. | |
125 | * tuiRegs.c, tuiSource.c, tuiSourceWin.c, tuiStack.c: Ditto. | |
126 | * tuiWin.c: Ditto. | |
127 | ||
128 | 2002-02-08 Daniel Jacobowitz <drow@mvista.com> | |
129 | * tui-hooks.c: Include <curses.h> before "bfd.h". | |
130 | * tui.c: Likewise. | |
131 | * tuiCommand.c: Likewise. | |
132 | * tuiData.c: Likewise. | |
133 | * tuiDataWin.c: Likewise. | |
134 | * tuiDisassem.c: Likewise. | |
135 | * tuiGeneralWin.c: Likewise. | |
136 | * tuiIO.c: Likewise. | |
137 | * tuiLayout.c: Likewise. | |
138 | * tuiRegs.c: Likewise. | |
139 | * tuiSource.c: Likewise. | |
140 | * tuiSourceWin.c: Likewise. | |
141 | * tuiStack.c: Likewise. | |
142 | * tuiWin.c: Likewise. | |
143 | ||
e00d1dc8 AC |
144 | 2002-02-01 Andrew Cagney <ac131313@redhat.com> |
145 | ||
146 | * tuiWin.c (_initialize_tuiWin): Replace NO_FUNCTION with NULL. | |
147 | ||
fd0407d6 AC |
148 | 2001-10-20 Andrew Cagney <ac131313@redhat.com> |
149 | ||
150 | * tuiDisassem.c: Include "value.h". | |
151 | * tuiSourceWin.c: Ditto. | |
152 | ||
7cacb6a3 TT |
153 | 2001-09-28 Tom Tromey <tromey@redhat.com> |
154 | ||
155 | * tuiLayout.h (tui_set_layout): Don't declare. | |
156 | * tui.h (tui_vAddWinToLayout): Don't declare. | |
157 | (tui_vSetLayoutTo): Likewise. | |
158 | (tui_set_layout): Declare. | |
159 | ||
b5de0fa7 EZ |
160 | 2001-08-02 Eli Zaretskii <eliz@is.elta.co.il> |
161 | ||
162 | * tuiSourceWin.c: Use disp_del instead of del. | |
163 | ||
164 | * tuiSource.c: Use disp_del instead of del. | |
165 | ||
166 | * tuiDisassem.c: Use disp_del instead of del. | |
167 | ||
799a0740 SC |
168 | 2001-07-31 Stephane Carrez <Stephane.Carrez@worldnet.fr> |
169 | ||
170 | * tui.c (tui_enable): Remove call to terminal_save_ours(). | |
171 | (tui_disable): Likewise. | |
172 | ||
c9684879 SC |
173 | 2001-07-28 Stephane Carrez <Stephane.Carrez@worldnet.fr> |
174 | ||
175 | * tuiWin.c (_initialize_tuiWin): Use specific tui prefix for | |
176 | set/show configuration variables. | |
177 | (show_tui_cmd): New function. | |
178 | (set_tui_cmd): New function. | |
179 | ||
2611b1a5 SC |
180 | 2001-07-24 Stephane Carrez <Stephane.Carrez@worldnet.fr> |
181 | ||
182 | * tui-hooks.c: New file, gdb hooks for tui. | |
183 | * tui-out.c: New file, image copied from cli-out.c. | |
184 | (tui_field_int): Identify "line" fields and keep track of them. | |
185 | (tui_field_string): Likewise for "file". | |
186 | (tui_out_new): Use flags = 0 to avoid printing the sources. | |
187 | ||
114bf287 SC |
188 | 2001-07-23 Stephane Carrez <Stephane.Carrez@worldnet.fr> |
189 | ||
190 | * tuiIO.c (tui_cont_sig): Update cursor position on the screen to | |
191 | leave it in the command window. | |
192 | (tui_redisplay_readline): Save cursor position to restore the | |
193 | cursor after we go back from background. | |
194 | * tuiData.h (TuiCommandInfo): Add start_line member. | |
195 | ||
196 | 2001-07-23 Stephane Carrez <Stephane.Carrez@worldnet.fr> | |
197 | ||
198 | * tuiStack.c (tuiUpdateLocatorFilename): Use const char*. | |
199 | * tuiStack.h (tuiUpdateLocatorFilename): Update prototype. | |
200 | * tuiWin.c (_initialize_tuiWin): Don't cast table of enum in calls | |
201 | to add_set_enum_cmd. | |
202 | * tui.c (tui_show_source): New function. | |
203 | (tuiGetLowDisassemblyAddress): Use CORE_ADDR for newLow. | |
204 | (tui_switch_mode): Prep or deprep readline terminal; | |
205 | make sure the \n we return does not redo the last command. | |
206 | * tui.h (tui_show_source): Declare. | |
207 | (tui_out_new, tui_install_hooks, tui_remove_hooks): Likewise. | |
208 | (tui_active, tui_initialize_io, tui_initialize_readline): Likewise. | |
209 | ||
9d876a16 SC |
210 | 2001-07-22 Stephane Carrez <Stephane.Carrez@worldnet.fr> |
211 | ||
212 | * tuiIO.c (tui_initialize_io): Install tui_cont_sig signal handler | |
213 | if SIGCONT is defined. | |
214 | (tui_cont_sig): New function when SIGCONT is defined. | |
215 | (tui_setup_io): Save tty setting to restore by SIGCONT. | |
216 | ||
1403b519 SC |
217 | 2001-07-22 Stephane Carrez <Stephane.Carrez@worldnet.fr> |
218 | ||
219 | * tui.h (tui_show_assembly): Declare. | |
220 | (tui_is_window_visible): Declare. | |
221 | * tui.c (tui_show_assembly): New function. | |
222 | (tui_is_window_visible): New function. | |
223 | (tui_get_command_dimension): New function. | |
224 | ||
3e266828 SC |
225 | 2001-07-21 Stephane Carrez <Stephane.Carrez@worldnet.fr> |
226 | ||
227 | * tuiWin.c (tuiRefreshAll): Use clearok to force a refresh. | |
228 | ||
174a4a09 SC |
229 | 2001-07-21 Stephane Carrez <Stephane.Carrez@worldnet.fr> |
230 | ||
231 | * tui-file.c (tui_file_fputs): Use tui_puts. | |
232 | ||
c7c228ed SC |
233 | 2001-07-21 Stephane Carrez <Stephane.Carrez@worldnet.fr> |
234 | ||
235 | * tuiStack.c (tuiSetLocatorInfo): Cleanup. | |
236 | * tuiStack.h (tuiGetLocatorFilename): Declare. | |
237 | * tuiRegs.h (tuiFirstRegElementNoInLine): Declare. | |
238 | * tuiData.h (addToSourceWindows): Declare. | |
239 | ||
377c38ea SC |
240 | 2001-07-21 Stephane Carrez <Stephane.Carrez@worldnet.fr> |
241 | ||
242 | * tui.c (tui_change_windows): New function. | |
243 | (tui_delete_other_windows): New function. | |
244 | (tui_initialize_readline): Bind them to C-X 1 and C-X 2. | |
245 | (tui_enable): Enable the keypad; call tui_update_variables. | |
246 | (strcat_to_buf_with_fmt): Remove. | |
247 | ||
248 | 2001-07-21 Stephane Carrez <Stephane.Carrez@worldnet.fr> | |
249 | ||
250 | * tui.h: Remove old declarations, add the new ones. | |
251 | * tui.c (tui_switch_mode): New function. | |
252 | (tui_initialize_readline): New function. | |
253 | (tui_enable): New function. | |
254 | (tui_disable): New function. | |
255 | (tuiGetLowDisassemblyAddress): Use CORE_ADDR, cleanup. | |
256 | (tui_vSelectSourceSymtab): Remove. | |
257 | (tuiInitWindows): Remove. | |
258 | (_initialize_tui): Remove. | |
259 | (_tuiReset): Keep but put arround #if 0. | |
260 | ||
a198b876 SC |
261 | 2001-07-21 Stephane Carrez <Stephane.Carrez@worldnet.fr> |
262 | ||
263 | * tuiIO.h: Remove old declarations and add the new ones. | |
264 | * tuiIO.c: New management for curses and gdb terminal interactions. | |
265 | (tui_tputs): Remove. | |
266 | (tuiTermSetup, tuiTermUnsetup): Remove, must use normal curses ops. | |
267 | (tuiBufferGetc, tui_vStartNewLines, _updateCommandInfo): Remove. | |
268 | (tui_owns_terminal): Remove. | |
269 | (tui_redisplay_readline): New function. | |
270 | (tui_puts): New function. | |
271 | (tui_prep_terminal): New function. | |
272 | (tui_deprep_terminal): New function. | |
273 | (tui_getc): Rename of tuiGetc, simplify and fix. | |
274 | (tui_setup_io): New function. | |
275 | (tui_initialize_io): New function. | |
276 | ||
fea14702 SC |
277 | 2001-07-21 Stephane Carrez <Stephane.Carrez@worldnet.fr> |
278 | ||
279 | * tuiRegs.c (tuiDisplayRegistersFrom): Call touchwin. | |
280 | (_tuiRegisterFormat): Reduce size of format result. | |
281 | ||
af101512 SC |
282 | 2001-07-21 Stephane Carrez <Stephane.Carrez@worldnet.fr> |
283 | ||
284 | * tuiGeneralWin.c (boxWin): Use the tui configuration variables. | |
285 | * tuiWin.h: Declare the new variables. | |
286 | * tuiWin.c (_initialize_tuiWin): Create TUI configuration variables. | |
287 | (tui_update_variables): New function. | |
288 | (translate): New function. | |
289 | (tui_border_kind_enums, tui_border_mode_enums): New tables. | |
290 | (tui_border_mode_translate): New table. | |
291 | (tui_border_kind_translate_*): New tables. | |
292 | (tui_active_border_mode): New variables. | |
293 | (tui_border_*): New variables. | |
294 | ||
a4b99e53 SC |
295 | 2001-07-21 Stephane Carrez <Stephane.Carrez@worldnet.fr> |
296 | ||
297 | * tuiWin.c (_parseScrollingArgs): Fix uninitialized variable. | |
298 | (_makeVisibleWithNewHeight): Use TuiLineOrAddress type. | |
299 | ||
300 | * tuiStack.c (tuiShowFrameInfo): Use TuiLineOrAddress type. | |
301 | (tui_vUpdateLocatorFilename): Remove. | |
302 | * tuiStack.h: Update prototypes. | |
303 | ||
304 | * tuiSourceWin.c (tuiAddrIsDisplayed): New function. | |
305 | (tuiLineIsDisplayed): Split for address and line. | |
306 | (tuiUpdateSourceWindow): Use TuiLineOrAddress type. | |
307 | (tuiUpdateSourceWindowAsIs): Likewise. | |
308 | (tuiUpdateSourceWindowsWithAddr): Likewise. | |
309 | (tuiUpdateSourceWindowsWithLine): Likewise. | |
310 | (tuiHorizontalSourceScroll): Likewise. | |
311 | (tuiSetIsExecPointAt): Likewise. | |
312 | (tuiUpdateOnEnd): Likewise. | |
313 | * tuiSourceWin.h: Update prototypes. | |
314 | ||
315 | * tuiSource.c (tuiVerticalSourceScroll): Use TuiLineOrAddress type. | |
316 | (tuiShowSource): Likewise. | |
317 | (tuiVerticalSourceScroll): Likewise. | |
318 | * tuiSource.h (tuiShowSource): Update prototype. | |
319 | ||
320 | * tuiDisassem.c (tuiSetDisassemContent): Use CORE_ADDR for address. | |
321 | (tuiShowDisassem): Use TuiLineOrAddress type. | |
322 | (tuiShowDisassemAndUpdateSource): Likewise. | |
323 | (tuiVerticalDisassemScroll): Likewise. | |
324 | (tuiShowDisassemAsIs): Remove. | |
325 | * tuiDisassem.h (tuiSetDisassemContent): Update prototype. | |
326 | ||
327 | * tuiData.c (initWinInfo): Use CORE_ADDR for address. | |
328 | (clearWinDetail): Likewise. | |
329 | (displayableWinContentOf): Fix address conversion. | |
330 | (tuiNextWin): Fix crash when the window is not yet created. | |
331 | (partialWinByName): Likewise. | |
332 | ||
19eb139b SC |
333 | 2001-07-21 Stephane Carrez <Stephane.Carrez@worldnet.fr> |
334 | ||
335 | * tuiSourceWin.h: Remove unused declarations. | |
336 | * tuiSourceWin.c (tui_vUpdateSourceWindowsWithAddr): Remove. | |
337 | (tui_vUpdateSourceWindowsWithLine): Remove. | |
338 | (tui_vAllSetHasBreakAt): Remove. | |
339 | ||
340 | * tuiLayout.h (tui_set_layout): Declare. | |
341 | (tui_vSetLayoutTo): Remove. | |
342 | (tui_vAddWinToLayout): Remove. | |
343 | * tuiLayout.c (_tuiLayout_command): Call tui_enable() to force TUI. | |
344 | (_tuiToggleLayout_command): Remove. | |
345 | (_tuiToggleSplitLayout_command): Remove. | |
346 | (_tuiLayout_command): Remove. | |
347 | (tui_vSetLayoutTo): Remove. | |
348 | (tui_vAddWinToLayout): Remove. | |
349 | ||
350 | * tuiDataWin.h (tui_vCheckDataValues): Remove. | |
351 | * tuiDataWin.c (tui_vCheckDataValues): Remove. | |
352 | ||
1854bb21 SC |
353 | 2001-07-20 Stephane Carrez <Stephane.Carrez@worldnet.fr> |
354 | ||
355 | * tuiWin.c (tuiStrDup): Remove, replaced by xstrdup. | |
356 | (_parseScrollingArgs): Use xstrdup. | |
357 | (_tuiScrollForward_command): Call tui_enable() to force TUI mode. | |
358 | (_tuiScrollBackward_command): Likewise. | |
359 | (_tuiScrollLeft_command): Likewise. | |
360 | (_tuiScrollRight_command): Likewise. | |
361 | (_tuiSetFocus): Likewise. | |
362 | (_tuiSetFocus_command): Likewise. | |
363 | (_tuiRefreshAll_command): Likewise. | |
364 | (_tuiSetTabWidth_command): Likewise. | |
365 | (_tuiSetWinHeight): Likewise. | |
366 | (_tuiSetWinHeight_command): Likewise. | |
367 | (_tuiXDBsetWinHeight): Likewise. | |
368 | (_tui_vSetFocus): Remove. | |
369 | (_tui_vSetWinHeight): Remove. | |
370 | (_tui_vXDBsetWinHeight): Remove. | |
371 | ||
9b2d6cca SC |
372 | 2001-07-21 Stephane Carrez <Stephane.Carrez@worldnet.fr> |
373 | ||
374 | * tuiCommand.h: Remove unused declarations. | |
375 | * tuiCommand.c (tuiDispatchCtrlChar): Fix escape sequences. | |
376 | (tuiIncrCommandCharCountBy): Remove. | |
377 | (tuiDecrCommandCharCountBy): Remove. | |
378 | (tuiSetCommandCharCountTo): Remove. | |
379 | (tuiClearCommandCharCount): Remove. | |
380 | ||
41783295 SC |
381 | 2001-07-20 Stephane Carrez <Stephane.Carrez@worldnet.fr> |
382 | ||
383 | * tuiWin.c (_initialize_tuiWin): Always define the tui commands; | |
384 | create the tui class help. | |
385 | * tuiLayout.c (_initialize_tuiLayout): Always define the tui commands. | |
386 | * tuiRegs.c (_initialize_tuiRegs): Likewise. | |
387 | * tuiStack.c (_initialize_tuiStack): Likewise. | |
388 | ||
3024f13a SC |
389 | 2001-07-19 Stephane Carrez <Stephane.Carrez@worldnet.fr> |
390 | ||
391 | * tuiDisassem.c (tuiVerticalDisassemScroll): Use CORE_ADDR. | |
392 | (tuiVerticalDisassemScroll): Likewise. | |
393 | (tuiShowDisassemAndUpdateSource): Check for null symtab to | |
394 | prevent a crash. | |
395 | ||
e8b915dc SC |
396 | 2001-07-18 Stephane Carrez <Stephane.Carrez@worldnet.fr> |
397 | ||
398 | * tuiIO.c (_tuiHandleResizeDuringIO): Call tuiRefreshAll. | |
399 | (tuiRead, tui_vread): Remove. | |
400 | ||
401 | * tui.c (va_catch_errors, tuiDo, tuiDoAndReturnToTop): Remove. | |
402 | (vcatch_errors, _tui_vDo): Remove. | |
403 | * tui.h (tuiDo, tuiDoAndReturnToTop): Remove. | |
404 | ||
405 | * tuiLayout.c (tuiSetLayout): Remove vcatch_errors. | |
406 | (tui_set_layout): Rename of _tuiSetLayoutTo, public. | |
407 | (_tuiToggleLayout_command): Merge with _tui_vToggleLayout_command. | |
408 | (_tuiToggleSplitLayout_command): Merge with _tui_vToggleSplitLayout_command. | |
409 | (_tuiLayout_command): Call tui_set_layout. | |
410 | ||
411 | * tuiRegs.c (_tuiScrollRegsBackward_command): Call tui_scroll. | |
412 | (_tuiScrollRegsForward_command): Likewise. | |
413 | (_tuiShowFloat_command): Call _tui_vShowRegisters_commandSupport. | |
414 | (_tuiShowGeneral_command): Likewise. | |
415 | (_tuiShowSpecial_command): Likewise. | |
416 | (_tuiToggleFloatRegs_command): Call tuiToggleFloatRegs. | |
417 | * tuiWin.c (tui_scroll): Rename of tui_vScroll, update parameters. | |
418 | (_tuiScrollForward_command): Call tui_scroll. | |
419 | (_tuiScrollBackward_command): Likewise. | |
420 | (_tuiScrollLeft_command): Likewise. | |
421 | (_tuiScrollRight_command): Likewise. | |
422 | (_tuiSetFocus_command): Call _tuiSetFocus. | |
423 | (_tuiRefreshAll_command): Call tuiRefreshAll. | |
424 | (_tuiSetWinHeight_command): Call _tuiSetWinHeight. | |
425 | (_tuiXDBsetWinHeight_command): Call _tuiXDBsetWinHeight. | |
426 | * tuiWin.h (tui_scroll): Rename of tui_vScroll, update parameters. | |
427 | ||
c774cec6 SC |
428 | 2001-07-18 Stephane Carrez <Stephane.Carrez@worldnet.fr> |
429 | ||
430 | * tuiData.h (TuiLocatorElement): Use CORE_ADDR for address member. | |
431 | (TuiLineOrAddress): Likewise. | |
432 | * tuiDisassem.c (tuiGetBeginAsmAddress): Use CORE_ADDR to specify | |
433 | an address. | |
434 | (tuiSetDisassemContent): Likewise. | |
435 | (tuiShowDisassem, tuiShowDisassemAndUpdateSource): Likewise. | |
436 | * tuiLayout.c (_extractDisplayStartAddr): Likewise. | |
437 | (tuiSetLayout): Likewise. | |
438 | * tuiSourceWin.c (tuiDisplayMainFunction): Likewise. | |
439 | (tuiUpdateSourceWindowsWithAddr): Likewise. | |
440 | (tuiUpdateSourceWindowsWithLine): Likewise. | |
441 | (tuiSetHasBreakAt): Likewise. | |
442 | * tuiStack.c (tuiSetLocatorInfo): Likewise. | |
443 | (tuiSwitchFilename): Likewise. | |
444 | (tuiUpdateLocatorInfoFromFrame): Likewise. | |
445 | (tuiSetLocatorContent): Likewise. | |
446 | (tuiShowFrameInfo): Likewise. | |
447 | * tuiDisassem.h: Update prototypes to use CORE_ADDR. | |
448 | * tuiSourceWin.h: Likewise. | |
449 | * tuiStack.h: Likewise. | |
450 | ||
84b1e7c7 SC |
451 | 2001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr> |
452 | ||
453 | * tuiWin.c: Add missing includes. | |
454 | (_makeVisibleWithNewHeight): Fix call to find_line_pc. | |
455 | * tuiLayout.c: Add missing includes. | |
456 | (_initAndMakeWin): Don't put curses in echo mode. | |
457 | (_extractDisplayStartAddr): Fix calls to find_line_pc. | |
458 | (_tuiLayout_command): Missing ',' in warning call. | |
459 | * tuiSourceWin.c (tuiUpdateSourceWindowsWithLine): Fix calls to | |
460 | find_line_pc. | |
461 | (tuiSetHasBreakAt): Check for null source file. | |
462 | ||
0963fc96 SC |
463 | 2001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr> |
464 | ||
465 | * tuiWin.c (_tuiSetFocus): Replace subsetCompare with subset_compare. | |
466 | * tuiLayout.c (_tuiSetLayoutTo): Likewise. | |
467 | * tui.c (_tui_vToggle_command): Likewise. | |
468 | ||
f9eb4b01 EZ |
469 | 2001-07-17 Elena Zannoni <ezannoni@redhat.com> |
470 | ||
471 | * tui-file.c: Add include of tuiIO.h, for tuiPuts_unfiltered. | |
472 | ||
c46cc7df SC |
473 | 2001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr> |
474 | ||
475 | * tuiRegs.c (tuiDisplayRegistersFrom): Set scrollok to FALSE in | |
476 | each register window. | |
477 | (tuiCheckRegisterValues): Use REGISTER_RAW_SIZE to obtain the size | |
478 | of the register to check. | |
479 | (_tuiRegValueHasChanged): Likewise. | |
480 | (_tuiRegisterName): Use REGISTER_NAME. | |
481 | (tui_restore_gdbout): New function. | |
482 | (_tuiRegisterFormat): Use do_registers_info with gdb_stdout redirected | |
483 | to a string. | |
484 | (START_SPECIAL_REGS): Define. | |
485 | (_tuiGetRegisterRawValue): Use get_saved_register. | |
486 | (_tuiDisplayRegister): Fix clearing of register window. | |
487 | ||
e42acc6b SC |
488 | 2001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr> |
489 | ||
490 | * tui-file.h (fputs_unfiltered_hook): Remove. | |
491 | * tui-file.c (tui_file_flush): Remove fputs_unfiltered_hook. | |
492 | (tui_file_fputs): Likewise; simplify | |
493 | ||
75fd9bc1 SC |
494 | 2001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr> |
495 | ||
496 | * tuiStack.c: Add missing includes. | |
497 | (tuiShowFrameInfo): Don't crash when there is no symbol table | |
498 | associated with the pc. | |
499 | * tuiSource.c (_hasBreak): Check for null source file. | |
500 | * tuiWin.c (tuiRefreshAll): Check for null winList[type]. | |
501 | (_tuiSetFocus): Check for null dataWin. | |
502 | * tuiGeneralWin.c (refreshAll): Check for null list[type]. | |
503 | ||
a8080b7f SC |
504 | 2001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr> |
505 | ||
506 | * tuiDisassem.c (tuiSetDisassemContent): Use tm_print_insn_info | |
507 | to disassemble in the curses window. | |
508 | ||
2a5127c4 SC |
509 | 2001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr> |
510 | ||
511 | * tui.h: Cleanup to avoid inclusion of curses includes. | |
512 | (TuiGenWinInfo, TuiGenWinInfoPtr): Move from here. | |
513 | * tuiData.h: To here; include curses includes here. | |
514 | (setTermHeightTo): Rename of setTermHeight to follow reality. | |
515 | (setTermWidthTo): Likewise with setTermWidth. | |
516 | ||
eca6576c SC |
517 | 2001-07-14 Stephane Carrez <Stephane.Carrez@worldnet.fr> |
518 | ||
519 | * tuiWin.c, tui.c, tuiCommand.c: Use ansi prototype. | |
520 | tuiIO.c, tuiData.c: Likewise. | |
521 | tuiDataWin.c, tuiDisassem.c: Likewise. | |
522 | tuiGeneralWin.c, tuiLayout.c: Likewise. | |
523 | tuiRegs.c, tuiSource.c: Likewise. | |
524 | tuiSouceWin.c, tuiStack.c: Likewise. | |
525 | ||
f377b406 SC |
526 | 2001-07-14 Stephane Carrez <Stephane.Carrez@worldnet.fr> |
527 | ||
528 | * tuiWin.c, tuiWin.h, tui.c, tui.h, tuiCommand.c: Add FSF copyright. | |
529 | tuiCommand.h, tuiIO.c, tuiIO.h, tuiData.h, tuiData.c: Likewise. | |
530 | tuiDataWin.c, tuiDataWin.h, tuiDisassem.c, tuiDisassem.h: Likewise. | |
531 | tuiGeneralWin.c, tuiGeneralWin.h, tuiLayout.c, tuiLayout.h: Likewise. | |
532 | tuiRegs.c, tuiRegs.h, tuiSource.c, tuiSource.h: Likewise. | |
533 | tuiSouceWin.c, tuiSourceWin.h, tuiStack.c, tuiStack.h: Likewise. | |
534 | ||
a728f042 AC |
535 | 2001-03-08 Andrew Cagney <ac131313@redhat.com> |
536 | ||
537 | * tuiRegs.c: Use NUM_REGS, not ARCH_NUM_REGS. | |
538 | ||
b6ba6518 KB |
539 | 2001-03-06 Kevin Buettner <kevinb@redhat.com> |
540 | ||
541 | * tui-file.h: Update/correct copyright notice. | |
542 | ||
8e65ff28 AC |
543 | Wed Feb 7 19:54:27 2001 Andrew Cagney <cagney@redhat.com> |
544 | ||
545 | * tui-file.c: Add __FILE__ and __LINE__ parameter to calls to | |
546 | internal_error. | |
547 | ||
46c6187f KB |
548 | 2000-12-14 Kevin Buettner <kevinb@redhat.com> |
549 | ||
e7b044d6 KB |
550 | * tui-file.c, tui.c, tuiData.c, tuiLayout.c: Replace occurrences |
551 | of free() with xfree(). | |
46c6187f | 552 | |
f7778913 KB |
553 | 2000-06-22 Kevin Buettner <kevinb@redhat.com> |
554 | ||
555 | * tuiSourceWin.h: Eliminate use of PARAMS from this file. | |
556 | ||
f6dd1e70 KB |
557 | 2000-06-20 Kevin Buettner <kevinb@redhat.com> |
558 | ||
559 | * tuiLayout.c: Eliminate use of PARAMS from this file. | |
560 | ||
692248f3 KB |
561 | 2000-06-17 Kevin Buettner <kevinb@redhat.com> |
562 | ||
563 | * tuiIO.c: Eliminate use of PARAMS from this file. | |
564 | ||
fbc75a32 AC |
565 | Thu May 25 14:46:20 2000 Andrew Cagney <cagney@b1.cygnus.com> |
566 | ||
567 | * tui-file.c: Include "tui.h", "tuiData.h", "tuiIO.h" and | |
568 | "tuiCommand.h". | |
569 | (tui_file_fputs): Pass ``file'' and not ``stream'' to | |
570 | tui_file_adjust_strbuf. | |
571 | ||
2894793a AC |
572 | Thu May 25 16:58:01 2000 Andrew Cagney <cagney@b1.cygnus.com> |
573 | ||
574 | * tui.h: Include <ncurses.h> when available. | |
575 | * tui.c, tuiGeneralWin.c: Do not include <curses.h>. | |
576 | ||
ed952ac5 AC |
577 | Mon May 15 17:16:10 2000 Andrew Cagney <cagney@b1.cygnus.com> |
578 | ||
579 | * Makefile.in: Delete. | |
580 | ||
784f35f9 AC |
581 | Tue Apr 18 15:32:15 2000 Andrew Cagney <cagney@b1.cygnus.com> |
582 | ||
583 | * Makefile.in (distclean, maintainer-clean, realclean, | |
584 | mostlyclean): New targets. | |
585 | ||
d9fcf2fb JM |
586 | Tue Feb 1 00:17:12 2000 Andrew Cagney <cagney@b1.cygnus.com> |
587 | ||
588 | * tui-file.c, tui-file.h, tuiDisassem.c, tuiIO.c, tuiIO.h, | |
589 | tuiRegs.c: Update to reflect rename of gdb-file / GDB_FILE to | |
590 | ui-file / ``struct ui_file''. | |
591 | ||
da59e081 JM |
592 | Mon Jan 31 18:12:43 2000 Andrew Cagney <cagney@b1.cygnus.com> |
593 | ||
594 | * tui-file.c (enum streamtype, struct tui_stream, tui_file_new, | |
595 | tui_file_delete, tui_fileopen, tui_sfileopen, tui_file_isatty, | |
596 | tui_file_rewind, tui_file_put, tui_file_fputs, | |
597 | tui_file_get_strbuf, tui_file_adjust_strbuf, tui_file_flush, | |
598 | fputs_unfiltered_hook): Move to here from ../utils.c | |
599 | ||
600 | * tui-file.h, tui-file.c: New files. | |
601 | ||
11cf8741 JM |
602 | Mon Nov 8 17:47:37 1999 Andrew Cagney <cagney@b1.cygnus.com> |
603 | ||
604 | * tuiRegs.c (_tuiRegisterFormat), tuiDisassem.c | |
605 | (tuiSetDisassemContent): Replace gdb_file_init_astring with | |
606 | tui_sfileopen. Replace gdb_file_get_strbuf with | |
607 | tui_file_get_strbuf. | |
608 | ||
609 | Mon Nov 8 16:54:51 1999 Andrew Cagney <cagney@b1.cygnus.com> | |
610 | ||
611 | * tuiRegs.c (_tuiRegisterFormat), tuiDisassem.c | |
612 | (tuiSetDisassemContent): Repace gdb_file_deallocate with | |
613 | gdb_file_delete. Replace gdb_file_init_astring with tui_sfileopen. | |
614 | ||
c2c6d25f JM |
615 | Fri Sep 17 19:34:38 1999 Andrew Cagney <cagney@b1.cygnus.com> |
616 | ||
617 | * tuiSource.c: Include "source.h". | |
618 | (open_source_file, find_source_lines): Delete declarations. | |
619 | ||
c906108c SS |
620 | 1999-01-26 Jason Molenda (jsm@bugshack.cygnus.com) |
621 | ||
622 | * tui.h: Include stdarg.h instead of varargs.h if we're on an ISO Cish | |
623 | system. | |
624 | ||
625 | Thu Dec 31 12:08:32 1998 David Taylor <taylor@texas.cygnus.com> | |
626 | ||
627 | The following changes were made by Jim Blandy <jimb@cygnus.com>, | |
628 | Edith Epstein <eepstein@cygnus.com>, Elena Zannoni | |
629 | <ezannoni@cygnus.com> Stan Shebs <shebs@cygnus.com>, and David | |
630 | Taylor <taylor@cygnus.com>, as part of the project to merge in | |
631 | changes originally made by HP; HP did not create ChangeLog | |
632 | entries. | |
633 | ||
634 | * Makefile.in: New file; we're merging HP's changes into GDB, and | |
635 | we've moved the TUI files into a subdirectory, so we need a new | |
636 | Makefile. | |
637 | ||
638 | * tui.c: | |
639 | #include <term.h>, if we have it, to get declarations for | |
640 | the termcap functions on Solaris. | |
641 | (tgoto): Add external K&R declaration for this; Solaris doesn't | |
642 | bother to actually declare it in their header files. | |
643 | (_tuiReset): Ignore the #definition of TIOCGETC if USG is defined; | |
644 | we'd rather use the USG mechanisms than the Berkeley mechanisms | |
645 | (TIOCGETC is one of the Berkeley terminal control ioctls). | |
646 | Apologies if this causes trouble later; this should all be handled | |
647 | by autoconf... | |
648 | (strcat_to_buf, strcat_to_buf_with_fmt): New functions, moved here | |
649 | from ../utils.h. | |
650 | (tuiFree): replace safe_free with free. | |
651 | (strcat_to_buf): new function, copied from utils.c. | |
652 | (tuiInit): Add ignored `argv0' argument, to match the type that | |
653 | init_ui_hook expects; updated declaration. Call the | |
654 | initialize_tui_files function constructed above. Initialize | |
655 | flush_hook to NULL. | |
656 | (tuiInitWindows): Call tuiSetLocatorContent, to get the first | |
657 | element of the locator window's content allocated. This seems | |
658 | wrong, because it must have been initialized somehow in HP's | |
659 | sources, and we should do it the same way now. But we do get | |
660 | further before it segfaults. [Postscript: HP didn't bother to | |
661 | initialize it; they compile | |
662 | (va_catch_errors, vcatch_errors): Functions moved here from | |
663 | ../utils.c in HP's sources. They're not used anywhere else. | |
664 | (xdb_style): Delete this variable, and remove all references to | |
665 | it. It's always true. | |
666 | (tuiInit, _tui_vDo): References removed. | |
667 | ||
668 | * tui.h: Add prototypes. | |
669 | Don't #include "gendefs.h"; it's only used in the TUI. | |
670 | Integrate its contents into this file: | |
671 | #include <ansidecl.h> here. | |
672 | (Opaque, OpaqueFuncPtr): Typedefs moved to here. | |
673 | ||
674 | * tuiCommand.c: #include "defs.h", so we get the appropriate | |
675 | definition of GDB_FILE. | |
676 | ||
677 | * tuiData.c | |
678 | (freeWindow): replace safe_free with free. | |
679 | (tui_version): don't define it here; it's defined in main.c now. | |
680 | ||
681 | * tuiDisassem.c | |
682 | (tuiSetDisassemContent): Call strcat_address_numeric instead of | |
683 | strcat_address. Simplify the control structure. Use predefined | |
684 | GDB function to print asm inst address. Use GDB_FILE to collect | |
685 | output into buffers. | |
686 | ||
687 | * tuiIO.c | |
688 | (tgoto): Add external K&R declaration for this here too. | |
689 | (tuiGetc, tuiTermSetup, tuiTermUnsetup): Same. | |
690 | (tuiPuts_unfiltered): change FILE to GDB_FILE. | |
691 | (tui_tputs): fix prototype for 3rd argument. | |
692 | ||
693 | * tuiIO.h (tuiPuts_unfiltered): change declaration. | |
694 | ||
695 | * tuiLayout.c | |
696 | (_tuiSetLayoutTo): for displaying registers, hook up the HP code | |
697 | that decides which registers to display (i.e. single precision | |
698 | float, double precision float, general, special). Previously, | |
699 | only handled TUI_GENERAL_REGS. Now that the code is hooked up, | |
700 | compiling with -z poses a problem. When the first layout command | |
701 | is 'layout regs', dataWin->detail is a NULL pointer, and gdb | |
702 | core dumps. | |
703 | ||
704 | * tuiLayout.c (_tuiSetLayoutTo): replace safe_free with free. | |
705 | ||
706 | * tuiRegs.c #include "defs.h" earlier, to avoid problems in | |
707 | <stdarg.h>. No idea exactly what's conflicting with what, but the | |
708 | errors went away... | |
709 | (_tuiRegisterFormat): Change so that function creates a GDB_FILE | |
710 | object, calls pa_do_strcat_registers_info, copies the register | |
711 | info into a buffer, and deallocates the GDB_FILE object. Remove | |
712 | some code that is not executed. Also, call to | |
713 | pa_do_strcat_registers_info has an additional parameter, | |
714 | precision. This code requires some new per-target functions that | |
715 | we don't want to merge. Dyke it out, with #ifdef | |
716 | TUI_EXTENDED_FORMATTERS. | |
717 | (_tuiSetSpecialRegsContent): this function was ifdefed out. | |
718 | Hooked this up. | |
719 | (_tuiSetGeneralAndSpecialRegsContent): this function was ifdefed | |
720 | out. Hooked it up. | |
721 | (IS_64BIT): Just define this to be zero; we're not merging in the | |
722 | 64-bit support. | |
723 | (tuiShowRegisters): Comment out all references to the "special" | |
724 | regs; we don't have a distinction between the "special" and | |
725 | "non-special" regs in most of our machine descriptions. This code | |
726 | is PA-specific in other ways as well, and needs to be redesigned | |
727 | to be portable to other processors. | |
728 | ||
729 | * tuiWin.c: #include <string.h>, to get a declaration for | |
730 | strchr. | |
731 | ||
732 | * tui.c, tuiCommand.c, tuiData.c, tuiDataWin.c, tuiDisassem.c, | |
733 | tuiGeneralWin.c, tuiIO.c, tuiLayout.c, tuiRegs.c, tuiSource.c, | |
734 | tuiSourceWin.c, tuiStack.c, tuiWin.c: New files (from HP). Changed | |
735 | bool to int throughout. Re-indented, GNU style. | |
736 | ||
737 | * tui.h, tuiCommand.h, tuiData.h, tuiDataWin.h, tuiDisassem.h, | |
738 | tuiGeneralWin.h, tuiIO.h, tuiLayout.h, tuiRegs.h, tuiSource.h, | |
739 | tuiSourceWin.h, tuiStack.h, tuiWin.h: new files (from HP). | |
740 | Changed bool to int throughout. |