This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH][PR gdb/17984] Fix GDB build fail on Aarch64 when -fno-common is enabled.
- From: Pedro Alves <palves at redhat dot com>
- To: Maxim Ostapenko <m dot ostapenko at partner dot samsung dot com>, gdb-patches at sourceware dot org
- Cc: Slava Garbuzov <v dot garbuzov at samsung dot com>, Yury Gribov <y dot gribov at samsung dot com>
- Date: Mon, 16 Feb 2015 22:49:54 +0000
- Subject: Re: [PATCH][PR gdb/17984] Fix GDB build fail on Aarch64 when -fno-common is enabled.
- Authentication-results: sourceware.org; auth=none
- References: <54E219D5 dot 1080702 at partner dot samsung dot com>
On 02/16/2015 04:24 PM, Maxim Ostapenko wrote:
> current trunk GDB (and gdb-7.8.1 too) fails to build on Aarch64 when
> -fno-common is enabled with:
> This small patch resolves the issue, OK to commit?
Thanks.
> gdb/Changelog
>
> 2015-02-16 Max Ostapenko <m.ostapenko@partner.samsung.com>
>
> PR gdb/17984
> * gdb/aarch64-linux-nat.c: Don't include features/aarch64.c anymore.
> (aarch64_linux_read_description): Remove initialize_tdesc_aarch64 call.
> * gdb/aarch64-tdep.h: Add struct target_desc *tdesc_aarch64
> declaration.
As this entry will be added to the gdb/ChangeLog file, the
"gdb/" path should be removed from the file names above.
Otherwise this is OK. Thanks for doing this.
--
Pedro Alves