source: dev/trunk/ab5.0/abdev/BasicCompiler_Common/debug.h@ 829

Last change on this file since 829 was 829, checked in by イグトランス (egtra), 12 years ago

svn:eol-styleとsvn:mime-type(文字コード指定含む)の設定

  • Property svn:eol-style set to native
  • Property svn:mime-type set to text/plain; charset=Shift_JIS
File size: 726 bytes
Line 
1
2class CDebugThreadInfo{
3public:
4 //ソースコードポインタ
5 DWORD *lpdwCp;
6 std::vector<int> relationalObjectModuleIndexes;
7
8 //ネイティブコードポインタ
9 ULONG_PTR *lplpObp;
10
11 //スタックフレームベースポインタ
12 ULONG_PTR *lplpSpBase;
13
14 //プロシージャ呼び出し階層
15 int iProcLevel;
16
17 CDebugThreadInfo();
18 ~CDebugThreadInfo();
19
20 BOOL Reflesh(int ThreadNum);
21 void Free();
22};
23
24extern CDebugThreadInfo *pobj_dti;
25
26#define MAX_DEBUG_THREAD 256
27extern DWORD _DebugSys_dwThreadID[MAX_DEBUG_THREAD];
28extern HANDLE array_hDebugThread[MAX_DEBUG_THREAD];
29
30
31#ifdef _AMD64_
32#define EIP_RIP(Context) (Context).Rip
33#define SP_BASE(Context) (Context).Rsp
34#else
35#define EIP_RIP(Context) (Context).Eip
36#define SP_BASE(Context) (Context).Ebp
37#endif
Note: See TracBrowser for help on using the repository browser.