From 19eb139b7243abc4b725c1836ac3810b274e2637 Mon Sep 17 00:00:00 2001 From: Stephane Carrez Date: Fri, 20 Jul 2001 22:26:54 +0000 Subject: * 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. --- gdb/tui/tuiSourceWin.h | 26 -------------------------- 1 file changed, 26 deletions(-) (limited to 'gdb/tui/tuiSourceWin.h') diff --git a/gdb/tui/tuiSourceWin.h b/gdb/tui/tuiSourceWin.h index fcc2bd4..ffde656 100644 --- a/gdb/tui/tuiSourceWin.h +++ b/gdb/tui/tuiSourceWin.h @@ -28,9 +28,7 @@ extern void tuiUpdateSourceWindow (TuiWinInfoPtr, struct symtab *, Opaque, extern void tuiUpdateSourceWindowAsIs (TuiWinInfoPtr, struct symtab *, Opaque, int); extern void tuiUpdateSourceWindowsWithAddr (CORE_ADDR); -extern void tui_vUpdateSourceWindowsWithAddr (va_list); extern void tuiUpdateSourceWindowsWithLine (struct symtab *, int); -extern void tui_vUpdateSourceWindowsWithLine (va_list); extern void tuiUpdateSourceWindowsFromLocator (void); extern void tuiClearSourceContent (TuiWinInfoPtr, int); extern void tuiClearAllSourceWinsContent (int); @@ -56,7 +54,6 @@ extern void tuiUpdateAllExecInfos (void); extern void tuiSetIsExecPointAt (Opaque, TuiWinInfoPtr); extern void tuiSetHasBreakAt (struct breakpoint *, TuiWinInfoPtr, int); extern void tuiAllSetHasBreakAt (struct breakpoint *, int); -extern void tui_vAllSetHasBreakAt (va_list); extern TuiStatus tuiAllocSourceBuffer (TuiWinInfoPtr); extern int tuiLineIsDisplayed (Opaque, TuiWinInfoPtr, int); @@ -66,28 +63,5 @@ extern int tuiLineIsDisplayed (Opaque, TuiWinInfoPtr, int); */ #define SCROLL_THRESHOLD 2 /* threshold for lazy scroll */ - -/* - ** Macros - */ -#define m_tuiSetBreakAt(bp, winInfo) tuiSetHasBreakAt((bp, winInfo, TRUE) -#define m_tuiClearBreakAt(bp, winInfo) tuiSetHasBreakAt(bp, winInfo, FALSE) - -#define m_tuiAllSetBreakAt(bp) tuiAllSetHasBreakAt(bp, TRUE) -#define m_tuiAllClearBreakAt(bp) tuiAllSetHasBreakAt(bp, FALSE) - -#define m_tuiSrcLineDisplayed(lineNo) tuiLineIsDisplayed((Opaque)(lineNo), srcWin, FALSE) -#define m_tuiSrcAddrDisplayed(addr) tuiLineIsDisplayed((Opaque)(addr), disassemWin, FALSE) -#define m_tuiSrcLineDisplayedWithinThreshold(lineNo) \ - tuiLineIsDisplayed((Opaque)(lineNo), srcWin, TRUE) -#define m_tuiSrcAddrDisplayedWithinThreshold(addr) \ - tuiLineIsDisplayed((Opaque)(addr), disassemWin, TRUE) -#define m_tuiLineDisplayedWithinThreshold(winInfo, lineOrAddr) \ - ( (winInfo == srcWin) ? \ - m_tuiSrcLineDisplayedWithinThreshold(lineOrAddr) : \ - m_tuiSrcAddrDisplayedWithinThreshold(lineOrAddr) ) - - - #endif /*_TUI_SOURCEWIN_H */ -- cgit v1.1