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