This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFA] mips, floating point arg passing
- From: Mark Kettenis <mark dot kettenis at xs4all dot nl>
- To: msnyder at redhat dot com
- Cc: brobecker at adacore dot com, gdb-patches at sources dot redhat dot com, fnf at specifix dot com
- Date: Sun, 18 Jun 2006 01:35:53 +0200 (CEST)
- Subject: Re: [RFA] mips, floating point arg passing
- References: <447E279C.7020804@redhat.com>
> Date: Wed, 31 May 2006 16:32:44 -0700
> From: Michael Snyder <msnyder@redhat.com>
>
> GDB is causing SIGFPE on target boards that have a FPU,
> when compiled for a 32 bit ABI.
Hmm, aren't all registers supposed to be 32-bit for o32. It seems to
me that we should hardcode that in the *_o32_* functions, instead of
trying to be register-size agnostic.
Mark
> 2006-05-31 Michael Snyder <msnyder@redhat.com>
>
> * mips-tdep.c (mips_eabi_push_dummy_call): For 32 bit ABI, to
> decide how many registers it takes to pass a floating point
> argument, what matters is the size of a floating point register
> (not the size of a general purpose register).
> (mips_o32_push_dummy_call): Ditto.