--- Comment #5 from Vladimir Panteleev <> 2011-05-17 
12:21:10 PDT ---
(In reply to comment #4)
> (In reply to comment #2)
> > It looks like the RtlCaptureContext call can be replaced with some simple
> > assembler. All it needs is the contents of the EIP, EBP and ESP registers. 
> > Some
> > compilers offer intrinsics for special CPU registers, although I don't think
> > DMD does.
> DMD has inline assembler, so this should be straightforward. What exactly is
> needed?

The contents of the EIP, EBP and ESP registers. (I only mentioned intrinsics
because they would be favorable to inline assembler.)

StackWalk64 also accepts a CONTEXT structure, which, according to its
documentation, is optional on x86, but may improve its behavior in certain
situations. Thus, RtlCaptureContext should still be used when it is available.

Configure issuemail:
------- You are receiving this mail because: -------

Reply via email to