This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH 7/8] [PowerPC] Fix inclusion of dfp pseudoregs in tdep
- From: "Ulrich Weigand" <uweigand at de dot ibm dot com>
- To: pedromfc at linux dot vnet dot ibm dot com (Pedro Franco de Carvalho)
- Cc: gdb-patches at sourceware dot org
- Date: Wed, 16 May 2018 16:06:25 +0200 (CEST)
- Subject: Re: [PATCH 7/8] [PowerPC] Fix inclusion of dfp pseudoregs in tdep
Pedro Franco de Carvalho wrote:
> gdb/ChangeLog:
> yyyy-mm-dd Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
>
> * rs6000-tdep.c (rs6000_gdbarch_init): Assign 1 to have_dfp only
> if the size of fpscr is larger than 32 bits.
> + /* The fpscr register was expanded in isa 2.05 to 64 bits
> + along with the addition of the decimal floating point
> + facility. */
> + if (tdesc_register_size(feature, "fpscr") > 32)
> + have_dfp = 1;
Formatting again. Otherwise this is OK.
Thanks,
Ulrich
--
Dr. Ulrich Weigand
GNU/Linux compilers and toolchain
Ulrich.Weigand@de.ibm.com