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

Pedro Alves
2012-02-10T18:34:11Z

On 02/10/2012 06:27 PM, Jan Kratochvil wrote:
> +++ b/gdb/configure.ac
> @@ -349,8 +349,14 @@ AS_HELP_STRING([--with-libunwind], [use libunwind frame unwinding support]),
> *) AC_MSG_ERROR(bad value ${withval} for GDB with-libunwind option) ;;
> esac],[
> AC_CHECK_HEADERS(libunwind.h libunwind-ia64.h)
> - if test x"$ac_cv_header_libunwind_h" = xyes -a x"$ac_cv_header_libunwind_ia64_h" = xyes; then
> + if test x"$ac_cv_header_libunwind_h" = xyes; then
> enable_libunwind=yes;
> + elif test x"$ac_cv_header_libunwind_ia64_h" = xyes; then
> + case "$target" in
> + ia64*)
> + enable_libunwind=yes;
> + ;;
> + esac
> fi
> ])
>

What about --enable-targets=all, or --target=x86_64-foo --enable-target=ia64-xxx ?

--
Pedro Alves