Stephane Carrez
0510ab860e
* tuiDisassem.c (tuiGetBeginAsmAddress): Use lookup_minimal_symbol
...
to find symbol address.
2002-08-25 19:39:45 +00:00
Stephane Carrez
1f393769d4
* tuiSourceWin.c (tui_display_main): Rename from tuiDisplayMainFunction
...
and use tuiGetBeginAsmAddress.
* tuiSourceWin.h (tui_display_main): Declare.
* tui.h (tuiDisplayMainFunction): Remove.
* tui-hooks.c (tui_new_objfile_hook): Update.
2002-08-25 19:19:50 +00:00
Stephane Carrez
74e70df6b6
* tuiSource.h (m_tuiShowSourceAsIs): Remove macro.
...
(tuiShowSourceAsIs): Don't declare.
2002-08-25 18:58:58 +00:00
Stephane Carrez
90949d06a3
* tui-hooks.c (tui_selected_frame_level_changed_hook): Always update
...
the frame position.
2002-08-25 18:42:32 +00:00
Stephane Carrez
7d6dd1e97d
* tuiStack.c (tuiSetLocatorContent): Remove.
...
(tuiUpdateLocatorInfoFromFrame): Remove.
(tui_set_locator_info): Allocate the content buffer if necessary.
(tui_set_locator_filename): Call tui_set_locator_info directly.
(tuiShowFrameInfo): Likewise and use find_pc_line instead of
find_pc_symtab.
2002-08-25 17:13:29 +00:00
Stephane Carrez
2e17b76385
* tuiSourceWin.c (tuiDisplayMainFunction): Update to use
...
tuiUpdateLocatorFilename.
* tuiStack.c (tuiSetLocatorInfo): Make it static.
(tuiSetLocatorContent): Likewise.
(tuiUpdateLocatorInfoFromFrame): Likewise.
(tuiSwitchFilename): Remove.
(tui_set_locator_filename): New function
(tui_set_locator_info): Rename from tuiSetLocatorInfo to GNU-ify;
use tui_set_locator_filename to record the filename.
(tuiUpdateLocatorFilename): Likewise.
(tuiUpdateLocatorInfoFromFrame): Update.
(tuiSetLocatorContent): Likewise.
* tuiStack.h (tuiClearLocatorContent): Don't declare.
(tuiSetLocatorInfo, tuiSetLocatorContent): Likewise.
(tuiUpdateLocatorInfoFromFrame, tuiSwitchFilename): Likewise.
2002-08-25 13:13:20 +00:00
Stephane Carrez
bc6b7f04ca
* tuiSourceWin.c (tuiSetHasBreakAt): Use filename for breakpoint
...
comparison; cleanup.
* tuiSource.c (tuiSetSourceContent): Set window title and filename.
* tuiGeneralWin.c (boxWin): Print optional title on top of window.
* tuiData.h (TuiSourceInfo): Add filename member.
(TuiGenWinInfo): Add title member.
* tuiData.c (initGenericPart): Clear title.
(freeWindow): Free title and filename; remove unused locals.
(initWinInfo): Clear filename.
(tuiDelWindow): Free it; remove unused locals.
2002-08-25 11:00:46 +00:00
Stephane Carrez
d059f789de
* tuiStack.h (tuiGetLocatorFilename): Don't declare.
...
(tuiUpdateLocatorDisplay): Likewise.
* tuiStack.c (tuiGetLocatorFilename): Remove.
(tuiShowFrameInfo): Use tuiSetLocatorContent and tuiShowLocatorContent
instead of tuiUpdateLocatorDisplay.
(tuiUpdateLocatorDisplay): Remove.
2002-08-25 10:04:08 +00:00
Stephane Carrez
3a42771a8e
* tuiStack.h (tuiClearLocatorDisplay): Don't declare.
...
* tuiStack.c (tuiClearLocatorDisplay): Remove.
(tuiShowLocatorContent): Use wclrtoeol to clear end of status line.
(tuiUpdateLocatorDisplay): Don't call tuiClearLocatorDisplay.
2002-08-25 09:53:27 +00:00
Stephane Carrez
5564c76952
* tuiStack.c (tui_get_function_from_frame): Rename from
...
_getFuncNameFromFrame; use print_address_symbolic to get symbolic
name of address.
(tuiUpdateLocatorInfoFromFrame): Update.
2002-08-25 09:40:32 +00:00
Stephane Carrez
bc77de56b6
* tuiRegs.c (tuiDisplayRegistersFrom): Remove unused locals.
...
(_tuiRegisterFormat, _tuiSetSpecialRegsContent): Likewise.
(_tuiSetGeneralAndSpecialRegsContent): Likewise.
(_tuiSetFloatRegsContent): Likewise.
(_tuiRegisterName): Return a const char*.
* tuiData.h (_TuiDataElement): Use const char* for name.
2002-08-25 09:12:36 +00:00
Stephane Carrez
335fc5a319
* tuiSourceWin.h (tuiEraseAllSourceContent): Don't declare.
...
(tuiShowAllExecInfosContent): Likewise.
* tuiSourceWin.c (tuiEraseAllSourceContent): Remove.
(tuiShowAllExecInfosContent): Remove.
(tuiAllocSourceBuffer): Remove unused locals.
2002-08-25 08:44:44 +00:00
Stephane Carrez
7563e053c3
* tuiStack.c (tui_update_command): Rename _tuiUpdateLocation_command
...
to follow other gdb's command names; use execute_command; cleanup.
(_initialize_tuiStack): Update.
2002-08-25 08:22:58 +00:00
Stephane Carrez
b7a60de68b
* tuiWin.h (tui_update_gdb_sizes): Declare.
2002-08-25 07:56:01 +00:00
Stephane Carrez
297d160777
* tui.c (strcat_to_buf): Use const char* for source item.
...
(tui_enable): Update the windows if there is a selected frame.
* tui.h (strcat_to_buf): Update prototype.
(strcat_to_buf_with_fmt): Remove.
2002-08-24 17:04:33 +00:00
Stephane Carrez
3e752b0491
* tuiWin.c (tui_update_gdb_sizes): New function to tell gdb what
...
is the size of command window.
(tuiResizeAll): Call it instead of init_page_info.
* tui.c (tui_enable): Call it to resize to TUI command window.
(tui_disable): Likewise for plain screen.
2002-08-24 16:43:08 +00:00
Stephane Carrez
c7037be10d
* tui.c (tui_enable): Use tuiSetLayout instead of showLayout and
...
use tuiShowFrameInfo instead of tuiSetLocatorContent.
* tuiLayout.h (showLayout): Remove.
* tuiLayout.c (_showSourceOrDisassemAndCommand): Remove unused locals.
(_showSourceDisassemCommand): Likewise.
(showLayout): Make it static.
(lastLayout): Remove.
2002-08-24 15:25:25 +00:00
Stephane Carrez
bc712bbf17
* tuiSourceWin.c (tui_show_source_line): New function.
...
(tuiShowSourceContent): Call it and avoid clearing the window before
redrawing it.
(tuiClearAllSourceWinsContent): Remove.
* tuiSourceWin.h (tuiClearAllSourceWinsContent): Don't declare.
* tuiWin.h (tuiClearWinFocus, tuiClearWinFocusFrom): Don't declare.
* tuiWin.c (tuiClearWinFocus, tuiClearWinFocusFrom): Remove.
(tuiRefreshAll): Don't clear the window.
(_makeVisibleWithNewHeight): Don't clear locator line.
(tuiResizeAll): Remove unused locals.
(_tuiAdjustWinHeights): Likewise.
(_makeInvisibleAndSetNewHeight): Likewise.
(_newHeightOk): Likewise.
* tuiLayout.c (showLayout): Don't clear source windows.
(tuiSetLayout): Don't clear the window.
(_initAndMakeWin): Likewise for status line.
* tuiGeneralWin.c (makeVisible): Don't clear or refresh the window.
(makeWindow): Likewise.
(tuiClearWin): Remove.
* tuiGeneralWin.h (tuiClearWin): Don't declare.
2002-08-24 12:28:33 +00:00
Stephane Carrez
e9ae5755d3
* tuiSourceWin.c (tuiSrcWinIsDisplayed): Remove.
...
(tuiAsmWinIsDisplayed): Remove.
(tuiShowAllSourceWinsContent): Remove.
(tuiUpdateOnEnd): Remove.
* tuiGeneralWin.c (scrollWinForward): Remove.
(scrollWinBackward): Remove.
(_winResize): Don't declare.
* tui.h (tuiUpdateOnEnd): Don't declare.
(vcatch_errors, va_catch_errors): Likewise.
* tuiSourceWin.h (tuiUpdateOnEnd): Likewise.
(tuiShowAllSourceWinsContent): Likewise.
* tuiGeneralWin.h (scrollWinForward): Likewise.
(scrollWinBackward): Likewise.
2002-08-24 10:15:54 +00:00
Stephane Carrez
ad0fd2c861
* tuiRegs.c (_tuiRegisterFormat): Use gdbarch_print_registers_info.
2002-08-24 09:43:30 +00:00
Daniel Jacobowitz
6d7fbb5a8b
Fix PR gdb/655
...
* tui.c: Disable <termio.h> include.
2002-08-18 23:20:47 +00:00
Andrew Cagney
349c5d5f6c
* defs.h (XMALLOC): Define.
...
* gdb-events.sh (XMALLOC): Delete macro.
* gdb-events.c, gdb-events.h: Regenerate.
* gdbarch.sh (XMALLOC): Delete macro.
* gdbarch.c: Regenerate.
* serial.c (XMALLOC): Delete macro.
* ui-file.c (XMALLOC): Ditto.
* ser-unix.h (XMALLOC): Ditto.
* sh-tdep.c (XMALLOC): Ditto.
* ui-out.c (XMALLOC): Ditto.
* utils.c (XMALLOC): Ditto.
* i386-tdep.c (XMALLOC): Ditto.
* gdb-events.c (XMALLOC): Ditto.
* d10v-tdep.c (XMALLOC): Ditto.
* cli-out.c (XMALLOC): Ditto.
* cli-out.c, d10v-tdep.c, gdb-events.c: Update copyright.
* gdb-events.sh, i386-tdep.c, ser-unix.h, serial.c: Ditto.
* ui-file.c, ui-out.c: Ditto.
2002-03-19 02:51:09 +00:00
Andrew Cagney
f33c6cbfe5
Add FIXME explaining include problem.
2002-03-01 06:19:28 +00:00
Daniel Jacobowitz
4e8f7a8b27
2002-02-08 Daniel Jacobowitz <drow@mvista.com>
...
* utils.c: Include <curses.h> before "bfd.h".
* tui/tui-hooks.c: Likewise.
* tui/tui.c: Likewise.
* tui/tuiCommand.c: Likewise.
* tui/tuiData.c: Likewise.
* tui/tuiDataWin.c: Likewise.
* tui/tuiDisassem.c: Likewise.
* tui/tuiGeneralWin.c: Likewise.
* tui/tuiIO.c: Likewise.
* tui/tuiLayout.c: Likewise.
* tui/tuiRegs.c: Likewise.
* tui/tuiSource.c: Likewise.
* tui/tuiSourceWin.c: Likewise.
* tui/tuiStack.c: Likewise.
* tui/tuiWin.c: Likewise.
2002-02-08 15:54:32 +00:00
Andrew Cagney
e00d1dc8a5
s/NO_FUNCTION/NULL/
2002-02-02 00:56:37 +00:00
Andrew Cagney
fd0407d670
Add explicit #include of "value.h".
2001-10-21 17:19:38 +00:00
Tom Tromey
7cacb6a3a7
* tuiLayout.h (tui_set_layout): Don't declare.
...
* tui.h (tui_vAddWinToLayout): Don't declare.
(tui_vSetLayoutTo): Likewise.
(tui_set_layout): Declare.
2001-09-28 17:39:09 +00:00
Eli Zaretskii
b5de0fa741
The following changes avoid polluting global namespace with the
...
`enable' and `disable' identifiers, because some platforms define
in their system headers symbols with global scope that go by those
names.
* breakpoint.h (enum enable_state): Rename from `enum enable'.
Also rename all the enum members to have the "bp_" prefix.
(struct breakpoint): Rename the `enable' member to `enable_state'.
(enum bpdisp): Rename all members to have the "disp_" prefix.
* breakpoint.c: All users of `enum enable' and `enum bpdisp'
changed.
(args_for_catchpoint_enable): Rename the `enable' member to
`enable_p'. All users changed.
* tracepoint.h (enum enable): Remove.
(struct tracepoint): The member `enabled' is now `int enabled_p'.
* tracepoint.c: All users of the `enabled' member changed.
* printcmd.c (struct display): The `status' member is now an int.
* memattr.h (struct mem_region): Rename the `status' member to
`enabled_p'.
(enum enable): Remove.
* memattr.c: Change all users of the `status' member of struct
mem_region to use `enabled_p' instead.
* infcmd.c (run_stack_dummy): Use disp_del instead of del.
* go32-nat.c: Remove the kludgey work-around for conflicts between
<dos.h> and "breakpoint.h".
* tui/tuiSourceWin.c: Use disp_del instead of del.
* tui/tuiSource.c: Use disp_del instead of del.
* tui/tuiDisassem.c: Use disp_del instead of del.
2001-08-02 11:58:29 +00:00
Stephane Carrez
799a074014
* tui.c (tui_enable): Remove call to terminal_save_ours().
...
(tui_disable): Likewise.
2001-07-31 19:00:50 +00:00
Stephane Carrez
c968487932
* tuiWin.c (_initialize_tuiWin): Use specific tui prefix for
...
set/show configuration variables.
(show_tui_cmd): New function.
(set_tui_cmd): New function.
2001-07-28 19:30:54 +00:00
Stephane Carrez
2611b1a5bd
* tui-hooks.c: New file, gdb hooks for tui.
...
* tui-out.c: New file, image copied from cli-out.c.
(tui_field_int): Identify "line" fields and keep track of them.
(tui_field_string): Likewise for "file".
(tui_out_new): Use flags = 0 to avoid printing the sources.
2001-07-24 20:40:39 +00:00
Stephane Carrez
114bf287e2
Missed changelog entries for previous 2 commits
2001-07-24 20:39:34 +00:00
Stephane Carrez
d75e970c9d
* tuiIO.c (tui_cont_sig): Update cursor position on the screen to
...
leave it in the command window.
(tui_redisplay_readline): Save cursor position to restore the
cursor after we go back from background.
* tuiData.h (TuiCommandInfo): Add start_line member.
2001-07-23 21:16:20 +00:00
Stephane Carrez
c6f60bcd2c
* tuiStack.c (tuiUpdateLocatorFilename): Use const char*.
...
* tuiStack.h (tuiUpdateLocatorFilename): Update prototype.
* tuiWin.c (_initialize_tuiWin): Don't cast table of enum in calls
to add_set_enum_cmd.
* tui.c (tui_show_source): New function.
(tuiGetLowDisassemblyAddress): Use CORE_ADDR for newLow.
(tui_switch_mode): Prep or deprep readline terminal;
make sure the \n we return does not redo the last command.
* tui.h (tui_show_source): Declare.
(tui_out_new, tui_install_hooks, tui_remove_hooks): Likewise.
(tui_active, tui_initialize_io, tui_initialize_readline): Likewise.
2001-07-23 21:13:57 +00:00
Stephane Carrez
9d876a16bb
* tuiIO.c (tui_initialize_io): Install tui_cont_sig signal handler
...
if SIGCONT is defined.
(tui_cont_sig): New function when SIGCONT is defined.
(tui_setup_io): Save tty setting to restore by SIGCONT.
2001-07-21 22:35:40 +00:00
Stephane Carrez
1403b519de
* tui.h (tui_show_assembly): Declare.
...
(tui_is_window_visible): Declare.
* tui.c (tui_show_assembly): New function.
(tui_is_window_visible): New function.
(tui_get_command_dimension): New function.
2001-07-21 22:24:44 +00:00
Stephane Carrez
3e266828da
* tuiWin.c (tuiRefreshAll): Use clearok to force a refresh.
2001-07-21 20:57:17 +00:00
Stephane Carrez
174a4a09a4
* tui-file.c (tui_file_fputs): Use tui_puts.
2001-07-21 20:55:34 +00:00
Stephane Carrez
c7c228ed4b
* tuiStack.c (tuiSetLocatorInfo): Cleanup.
...
* tuiStack.h (tuiGetLocatorFilename): Declare.
* tuiRegs.h (tuiFirstRegElementNoInLine): Declare.
* tuiData.h (addToSourceWindows): Declare.
2001-07-21 20:52:56 +00:00
Stephane Carrez
377c38eacc
* tui.c (tui_change_windows): New function.
...
(tui_delete_other_windows): New function.
(tui_initialize_readline): Bind them to C-X 1 and C-X 2.
(tui_enable): Enable the keypad; call tui_update_variables.
(strcat_to_buf_with_fmt): Remove.
2001-07-21 20:49:56 +00:00
Stephane Carrez
39db33d602
* tui.h: Remove old declarations, add the new ones.
...
* tui.c (tui_switch_mode): New function.
(tui_initialize_readline): New function.
(tui_enable): New function.
(tui_disable): New function.
(tuiGetLowDisassemblyAddress): Use CORE_ADDR, cleanup.
(tui_vSelectSourceSymtab): Remove.
(tuiInitWindows): Remove.
(_initialize_tui): Remove.
(_tuiReset): Keep but put arround #if 0.
2001-07-21 19:59:14 +00:00
Stephane Carrez
a198b876bb
* tuiIO.h: Remove old declarations and add the new ones.
...
* tuiIO.c: New management for curses and gdb terminal interactions.
(tui_tputs): Remove.
(tuiTermSetup, tuiTermUnsetup): Remove, must use normal curses ops.
(tuiBufferGetc, tui_vStartNewLines, _updateCommandInfo): Remove.
(tui_owns_terminal): Remove.
(tui_redisplay_readline): New function.
(tui_puts): New function.
(tui_prep_terminal): New function.
(tui_deprep_terminal): New function.
(tui_getc): Rename of tuiGetc, simplify and fix.
(tui_setup_io): New function.
(tui_initialize_io): New function.
2001-07-21 19:56:54 +00:00
Stephane Carrez
fea1470223
* tuiRegs.c (tuiDisplayRegistersFrom): Call touchwin.
...
(_tuiRegisterFormat): Reduce size of format result.
2001-07-21 19:46:59 +00:00
Stephane Carrez
af10151233
* tuiGeneralWin.c (boxWin): Use the tui configuration variables.
...
* tuiWin.h: Declare the new variables.
* tuiWin.c (_initialize_tuiWin): Create TUI configuration variables.
(tui_update_variables): New function.
(translate): New function.
(tui_border_kind_enums, tui_border_mode_enums): New tables.
(tui_border_mode_translate): New table.
(tui_border_kind_translate_*): New tables.
(tui_active_border_mode): New variables.
(tui_border_*): New variables.
2001-07-21 19:44:38 +00:00
Stephane Carrez
a4b99e5344
* tuiWin.c (_parseScrollingArgs): Fix uninitialized variable.
...
(_makeVisibleWithNewHeight): Use TuiLineOrAddress type.
* tuiStack.c (tuiShowFrameInfo): Use TuiLineOrAddress type.
(tui_vUpdateLocatorFilename): Remove.
* tuiStack.h: Update prototypes.
* tuiSourceWin.c (tuiAddrIsDisplayed): New function.
(tuiLineIsDisplayed): Split for address and line.
(tuiUpdateSourceWindow): Use TuiLineOrAddress type.
(tuiUpdateSourceWindowAsIs): Likewise.
(tuiUpdateSourceWindowsWithAddr): Likewise.
(tuiUpdateSourceWindowsWithLine): Likewise.
(tuiHorizontalSourceScroll): Likewise.
(tuiSetIsExecPointAt): Likewise.
(tuiUpdateOnEnd): Likewise.
* tuiSourceWin.h: Update prototypes.
* tuiSource.c (tuiVerticalSourceScroll): Use TuiLineOrAddress type.
(tuiShowSource): Likewise.
(tuiVerticalSourceScroll): Likewise.
* tuiSource.h (tuiShowSource): Update prototype.
* tuiDisassem.c (tuiSetDisassemContent): Use CORE_ADDR for address.
(tuiShowDisassem): Use TuiLineOrAddress type.
(tuiShowDisassemAndUpdateSource): Likewise.
(tuiVerticalDisassemScroll): Likewise.
(tuiShowDisassemAsIs): Remove.
* tuiDisassem.h (tuiSetDisassemContent): Update prototype.
* tuiData.c (initWinInfo): Use CORE_ADDR for address.
(clearWinDetail): Likewise.
(displayableWinContentOf): Fix address conversion.
(tuiNextWin): Fix crash when the window is not yet created.
(partialWinByName): Likewise.
2001-07-20 23:06:48 +00:00
Stephane Carrez
19eb139b72
* tuiSourceWin.h: Remove unused declarations.
...
* tuiSourceWin.c (tui_vUpdateSourceWindowsWithAddr): Remove.
(tui_vUpdateSourceWindowsWithLine): Remove.
(tui_vAllSetHasBreakAt): Remove.
* tuiLayout.h (tui_set_layout): Declare.
(tui_vSetLayoutTo): Remove.
(tui_vAddWinToLayout): Remove.
* tuiLayout.c (_tuiLayout_command): Call tui_enable() to force TUI.
(_tuiToggleLayout_command): Remove.
(_tuiToggleSplitLayout_command): Remove.
(_tuiLayout_command): Remove.
(tui_vSetLayoutTo): Remove.
(tui_vAddWinToLayout): Remove.
* tuiDataWin.h (tui_vCheckDataValues): Remove.
* tuiDataWin.c (tui_vCheckDataValues): Remove.
2001-07-20 22:26:54 +00:00
Stephane Carrez
1854bb2190
* tuiWin.c (tuiStrDup): Remove, replaced by xstrdup.
...
(_parseScrollingArgs): Use xstrdup.
(_tuiScrollForward_command): Call tui_enable() to force TUI mode.
(_tuiScrollBackward_command): Likewise.
(_tuiScrollLeft_command): Likewise.
(_tuiScrollRight_command): Likewise.
(_tuiSetFocus): Likewise.
(_tuiSetFocus_command): Likewise.
(_tuiRefreshAll_command): Likewise.
(_tuiSetTabWidth_command): Likewise.
(_tuiSetWinHeight): Likewise.
(_tuiSetWinHeight_command): Likewise.
(_tuiXDBsetWinHeight): Likewise.
(_tui_vSetFocus): Remove.
(_tui_vSetWinHeight): Remove.
(_tui_vXDBsetWinHeight): Remove.
2001-07-20 22:22:08 +00:00
Stephane Carrez
9b2d6ccae7
* tuiCommand.c (tuiDispatchCtrlChar): Fix escape sequences.
...
(tuiIncrCommandCharCountBy): Remove.
(tuiDecrCommandCharCountBy): Remove.
(tuiSetCommandCharCountTo): Remove.
(tuiClearCommandCharCount): Remove.
2001-07-20 22:17:49 +00:00
Stephane Carrez
4178329584
* tuiWin.c (_initialize_tuiWin): Always define the tui commands;
...
create the tui class help.
* tuiLayout.c (_initialize_tuiLayout): Always define the tui commands.
* tuiRegs.c (_initialize_tuiRegs): Likewise.
* tuiStack.c (_initialize_tuiStack): Likewise.
2001-07-19 22:47:46 +00:00
Stephane Carrez
3024f13a83
* tuiDisassem.c (tuiVerticalDisassemScroll): Use CORE_ADDR.
...
(tuiVerticalDisassemScroll): Likewise.
(tuiShowDisassemAndUpdateSource): Check for null symtab to
prevent a crash.
2001-07-19 21:56:39 +00:00
Stephane Carrez
e8b915dc07
* tuiIO.c (_tuiHandleResizeDuringIO): Call tuiRefreshAll.
...
(tuiRead, tui_vread): Remove.
* tui.c (va_catch_errors, tuiDo, tuiDoAndReturnToTop): Remove.
(vcatch_errors, _tui_vDo): Remove.
* tui.h (tuiDo, tuiDoAndReturnToTop): Remove.
* tuiLayout.c (tuiSetLayout): Remove vcatch_errors.
(tui_set_layout): Rename of _tuiSetLayoutTo, public.
(_tuiToggleLayout_command): Merge with _tui_vToggleLayout_command.
(_tuiToggleSplitLayout_command): Merge with _tui_vToggleSplitLayout_command.
(_tuiLayout_command): Call tui_set_layout.
* tuiRegs.c (_tuiScrollRegsBackward_command): Call tui_scroll.
(_tuiScrollRegsForward_command): Likewise.
(_tuiShowFloat_command): Call _tui_vShowRegisters_commandSupport.
(_tuiShowGeneral_command): Likewise.
(_tuiShowSpecial_command): Likewise.
(_tuiToggleFloatRegs_command): Call tuiToggleFloatRegs.
* tuiWin.c (tui_scroll): Rename of tui_vScroll, update parameters.
(_tuiScrollForward_command): Call tui_scroll.
(_tuiScrollBackward_command): Likewise.
(_tuiScrollLeft_command): Likewise.
(_tuiScrollRight_command): Likewise.
(_tuiSetFocus_command): Call _tuiSetFocus.
(_tuiRefreshAll_command): Call tuiRefreshAll.
(_tuiSetWinHeight_command): Call _tuiSetWinHeight.
(_tuiXDBsetWinHeight_command): Call _tuiXDBsetWinHeight.
* tuiWin.h (tui_scroll): Rename of tui_vScroll, update parameters.
2001-07-18 22:03:22 +00:00
Stephane Carrez
c774cec6a7
* tuiData.h (TuiLocatorElement): Use CORE_ADDR for address member.
...
(TuiLineOrAddress): Likewise.
* tuiDisassem.c (tuiGetBeginAsmAddress): Use CORE_ADDR to specify
an address.
(tuiSetDisassemContent): Likewise.
(tuiShowDisassem, tuiShowDisassemAndUpdateSource): Likewise.
* tuiLayout.c (_extractDisplayStartAddr): Likewise.
(tuiSetLayout): Likewise.
* tuiSourceWin.c (tuiDisplayMainFunction): Likewise.
(tuiUpdateSourceWindowsWithAddr): Likewise.
(tuiUpdateSourceWindowsWithLine): Likewise.
(tuiSetHasBreakAt): Likewise.
* tuiStack.c (tuiSetLocatorInfo): Likewise.
(tuiSwitchFilename): Likewise.
(tuiUpdateLocatorInfoFromFrame): Likewise.
(tuiSetLocatorContent): Likewise.
(tuiShowFrameInfo): Likewise.
* tuiDisassem.h: Update prototypes to use CORE_ADDR.
* tuiSourceWin.h: Likewise.
* tuiStack.h: Likewise.
2001-07-18 20:59:00 +00:00
Stephane Carrez
84b1e7c7ee
* tuiWin.c: Add missing includes.
...
(_makeVisibleWithNewHeight): Fix call to find_line_pc.
* tuiLayout.c: Add missing includes.
(_initAndMakeWin): Don't put curses in echo mode.
(_extractDisplayStartAddr): Fix calls to find_line_pc.
(_tuiLayout_command): Missing ',' in warning call.
* tuiSourceWin.c (tuiUpdateSourceWindowsWithLine): Fix calls to
find_line_pc.
(tuiSetHasBreakAt): Check for null source file.
2001-07-17 22:22:40 +00:00
Stephane Carrez
0963fc9672
* tuiWin.c (_tuiSetFocus): Replace subsetCompare with subset_compare.
...
* tuiLayout.c (_tuiSetLayoutTo): Likewise.
* tui.c (_tui_vToggle_command): Likewise.
2001-07-17 21:37:18 +00:00
Elena Zannoni
f9eb4b0146
2001-07-17 Elena Zannoni <ezannoni@redhat.com>
...
* Makefile.in (tui-file.o): Update dependencies.
* tui/tui-file.c: Add include of tuiIO.h, for tuiPuts_unfiltered.
2001-07-17 20:22:51 +00:00
Stephane Carrez
c46cc7dffe
* tuiRegs.c (tuiDisplayRegistersFrom): Set scrollok to FALSE in
...
each register window.
(tuiCheckRegisterValues): Use REGISTER_RAW_SIZE to obtain the size
of the register to check.
(_tuiRegValueHasChanged): Likewise.
(_tuiRegisterName): Use REGISTER_NAME.
(tui_restore_gdbout): New function.
(_tuiRegisterFormat): Use do_registers_info with gdb_stdout redirected
to a string.
(START_SPECIAL_REGS): Define.
(_tuiGetRegisterRawValue): Use get_saved_register.
(_tuiDisplayRegister): Fix clearing of register window.
2001-07-17 06:44:57 +00:00
Stephane Carrez
e42acc6bba
* tui-file.h (fputs_unfiltered_hook): Remove.
...
* tui-file.c (tui_file_flush): Remove fputs_unfiltered_hook.
(tui_file_fputs): Likewise; simplify
2001-07-17 06:42:58 +00:00
Stephane Carrez
75fd9bc1ec
* tuiStack.c: Add missing includes.
...
(tuiShowFrameInfo): Don't crash when there is no symbol table
associated with the pc.
* tuiSource.c (_hasBreak): Check for null source file.
* tuiWin.c (tuiRefreshAll): Check for null winList[type].
(_tuiSetFocus): Check for null dataWin.
* tuiGeneralWin.c (refreshAll): Check for null list[type].
2001-07-16 22:13:38 +00:00
Stephane Carrez
a8080b7fbf
* tuiDisassem.c (tuiSetDisassemContent): Use tm_print_insn_info
...
to disassemble in the curses window.
2001-07-16 22:10:07 +00:00
Stephane Carrez
2a5127c4e3
* tui.h: Cleanup to avoid inclusion of curses includes.
...
(TuiGenWinInfo, TuiGenWinInfoPtr): Move from here.
* tuiData.h: To here; include curses includes here.
(setTermHeightTo): Rename of setTermHeight to follow reality.
(setTermWidthTo): Likewise with setTermWidth.
2001-07-16 22:05:02 +00:00
Stephane Carrez
eca6576c19
* tuiWin.c, tui.c, tuiCommand.c: Use ansi prototype.
...
tuiIO.c, tuiData.c: Likewise.
tuiDataWin.c, tuiDisassem.c: Likewise.
tuiGeneralWin.c, tuiLayout.c: Likewise.
tuiRegs.c, tuiSource.c: Likewise.
tuiSouceWin.c, tuiStack.c: Likewise.
2001-07-14 19:31:09 +00:00
Stephane Carrez
f377b40658
* tuiWin.c, tuiWin.h, tui.c, tui.h, tuiCommand.c: Add FSF copyright.
...
tuiCommand.h, tuiIO.c, tuiIO.h, tuiData.h, tuiData.c: Likewise.
tuiDataWin.c, tuiDataWin.h, tuiDisassem.c, tuiDisassem.h: Likewise.
tuiGeneralWin.c, tuiGeneralWin.h, tuiLayout.c, tuiLayout.h: Likewise.
tuiRegs.c, tuiRegs.h, tuiSource.c, tuiSource.h: Likewise.
tuiSouceWin.c, tuiSourceWin.h, tuiStack.c, tuiStack.h: Likewise.
2001-07-14 19:01:25 +00:00
Andrew Cagney
a728f04251
Eliminate ARCH_NUM_REGS.
2001-03-13 23:31:14 +00:00
Kevin Buettner
b6ba6518e9
Update/correct copyright notices.
2001-03-06 08:22:02 +00:00
Andrew Cagney
8e65ff28b0
Add __FILE__ and __LINE__ parameter to internal_error() /
...
internal_verror().
2001-02-08 06:03:54 +00:00
Kevin Buettner
e7b044d683
Removed (tui and mi) directory prefixes from ChangeLog comments that I
...
added in last commit.
2000-12-15 03:00:38 +00:00
Kevin Buettner
46c6187fb5
Put mi and tui comments for free -> xfree change in proper ChangeLogs.
2000-12-15 02:56:42 +00:00
Kevin Buettner
b8c9b27d1e
Replace free() with xfree().
2000-12-15 01:01:51 +00:00
Kevin Buettner
fba45db2fa
Protoization.
2000-07-30 01:48:28 +00:00
Kevin Buettner
f777891334
PARAMS elimination.
2000-06-22 07:16:20 +00:00
Kevin Buettner
f6dd1e7029
PARAMS elimination.
2000-06-20 07:13:39 +00:00
Kevin Buettner
692248f335
PARAMS elimination.
2000-06-18 00:23:24 +00:00
Kevin Buettner
507f3c78fb
Eliminate PARAMS from function pointer declarations.
2000-06-04 00:41:10 +00:00
Kevin Buettner
a14ed312fd
PARAMS removal.
2000-05-28 01:12:42 +00:00
Andrew Cagney
fbc75a324a
Fix bitrot in tui-file.c.
2000-05-26 06:15:49 +00:00
Andrew Cagney
2894793a7b
Configure TUI to use <ncurses.h> when available.
2000-05-26 04:11:34 +00:00
Andrew Cagney
ed952ac512
Have TUI use the same configury mechanism as MI.
2000-05-25 01:50:50 +00:00
Andrew Cagney
784f35f92c
Add full set of cleanup rules.
2000-04-18 08:04:59 +00:00
Jason Molenda
1171f8d754
2000-02-07 Jason Molenda (jsm@bugshack.cygnus.com)
...
* gdb/config/i386/windows.mh,
gdb/doc/GDBvn.texi, gdb/doc/remote.texi,
gdb/testsuite/gdb.base/README, gdb/testsuite/gdb.base/crossload.exp,
gdb/testsuite/gdb.base/i486-elf.u, gdb/testsuite/gdb.base/i860-elf.u,
gdb/testsuite/gdb.base/m68k-aout.u,
gdb/testsuite/gdb.base/m68k-aout2.u,
gdb/testsuite/gdb.base/m68k-elf.u, gdb/testsuite/gdb.base/mips-ecoff.u,
gdb/testsuite/gdb.base/sparc-aout.u,
gdb/testsuite/gdb.base/sparc-elf.u,
gdb/tui/Makefile,
readline/ChangeLog: These files have been removed over the course
of the last year, but weren't cvs removed from the old GDB repository
on sourceware.
2000-02-08 03:37:34 +00:00
Jason Molenda
d9fcf2fb1c
import gdb-2000-02-01 snapshot
2000-02-02 00:21:19 +00:00
Jason Molenda
da59e08184
import gdb-2000-01-31 snapshot
2000-02-01 03:19:29 +00:00
Jason Molenda
11cf874164
import gdb-1999-11-08 snapshot
1999-11-09 01:23:30 +00:00
Jason Molenda
917317f4c6
import gdb-1999-10-18 snapshot
1999-10-19 02:47:02 +00:00
Jason Molenda
c2c6d25f0d
import gdb-1999-09-21
1999-09-22 03:28:34 +00:00
Jason Molenda
c5aa993b1f
import gdb-1999-07-07 post reformat
1999-07-07 20:19:36 +00:00
Stan Shebs
c906108c21
Initial creation of sourceware repository
1999-04-16 01:35:26 +00:00
Stan Shebs
9733ab3f56
Initial creation of sourceware repository
1999-04-16 01:34:49 +00:00
Stan Shebs
071ea11e85
Initial creation of sourceware repository
1999-04-16 01:34:07 +00:00
Jason Molenda
00c1f9b9c0
1999-01-26 Jason Molenda (jsm@bugshack.cygnus.com)
...
* tui.h: Include stdarg.h instead of varargs.h if we're on an ISO Cish
system.
Without this you'll get a build failure in gdbtk.c because it includes
stdarg.h but tui.h includes varargs.h; gdbtk.c tries to use va_start
and things die.
1999-01-27 00:48:10 +00:00
David Taylor
0127dc8337
att ChangeLog.
1999-01-12 16:58:31 +00:00
David Taylor
03b93bdc82
HP tui support files for gdb.
1998-12-31 17:46:28 +00:00