This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: PATCH: Check bfd_mach_x64_32 to set tdesc for x32 binary


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 (éå)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]