Re: RFA: Try to include libunwind-ia64.h in libunwind-frame.h

Jan Kratochvil
2012-02-10T12:31:30Z

On Thu, 02 Feb 2012 17:32:39 +0100, Tristan Gingold wrote:
> building a cross debugger for ia64 isn't as easy as for most other platforms.
> Part of the issue is libunwind.h, which is not well designed for cross operation:

Which libunwind do you test GDB against? I cannot build libunwind HEAD as
cross:
./configure --target=ia64-linux
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... ia64-unknown-linux-gnu

In file included from ../include/tdep-x86_64/libunwind_i.h:39:0,
from ../include/tdep/libunwind_i.h:19,
from ../include/libunwind_i.h:312,
from ia64/mk_Gcursor_i.c:30:
../include/dwarf.h:41:26: fatal error: dwarf-config.h: No such file or directory

I do not see any pending fixes for it at <libunwind-devel@nongnu.org>.

I did not check much the GDB patch, IMO libunwind should be fixed first
instead, shouldn't it?

Thanks,
Jan