From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4902 invoked by alias); 17 Jun 2006 23:36:08 -0000 Received: (qmail 4894 invoked by uid 22791); 17 Jun 2006 23:36:07 -0000 X-Spam-Check-By: sourceware.org Received: from sibelius.xs4all.nl (HELO sibelius.xs4all.nl) (82.92.89.47) by sourceware.org (qpsmtpd/0.31) with ESMTP; Sat, 17 Jun 2006 23:36:06 +0000 Received: from elgar.sibelius.xs4all.nl (root@elgar.sibelius.xs4all.nl [192.168.0.2]) by sibelius.xs4all.nl (8.13.4/8.13.4) with ESMTP id k5HNZthZ028109; Sun, 18 Jun 2006 01:35:55 +0200 (CEST) Received: from elgar.sibelius.xs4all.nl (kettenis@localhost.sibelius.xs4all.nl [127.0.0.1]) by elgar.sibelius.xs4all.nl (8.13.6/8.13.6) with ESMTP id k5HNZtXm012199; Sun, 18 Jun 2006 01:35:55 +0200 (CEST) Received: (from kettenis@localhost) by elgar.sibelius.xs4all.nl (8.13.6/8.13.6/Submit) id k5HNZrwh028469; Sun, 18 Jun 2006 01:35:53 +0200 (CEST) Date: Sat, 17 Jun 2006 23:36:00 -0000 Message-Id: <200606172335.k5HNZrwh028469@elgar.sibelius.xs4all.nl> From: Mark Kettenis To: msnyder@redhat.com CC: brobecker@adacore.com, gdb-patches@sources.redhat.com, fnf@specifix.com In-reply-to: <447E279C.7020804@redhat.com> (message from Michael Snyder on Wed, 31 May 2006 16:32:44 -0700) Subject: Re: [RFA] mips, floating point arg passing References: <447E279C.7020804@redhat.com> Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2006-06/txt/msg00247.txt.bz2 > Date: Wed, 31 May 2006 16:32:44 -0700 > From: Michael Snyder > > 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 > > * 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.