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