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