aboutsummaryrefslogtreecommitdiff
path: root/gdb/tui
AgeCommit message (Collapse)AuthorFilesLines
2001-10-21Add explicit #include of "value.h".Andrew Cagney3-0/+7
2001-09-28 * tuiLayout.h (tui_set_layout): Don't declare.Tom Tromey3-3/+8
* tui.h (tui_vAddWinToLayout): Don't declare. (tui_vSetLayoutTo): Likewise. (tui_set_layout): Declare.
2001-08-02 The following changes avoid polluting global namespace with theEli Zaretskii4-3/+11
`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-07-31 * tui.c (tui_enable): Remove call to terminal_save_ours().Stephane Carrez2-5/+5
(tui_disable): Likewise.
2001-07-28 * tuiWin.c (_initialize_tuiWin): Use specific tui prefix forStephane Carrez2-10/+36
set/show configuration variables. (show_tui_cmd): New function. (set_tui_cmd): New function.
2001-07-24 * tui-hooks.c: New file, gdb hooks for tui.Stephane Carrez3-0/+812
* 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-24Missed changelog entries for previous 2 commitsStephane Carrez1-0/+22
2001-07-23 * tuiIO.c (tui_cont_sig): Update cursor position on the screen toStephane Carrez2-6/+17
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 * tuiStack.c (tuiUpdateLocatorFilename): Use const char*.Stephane Carrez5-6/+41
* 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-21 * tuiIO.c (tui_initialize_io): Install tui_cont_sig signal handlerStephane Carrez2-0/+36
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 * tui.h (tui_show_assembly): Declare.Stephane Carrez3-0/+43
(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 * tuiWin.c (tuiRefreshAll): Use clearok to force a refresh.Stephane Carrez2-0/+5
2001-07-21 * tui-file.c (tui_file_fputs): Use tui_puts.Stephane Carrez2-1/+5
2001-07-21 * tuiStack.c (tuiSetLocatorInfo): Cleanup.Stephane Carrez5-25/+13
* tuiStack.h (tuiGetLocatorFilename): Declare. * tuiRegs.h (tuiFirstRegElementNoInLine): Declare. * tuiData.h (addToSourceWindows): Declare.
2001-07-21 * tui.c (tui_change_windows): New function.Stephane Carrez2-19/+114
(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 * tui.h: Remove old declarations, add the new ones.Stephane Carrez2-296/+137
* 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 * tuiIO.h: Remove old declarations and add the new ones.Stephane Carrez3-565/+347
* 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 * tuiRegs.c (tuiDisplayRegistersFrom): Call touchwin.Stephane Carrez2-1/+25
(_tuiRegisterFormat): Reduce size of format result.
2001-07-21 * tuiGeneralWin.c (boxWin): Use the tui configuration variables.Stephane Carrez4-14/+264
* 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-20 * tuiWin.c (_parseScrollingArgs): Fix uninitialized variable.Stephane Carrez11-152/+171
(_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 * tuiSourceWin.h: Remove unused declarations.Stephane Carrez7-133/+32
* 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 * tuiWin.c (tuiStrDup): Remove, replaced by xstrdup.Stephane Carrez2-68/+43
(_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 * tuiCommand.c (tuiDispatchCtrlChar): Fix escape sequences.Stephane Carrez3-91/+21
(tuiIncrCommandCharCountBy): Remove. (tuiDecrCommandCharCountBy): Remove. (tuiSetCommandCharCountTo): Remove. (tuiClearCommandCharCount): Remove.
2001-07-19 * tuiWin.c (_initialize_tuiWin): Always define the tui commands;Stephane Carrez5-57/+56
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 * tuiDisassem.c (tuiVerticalDisassemScroll): Use CORE_ADDR.Stephane Carrez2-10/+20
(tuiVerticalDisassemScroll): Likewise. (tuiShowDisassemAndUpdateSource): Check for null symtab to prevent a crash.
2001-07-18 * tuiIO.c (_tuiHandleResizeDuringIO): Call tuiRefreshAll.Stephane Carrez8-352/+78
(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 * tuiData.h (TuiLocatorElement): Use CORE_ADDR for address member.Stephane Carrez9-46/+69
(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-17 * tuiWin.c: Add missing includes.Stephane Carrez4-9/+42
(_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 * tuiWin.c (_tuiSetFocus): Replace subsetCompare with subset_compare.Stephane Carrez4-18/+24
* tuiLayout.c (_tuiSetLayoutTo): Likewise. * tui.c (_tui_vToggle_command): Likewise.
2001-07-172001-07-17 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni2-0/+5
* Makefile.in (tui-file.o): Update dependencies. * tui/tui-file.c: Add include of tuiIO.h, for tuiPuts_unfiltered.
2001-07-17 * tuiRegs.c (tuiDisplayRegistersFrom): Set scrollok to FALSE inStephane Carrez2-27/+82
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 * tui-file.h (fputs_unfiltered_hook): Remove.Stephane Carrez3-80/+13
* tui-file.c (tui_file_flush): Remove fputs_unfiltered_hook. (tui_file_fputs): Likewise; simplify
2001-07-16 * tuiStack.c: Add missing includes.Stephane Carrez5-5/+22
(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 * tuiDisassem.c (tuiSetDisassemContent): Use tm_print_insn_infoStephane Carrez2-3/+9
to disassemble in the curses window.
2001-07-16 * tui.h: Cleanup to avoid inclusion of curses includes.Stephane Carrez3-30/+34
(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-14 * tuiWin.c, tui.c, tuiCommand.c: Use ansi prototype.Stephane Carrez14-1999/+240
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 * tuiWin.c, tuiWin.h, tui.c, tui.h, tuiCommand.c: Add FSF copyright.Stephane Carrez27-89/+545
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-03-13Eliminate ARCH_NUM_REGS.Andrew Cagney2-4/+8
2001-03-06Update/correct copyright notices.Kevin Buettner2-1/+5
2001-02-08Add __FILE__ and __LINE__ parameter to internal_error() /Andrew Cagney2-8/+20
internal_verror().
2000-12-15Removed (tui and mi) directory prefixes from ChangeLog comments that IKevin Buettner1-2/+2
added in last commit.
2000-12-15Put mi and tui comments for free -> xfree change in proper ChangeLogs.Kevin Buettner1-0/+5
2000-12-15Replace free() with xfree().Kevin Buettner4-6/+6
2000-07-30Protoization.Kevin Buettner6-21/+13
2000-06-22PARAMS elimination.Kevin Buettner2-4/+8
2000-06-20PARAMS elimination.Kevin Buettner2-10/+9
2000-06-18PARAMS elimination.Kevin Buettner2-7/+11
2000-06-04Eliminate PARAMS from function pointer declarations.Kevin Buettner2-5/+5
2000-05-28PARAMS removal.Kevin Buettner24-281/+269
2000-05-26Fix bitrot in tui-file.c.Andrew Cagney2-2/+16