source: dev/BasicCompiler_Common/DebugSection.h@ 75

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

TYPEINFO→Typeへのリファクタリングを実施。64bitはほぼ完了。32bitが全般的に未完成。

File size: 1.6 KB
Line 
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 //ソースコード
27 char *pBaseBuffer;
28 char *basbuf;
29
30 //コードと行番号の関係
31 int MaxLineInfoNum;
32 LINEINFO *pLineInfo;
33
34 // クラス情報
35 CDBClass *pobj_DBClass;
36
37 // TypeDef情報
38 CDBTypeDef *pobj_DBTypeDef;
39
40 //定数を取得
41 CONSTINFO **ppConstHash;
42
43 //グローバル実行領域のサイズ
44 int GlobalOpBufferSize;
45
46 //プロシージャ
47 UserProc **ppSubHash;
48 int SubNum;
49
50 UserProc *pSub_DebugSys_EndProc;
51
52 //ネイティブコードバッファ
53 char *OpBuffer;
54
55 //シングルステップ用コードバッファ
56 char *SingleStepCodeBuffer;
57
58 //ブレークポイント用コードバッファ
59 char *BreakStepCodeBuffer;
60
61
62 ////////////////////////////////////
63
64
65 CDebugSection();
66 ~CDebugSection();
67
68 void make(void);
69private:
70 void UpdateBreakPoint(void);
71 char *MakeSingleStepCode(void);
72 BOOL __load(void);
73public:
74 BOOL load(HMODULE hModule);
75
76 void choice(void);
77
78 void DeleteDebugInfo(void);
79};
80
81class CDBDebugSection{
82public:
83 CDebugSection **ppobj_ds;
84 int num;
85
86 CDebugSection *pobj_now;
87
88 CDBDebugSection();
89 ~CDBDebugSection();
90
91 BOOL add(HMODULE hModule);
92 void del(HMODULE hModule);
93
94 void choice(int index);
95
96};
97
98extern CDBDebugSection *pobj_DBDebugSection;
Note: See TracBrowser for help on using the repository browser.