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 v2 12/13] M68K Linux: Define regset structures.


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


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