This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: RFA: Try to include libunwind-ia64.h in libunwind-frame.h
- From: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- To: Tristan Gingold <gingold at adacore dot com>
- Cc: "gdb-patches at sourceware dot org ml" <gdb-patches at sourceware dot org>
- Date: Fri, 10 Feb 2012 13:30:32 +0100
- Subject: Re: RFA: Try to include libunwind-ia64.h in libunwind-frame.h
- References: <5D1CD28F-F628-475C-B6D8-5FCBF5290C63@adacore.com>
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