source: dev/trunk/ab5.0/abdev/BasicCompiler_Common/include/BreakPoint.h@ 761

Last change on this file since 761 was 743, checked in by dai, 16 years ago

oldSourceLinesを排除。

File size: 724 bytes
Line 
1
2
3class BreakPointsPerFile
4{
5public:
6 std::string filename;
7 std::vector<int> lines;
8
9 BreakPointsPerFile(const char *lpszFileName,int iLineNum);
10
11 void add(int iLineNum);
12 void remove(int iLineNum);
13
14 void update( char *nativeCodeBuffer, const SourceLines &sourceLines );
15};
16typedef std::vector<BreakPointsPerFile> BreakPointsPerFiles;
17
18class BreakPointManager
19{
20 BreakPointsPerFiles breakpointsPerFiles;
21
22public:
23 BreakPointManager();
24
25 void insert(const char *lpszFileName,int iLineNum);
26 void remove(const char *lpszFileName,int iLineNum);
27
28 char *update( char *nativeCodeBuffer, int SizeOf_CodeSection, const SourceLines &sourceLines );
29};
30
31
32extern BreakPointManager *pobj_DBBreakPoint;
Note: See TracBrowser for help on using the repository browser.