This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: PATCH: Check bfd_mach_x64_32 to set tdesc for x32 binary
- From: Yao Qi <yao at codesourcery dot com>
- To: "H.J. Lu" <hjl dot tools at gmail dot com>
- Cc: "H.J. Lu" <hongjiu dot lu at intel dot com>, GDB <gdb-patches at sourceware dot org>
- Date: Sat, 12 May 2012 09:37:49 +0800
- Subject: Re: PATCH: Check bfd_mach_x64_32 to set tdesc for x32 binary
- References: <20120511192949.GA5070@intel.com>
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 (éå)