This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]