OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [trunk/] [gdb-5.0/] [gdb/] [tui/] [tuiSourceWin.h] - Blame information for rev 1765

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 106 markom
#ifndef _TUI_SOURCEWIN_H
2
#define _TUI_SOURCEWIN_H
3
/*
4
   ** This header file supports
5
 */
6
 
7
 
8
extern void tuiDisplayMainFunction PARAMS ((void));
9
extern void tuiUpdateSourceWindow PARAMS
10
  ((TuiWinInfoPtr, struct symtab *, Opaque, int));
11
extern void tuiUpdateSourceWindowAsIs PARAMS
12
  ((TuiWinInfoPtr, struct symtab *, Opaque, int));
13
extern void tuiUpdateSourceWindowsWithAddr PARAMS ((Opaque));
14
extern void tui_vUpdateSourceWindowsWithAddr PARAMS ((va_list));
15
extern void tuiUpdateSourceWindowsWithLine PARAMS ((struct symtab *, int));
16
extern void tui_vUpdateSourceWindowsWithLine PARAMS ((va_list));
17
extern void tuiUpdateSourceWindowsFromLocator PARAMS ((void));
18
extern void tuiClearSourceContent PARAMS ((TuiWinInfoPtr, int));
19
extern void tuiClearAllSourceWinsContent PARAMS ((int));
20
extern void tuiEraseSourceContent PARAMS ((TuiWinInfoPtr, int));
21
extern void tuiEraseAllSourceWinsContent PARAMS ((int));
22
extern void tuiSetSourceContentNil PARAMS ((TuiWinInfoPtr, char *));
23
extern void tuiShowSourceContent PARAMS ((TuiWinInfoPtr));
24
extern void tuiShowAllSourceWinsContent PARAMS ((void));
25
extern void tuiHorizontalSourceScroll PARAMS ((TuiWinInfoPtr, TuiScrollDirection, int));
26
extern void tuiUpdateOnEnd PARAMS ((void));
27
 
28
extern TuiStatus tuiSetExecInfoContent PARAMS ((TuiWinInfoPtr));
29
extern void tuiShowExecInfoContent PARAMS ((TuiWinInfoPtr));
30
extern void tuiShowAllExecInfosContent PARAMS ((void));
31
extern void tuiEraseExecInfoContent PARAMS ((TuiWinInfoPtr));
32
extern void tuiEraseAllExecInfosContent PARAMS ((void));
33
extern void tuiClearExecInfoContent PARAMS ((TuiWinInfoPtr));
34
extern void tuiClearAllExecInfosContent PARAMS ((void));
35
extern void tuiUpdateExecInfo PARAMS ((TuiWinInfoPtr));
36
extern void tuiUpdateAllExecInfos PARAMS ((void));
37
 
38
extern void tuiSetIsExecPointAt PARAMS ((Opaque, TuiWinInfoPtr));
39
extern void tuiSetHasBreakAt PARAMS ((struct breakpoint *, TuiWinInfoPtr, int));
40
extern void tuiAllSetHasBreakAt PARAMS ((struct breakpoint *, int));
41
extern void tui_vAllSetHasBreakAt PARAMS ((va_list));
42
extern TuiStatus tuiAllocSourceBuffer PARAMS ((TuiWinInfoPtr));
43
extern int tuiLineIsDisplayed PARAMS ((Opaque, TuiWinInfoPtr, int));
44
 
45
 
46
/*
47
   ** Constant definitions
48
 */
49
#define        SCROLL_THRESHOLD            2    /* threshold for lazy scroll */
50
 
51
 
52
/*
53
   ** Macros
54
 */
55
#define    m_tuiSetBreakAt(bp, winInfo)       tuiSetHasBreakAt((bp, winInfo, TRUE)
56
#define    m_tuiClearBreakAt(bp, winInfo)     tuiSetHasBreakAt(bp, winInfo, FALSE)
57
 
58
#define    m_tuiAllSetBreakAt(bp)             tuiAllSetHasBreakAt(bp, TRUE)
59
#define    m_tuiAllClearBreakAt(bp)           tuiAllSetHasBreakAt(bp, FALSE)
60
 
61
#define    m_tuiSrcLineDisplayed(lineNo)      tuiLineIsDisplayed((Opaque)(lineNo), srcWin, FALSE)
62
#define    m_tuiSrcAddrDisplayed(addr)        tuiLineIsDisplayed((Opaque)(addr), disassemWin, FALSE)
63
#define    m_tuiSrcLineDisplayedWithinThreshold(lineNo) \
64
                                            tuiLineIsDisplayed((Opaque)(lineNo), srcWin, TRUE)
65
#define    m_tuiSrcAddrDisplayedWithinThreshold(addr) \
66
                                            tuiLineIsDisplayed((Opaque)(addr), disassemWin, TRUE)
67
#define m_tuiLineDisplayedWithinThreshold(winInfo, lineOrAddr)                                 \
68
                                    ( (winInfo == srcWin) ?                                    \
69
                                        m_tuiSrcLineDisplayedWithinThreshold(lineOrAddr) :    \
70
                                        m_tuiSrcAddrDisplayedWithinThreshold(lineOrAddr) )
71
 
72
 
73
 
74
#endif
75
/*_TUI_SOURCEWIN_H */

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.