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