Re: _Unwind_FindEnclosingFunction vs darwin

Bryce McKinlay <[email protected]>
Newsgroups gmane.comp.gcc.java.devel
Message-ID <[email protected]>
On Sat, Dec 19, 2009 at 6:49 PM, Jack Howarth <[email protected]> wrote:

> to libjava/include/posix.h, what is the correct way to access the missing declarations
> for dwarf_eh_bases, dwarf_fde, fde and _Unwind_Find_FDE? Are we supposed to directly
> include the *dw2* headers from the gcc subdirectory or duplicate their contents in this
> header?

I think you only really need to copy the dwarf_eh_bases struct and the
definition for _Unwind_Find_FDE itself. The others can be treated as
opaque.

Please also call it _Jv_Unwind_Find_FDE and use configure.ac to enable
it for Darwin (only) as I described before - its bad to override
functions with #defines...

Bryce
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.