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: Dynamically generated code and DWARF exception handling


jacob navia writes:
 > Andrew Haley a écrit :
 > 
 > >Richard Henderson writes:
 > > > On Tue, May 02, 2006 at 01:23:56PM +0200, jacob navia wrote:
 > > > > Is there an equivalent API for linux?
 > > > 
 > > > __register_frame_info_bases / __deregister_frame_info_bases.
 > >
 > >Are these an exported API?  
 > >
 > >I metioned the existence of these entry points in a reply to Jacob on
 > >March 10.  Jacob, did you investigate this?

 > Well, I searched for those and found some usage examples in the
 > source of Apple Darwin gcc code for the startup. But then... is
 > that current?

I have no idea.  Didn't you look at the source code for these
functions?

 > I have googled around but I find only small pieces of information
 > that may or may not apply to AMD64. ALL of this is extremely
 > confusing and I am getting scared really. This stuff costed me 2
 > weeks hard work under windows, but somehow I had there an API that
 > I could call. Under linux the stuff is still as complex as in
 > windows (DWARF info generation is not easy) but what scares me is
 > that there is NO API, no standard way of doing this.

Well, there's not point us trying to help you if you aren't prepared
to try yourself.  It's up to you.

 > I have downloaded gcc 4.1 and will try to figure out where in the source 
 > I find those functions or where in the binutils source those functions 
 > could be hidden.

gcc/unwind-dw2-fde-glibc.c.

Andrew.


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