summaryrefslogtreecommitdiff
path: root/gdb/tui/tuiSource.h
blob: f898c611c71403b8692569ab82adea19744b223c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#ifndef _TUI_SOURCE_H
#define _TUI_SOURCE_H
/*
** This header file supports
*/


#include "defs.h"
#if 0
#include "symtab.h"
#include "breakpoint.h"
#endif

extern TuiStatus    tuiSetSourceContent PARAMS ((struct symtab *, int, int));
extern void         tuiShowSource PARAMS ((struct symtab *, Opaque, int));
extern void         tuiShowSourceAsIs PARAMS ((struct symtab *, Opaque, int));
extern int          tuiSourceIsDisplayed PARAMS ((char *));
extern void         tuiVerticalSourceScroll PARAMS ((TuiScrollDirection, int));


/*******************
** MACROS         **
*******************/
#define m_tuiShowSourceAsIs(s, line, noerror)    tuiUpdateSourceWindowAsIs(srcWin, s, line, noerror)


#endif /*_TUI_SOURCE_H*/