PATCH: Check bfd_mach_x64_32 to set tdesc for x32 binary
Yao Qi
yao@codesourcery.com
Sat May 12 01:38:00 GMT 2012
On 05/12/2012 03:29 AM, H.J. Lu wrote:
> Hi,
>
> This patch checks bfd_mach_x64_32 to set tdesc for x32 binary. Tested
> on Linux/x86-64. OK to install?
>
> Thanks.
>
>
> H.J.
> ---
> * amd64-linux-tdep.c: Include features/i386/x32-linux.c
> and features/i386/x32-avx-linux.c.
You committed this part first, and cause a build failure on x86_64.
cc1: warnings being treated as errors
/home/yqi/source/gdb/cvs_write/src/gdb/features/i386/x32-linux.c:10:
error: 'initialize_tdesc_x32_linux' defined but not used
/home/yqi/source/gdb/cvs_write/src/gdb/features/i386/x32-avx-linux.c:10:
error: 'initialize_tdesc_x32_avx_linux' defined but not used
--
Yao (é½å°§)
More information about the Gdb-patches
mailing list