Commit | Line | Data |
---|---|---|
f377b406 | 1 | /* TUI display source/assembly window. |
bc712bbf | 2 | Copyright 1998, 1999, 2000, 2001, 2002 Free Software Foundation, Inc. |
f377b406 SC |
3 | Contributed by Hewlett-Packard Company. |
4 | ||
5 | This file is part of GDB. | |
6 | ||
7 | This program is free software; you can redistribute it and/or modify | |
8 | it under the terms of the GNU General Public License as published by | |
9 | the Free Software Foundation; either version 2 of the License, or | |
10 | (at your option) any later version. | |
11 | ||
12 | This program is distributed in the hope that it will be useful, | |
13 | but WITHOUT ANY WARRANTY; without even the implied warranty of | |
14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
15 | GNU General Public License for more details. | |
16 | ||
17 | You should have received a copy of the GNU General Public License | |
18 | along with this program; if not, write to the Free Software | |
19 | Foundation, Inc., 59 Temple Place - Suite 330, | |
20 | Boston, MA 02111-1307, USA. */ | |
21 | ||
c906108c SS |
22 | #ifndef _TUI_SOURCEWIN_H |
23 | #define _TUI_SOURCEWIN_H | |
c906108c | 24 | |
a14ed312 | 25 | extern void tuiDisplayMainFunction (void); |
a4b99e53 | 26 | extern void tuiUpdateSourceWindow (TuiWinInfoPtr, struct symtab *, TuiLineOrAddress, |
f7778913 | 27 | int); |
a4b99e53 | 28 | extern void tuiUpdateSourceWindowAsIs (TuiWinInfoPtr, struct symtab *, TuiLineOrAddress, |
f7778913 | 29 | int); |
c774cec6 | 30 | extern void tuiUpdateSourceWindowsWithAddr (CORE_ADDR); |
a14ed312 | 31 | extern void tuiUpdateSourceWindowsWithLine (struct symtab *, int); |
a14ed312 KB |
32 | extern void tuiUpdateSourceWindowsFromLocator (void); |
33 | extern void tuiClearSourceContent (TuiWinInfoPtr, int); | |
a14ed312 | 34 | extern void tuiEraseSourceContent (TuiWinInfoPtr, int); |
a14ed312 KB |
35 | extern void tuiSetSourceContentNil (TuiWinInfoPtr, char *); |
36 | extern void tuiShowSourceContent (TuiWinInfoPtr); | |
a14ed312 KB |
37 | extern void tuiHorizontalSourceScroll (TuiWinInfoPtr, TuiScrollDirection, |
38 | int); | |
a14ed312 KB |
39 | extern TuiStatus tuiSetExecInfoContent (TuiWinInfoPtr); |
40 | extern void tuiShowExecInfoContent (TuiWinInfoPtr); | |
a14ed312 KB |
41 | extern void tuiEraseExecInfoContent (TuiWinInfoPtr); |
42 | extern void tuiEraseAllExecInfosContent (void); | |
43 | extern void tuiClearExecInfoContent (TuiWinInfoPtr); | |
44 | extern void tuiClearAllExecInfosContent (void); | |
45 | extern void tuiUpdateExecInfo (TuiWinInfoPtr); | |
46 | extern void tuiUpdateAllExecInfos (void); | |
47 | ||
a4b99e53 | 48 | extern void tuiSetIsExecPointAt (TuiLineOrAddress, TuiWinInfoPtr); |
a14ed312 KB |
49 | extern void tuiSetHasBreakAt (struct breakpoint *, TuiWinInfoPtr, int); |
50 | extern void tuiAllSetHasBreakAt (struct breakpoint *, int); | |
a14ed312 | 51 | extern TuiStatus tuiAllocSourceBuffer (TuiWinInfoPtr); |
a4b99e53 SC |
52 | extern int tuiLineIsDisplayed (int, TuiWinInfoPtr, int); |
53 | extern int tuiAddrIsDisplayed (CORE_ADDR, TuiWinInfoPtr, int); | |
c906108c SS |
54 | |
55 | ||
56 | /* | |
c5aa993b JM |
57 | ** Constant definitions |
58 | */ | |
59 | #define SCROLL_THRESHOLD 2 /* threshold for lazy scroll */ | |
c906108c | 60 | |
c5aa993b JM |
61 | #endif |
62 | /*_TUI_SOURCEWIN_H */ |