This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Stack traces, etc.


>>>>> "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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]