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
On Feb 10, 2012, at 1:30 PM, Jan Kratochvil wrote:
> 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
Sorry, but I don't have this particular issue when building on Darwin. YMMV :-)
> 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?
Wouldn't be easier to get rid of libunwind, and starting from e.g. unwind-ia64.c (although they certainly share some amount of code) ?
Joel in CC:, as it wrote the HP/UX port.
Tristan.