This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] S390: Fix compiler invocation with "compile" command
- From: Pedro Alves <palves at redhat dot com>
- To: Andreas Arnez <arnez at linux dot vnet dot ibm dot com>, gdb-patches at sourceware dot org
- Date: Thu, 26 Feb 2015 17:12:19 +0000
- Subject: Re: [PATCH] S390: Fix compiler invocation with "compile" command
- Authentication-results: sourceware.org; auth=none
- References: <871tlc4n9e dot fsf at br87z6lw dot de dot ibm dot com>
On 02/26/2015 05:05 PM, Andreas Arnez wrote:
> On 64-bit S390 platforms the "compile" command always failed because
> gcc was not invoked correctly. This patch fixes the compiler
> invocation.
>
> gdb/ChangeLog:
>
> * s390-linux-tdep.c (s390_gcc_target_options): Not just handle
> 31-bit targets, but 64-bit targets as well.
> (s390_gnu_triplet_regexp): New function.
> (s390_gdbarch_init): Set the gcc_target_options gdbarch method for
> 64-bit targets as well. Set the gnu_triplet_regexp gdbarch
> method.
OK.
Thanks,
Pedro Alves