backtrace() vs. _Unwind_Backtrace()
Andrew Haley
aph@redhat.com
Sat Dec 6 11:21:00 GMT 2003
Bryce McKinlay writes:
> On Dec 6, 2003, at 3:55 AM, Mohan Embar wrote:
>
> >> Well, it's true that in general you no longer have to unwind through
> >> exception handler frames. However, there's still a problem with
> >> exceptions thrown in CNI code. I am proposing, probably post 3.4
> >> split, to change CNI so that null pointer checks are enabled even in
> >> CNI code.
> >
> >> So, DWARF EH sounds like a batter plan. Unless there's some other
> >> reason I don't know about...
>
> The mingw people don't want DWARF EH for C/C++ because they need to
> throw through OS frames, and the OS frames of course don't have unwind
> info. So, unless another solution can be found for that, we'd need to
> enable DWARF EH for Java exceptions (and of course Java exceptions in
> CNI code), but not for standard C++ exceptions. I havn't investigated,
> but my feeling is that might not be trivial.
Nasty.
Andrew.
More information about the Java
mailing list