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