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