This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH v2 11/12] [PowerPC] Reject tdescs with VSX and no FPU or Altivec
- From: "Ulrich Weigand" <uweigand at de dot ibm dot com>
- To: pedromfc at linux dot ibm dot com (Pedro Franco de Carvalho)
- Cc: gdb-patches at sourceware dot org, edjunior at gmail dot com
- Date: Fri, 10 Aug 2018 16:44:43 +0200 (CEST)
- Subject: Re: [PATCH v2 11/12] [PowerPC] Reject tdescs with VSX and no FPU or Altivec
Pedro Franco de Carvalho wrote:
> Currently rs6000_gdbarch_init will accept a tdesc with the
> "org.gnu.gdb.power.vsx" feature but without the
> "org.gnu.gdb.power.altivec" or "org.gnu.gdb.power.fpu".
>
> It isn't clear from the standard features documentation that these are
> requirements. However, these tdescs would cause trouble in the VSX
> pseudo-register functions, so this patch will cause them to be
> rejected.
Makes sense to me.
> gdb/ChangeLog:
> YYYY-MM-DD Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
>
> * rs6000-tdep.c (rs6000_gdbarch_init): Reject tdescs with vsx but
> without altivec or fpu.
This is OK.
Thanks,
Ulrich
--
Dr. Ulrich Weigand
GNU/Linux compilers and toolchain
Ulrich.Weigand@de.ibm.com