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