Stack traces, etc.

Tom Tromey tromey@redhat.com
Tue Dec 3 08:48:00 GMT 2002


>>>>> "Andrew" == Andrew Haley <aph@redhat.com> writes:

Andrew> The Right Way to do it is something like this
Andrew> _Jv_frame_info *frame = GET_FRAME (n);
Andrew> void *p = _Unwind_FindEnclosingFunction (frame->addr);
Andrew> if (p == &interpreterf1 
Andrew> || p == &interpreterf2 ...
>From your post I was under the impression that this information
wouldn't be available for CNI methods.
Also, how do I write `&interpreterf1'? I think that will get me a
pointer-to-member-function, which definitely won't be correct.
I guess I could write out the mangled form of the symbol...
Tom


More information about the Java mailing list

AltStyle によって変換されたページ (->オリジナル) /