This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC 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: GNAT package GNAT.Traceback.Symbolic


* Andrew Haley:

>  > Java implementations needs to solve pretty much the same problem.  How
>  > is it done in GCJ?
>
> Every Java class has full reflection data for all of its methods.
> Given the address of a method, therefore, it's a straightforward
> reverse lookup to get the name.

It seems that it invokes addr2line to obtain line number information,
though.


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