source: dev/BasicCompiler_Common/DebugSection.h@ 78

Last change on this file since 78 was 78, checked in by dai_9181, 17 years ago

CTypeDef → TypeDef
Houseクラスを追加。
オーバーロードレベルの種類を追加(レベル1に挿入)

File size: 1.5 KB
RevLine 
[4]1
2class CDebugSection{
3public:
4 char szNowFilePath[MAX_PATH];
5
6 char *buffer;
7 int length;
8
9
10 ////////////////////////////////////
11 // デバッグ用の固有情報
12
13 //イメージベース
14 DWORD dwImageBase;
15
16 //リライタブルセクションのRVA
17 DWORD dwRVA_RWSection;
18
19 //コードセクションのRAVとサイズ
20 DWORD dwRVA_CodeSection;
21 int SizeOf_CodeSection;
22
23 //インクルード情報
24 INCLUDEFILEINFO IncludeFileInfo;
25
26 //ソースコード
[15]27 char *pBaseBuffer;
[4]28 char *basbuf;
29
30 //コードと行番号の関係
31 int MaxLineInfoNum;
32 LINEINFO *pLineInfo;
33
34 // クラス情報
35 CDBClass *pobj_DBClass;
36
37 //定数を取得
38 CONSTINFO **ppConstHash;
39
40 //グローバル実行領域のサイズ
41 int GlobalOpBufferSize;
42
43 //プロシージャ
[75]44 UserProc **ppSubHash;
[4]45 int SubNum;
46
[75]47 UserProc *pSub_DebugSys_EndProc;
[4]48
49 //ネイティブコードバッファ
50 char *OpBuffer;
51
52 //シングルステップ用コードバッファ
53 char *SingleStepCodeBuffer;
54
55 //ブレークポイント用コードバッファ
56 char *BreakStepCodeBuffer;
57
58
59 ////////////////////////////////////
60
61
62 CDebugSection();
63 ~CDebugSection();
64
65 void make(void);
66private:
67 void UpdateBreakPoint(void);
68 char *MakeSingleStepCode(void);
69 BOOL __load(void);
70public:
71 BOOL load(HMODULE hModule);
72
73 void choice(void);
74
75 void DeleteDebugInfo(void);
76};
77
78class CDBDebugSection{
79public:
80 CDebugSection **ppobj_ds;
81 int num;
82
83 CDebugSection *pobj_now;
84
85 CDBDebugSection();
86 ~CDBDebugSection();
87
88 BOOL add(HMODULE hModule);
89 void del(HMODULE hModule);
90
91 void choice(int index);
92
93};
94
95extern CDBDebugSection *pobj_DBDebugSection;
Note: See TracBrowser for help on using the repository browser.