Re: [PATCH v2 12/13] M68K Linux: Define regset structures.

Ulrich Weigand
2014-07-15T12:07:42Z

Andreas Arnez wrote:

> +static const struct regcache_map_entry m68k_linux_fpregmap[] =
> + {
> + { 8, M68K_FP0_REGNUM }, /* fp0 ... fp7 */
> + { 1, M68K_FPC_REGNUM },
> + { 1, M68K_FPS_REGNUM },
> + { 1, M68K_FPI_REGNUM },
> + { 0 }
> + };
> +
> +#define M68K_LINUX_FPREGS_SIZE (27 * 4)

Hmm. Not sure what happens on m68k_coldfire_flavour, where the GDB
FP registers have builtin_double type (i.e. 8 instead of 12 bytes).
On the other hand, the current m68klinux-nat.c supply_fpregset
doesn't make any provisions for that case either ... is coldfire
supported on Linux at all?

Bye,
Ulrich

--
Dr. Ulrich Weigand
GNU/Linux compilers and toolchain
Ulrich.Weigand@de.ibm.com