* gdb.base/maint.exp: Only dump symbols from one source file
[deliverable/binutils-gdb.git] / gdb / tui / tuiSourceWin.h
CommitLineData
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
00b2bad4
SC
25/* Update the execution windows to show the active breakpoints.
26 This is called whenever a breakpoint is inserted, removed or
27 has its state changed. */
28extern void tui_update_all_breakpoint_info (void);
29
30/* Scan the source window and the breakpoints to update the
31 hasBreak information for each line.
32 Returns 1 if something changed and the execution window
33 must be refreshed. */
34extern int tui_update_breakpoint_info (TuiWinInfoPtr win, int current_only);
35
1f393769
SC
36/* Function to display the "main" routine. */
37extern void tui_display_main (void);
a4b99e53 38extern void tuiUpdateSourceWindow (TuiWinInfoPtr, struct symtab *, TuiLineOrAddress,
f7778913 39 int);
a4b99e53 40extern void tuiUpdateSourceWindowAsIs (TuiWinInfoPtr, struct symtab *, TuiLineOrAddress,
f7778913 41 int);
c774cec6 42extern void tuiUpdateSourceWindowsWithAddr (CORE_ADDR);
a14ed312 43extern void tuiUpdateSourceWindowsWithLine (struct symtab *, int);
a14ed312 44extern void tuiClearSourceContent (TuiWinInfoPtr, int);
a14ed312 45extern void tuiEraseSourceContent (TuiWinInfoPtr, int);
a14ed312
KB
46extern void tuiSetSourceContentNil (TuiWinInfoPtr, char *);
47extern void tuiShowSourceContent (TuiWinInfoPtr);
a14ed312
KB
48extern void tuiHorizontalSourceScroll (TuiWinInfoPtr, TuiScrollDirection,
49 int);
a14ed312
KB
50extern TuiStatus tuiSetExecInfoContent (TuiWinInfoPtr);
51extern void tuiShowExecInfoContent (TuiWinInfoPtr);
a14ed312 52extern void tuiEraseExecInfoContent (TuiWinInfoPtr);
a14ed312 53extern void tuiClearExecInfoContent (TuiWinInfoPtr);
a14ed312 54extern void tuiUpdateExecInfo (TuiWinInfoPtr);
a14ed312 55
a4b99e53 56extern void tuiSetIsExecPointAt (TuiLineOrAddress, TuiWinInfoPtr);
a14ed312 57extern TuiStatus tuiAllocSourceBuffer (TuiWinInfoPtr);
a4b99e53
SC
58extern int tuiLineIsDisplayed (int, TuiWinInfoPtr, int);
59extern int tuiAddrIsDisplayed (CORE_ADDR, TuiWinInfoPtr, int);
c906108c
SS
60
61
62/*
c5aa993b
JM
63 ** Constant definitions
64 */
65#define SCROLL_THRESHOLD 2 /* threshold for lazy scroll */
c906108c 66
c5aa993b
JM
67#endif
68/*_TUI_SOURCEWIN_H */
This page took 0.273245 seconds and 4 git commands to generate.