Mercurial > projects > ddmd
diff dbg/CallStackInfo.d @ 189:a4c9de8e39b3
Now compileable with dmd2.053
author | Abscissa |
---|---|
date | Wed, 08 Jun 2011 02:21:32 -0400 |
parents | 43073c7c7769 |
children | 52188e7e3fb5 |
line wrap: on
line diff
--- a/dbg/CallStackInfo.d Tue Jun 07 23:51:08 2011 -0400 +++ b/dbg/CallStackInfo.d Wed Jun 08 02:21:32 2011 -0400 @@ -20,6 +20,8 @@ import core.stdc.stdio; import core.sys.windows.windows; +import rt.deh; + class CallStackInfo { this(EXCEPTION_POINTERS* e = null) @@ -241,17 +243,6 @@ CONTEXT* ContextRecord; } -const size_t EXCEPTION_MAXIMUM_PARAMETERS = 15; - -struct EXCEPTION_RECORD { - DWORD ExceptionCode; - DWORD ExceptionFlags; - EXCEPTION_RECORD* ExceptionRecord; - PVOID ExceptionAddress; - DWORD NumberParameters; - DWORD[EXCEPTION_MAXIMUM_PARAMETERS] ExceptionInformation; -} - const MAXIMUM_SUPPORTED_EXTENSION = 512; struct CONTEXT { @@ -282,4 +273,4 @@ BYTE[MAXIMUM_SUPPORTED_EXTENSION] ExtendedRegisters; } -extern(C) Throwable _d_translate_se_to_d_exception(EXCEPTION_RECORD* exception_record); +//extern Throwable _d_translate_se_to_d_exception(EXCEPTION_RECORD* exception_record);