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

Pedro Alves palves@redhat.com
Fri Feb 10 18:34:00 GMT 2012


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



More information about the Gdb-patches mailing list