From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3541 invoked by alias); 31 May 2006 23:39:02 -0000 Received: (qmail 3531 invoked by uid 22791); 31 May 2006 23:39:01 -0000 X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (66.187.233.31) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 31 May 2006 23:39:00 +0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.12.11.20060308/8.12.11) with ESMTP id k4VNcwIC005259; Wed, 31 May 2006 19:38:58 -0400 Received: from potter.sfbay.redhat.com (potter.sfbay.redhat.com [172.16.27.15]) by int-mx1.corp.redhat.com (8.12.11.20060308/8.12.11) with ESMTP id k4VNcvPa022774; Wed, 31 May 2006 19:38:57 -0400 Received: from [172.16.24.50] (bluegiant.sfbay.redhat.com [172.16.24.50]) by potter.sfbay.redhat.com (8.12.8/8.12.8) with ESMTP id k4VNct8w000809; Wed, 31 May 2006 19:38:56 -0400 Message-ID: <447E290F.5080307@redhat.com> Date: Wed, 31 May 2006 23:41:00 -0000 From: Michael Snyder User-Agent: Mozilla Thunderbird 1.0.7-1.4.1 (X11/20050929) MIME-Version: 1.0 To: Joel Brobecker , GDB Patches , fnf@specifix.com Subject: [RFA] mips, recognizing floating point args Content-Type: multipart/mixed; boundary="------------040300020707070600040807" X-IsSubscribed: yes 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-05/txt/msg00488.txt.bz2 This is a multi-part message in MIME format. --------------040300020707070600040807 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-length: 47 fp_register_arg_p should recognize a typedef. --------------040300020707070600040807 Content-Type: text/plain; name="d4" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="d4" Content-length: 999 2006-05-31 Michael Snyder * mips-tdep.c (fp_register_arg_p): Recognize floating point typedefs. Index: mips-tdep.c =================================================================== RCS file: /cvs/src/src/gdb/mips-tdep.c,v retrieving revision 1.393 diff -p -r1.393 mips-tdep.c *** mips-tdep.c 31 May 2006 23:15:50 -0000 1.393 --- mips-tdep.c 31 May 2006 23:36:48 -0000 *************** fp_register_arg_p (enum type_code typeco *** 2335,2341 **** && (typecode == TYPE_CODE_STRUCT || typecode == TYPE_CODE_UNION) && TYPE_NFIELDS (arg_type) == 1 ! && TYPE_CODE (TYPE_FIELD_TYPE (arg_type, 0)) == TYPE_CODE_FLT)) && MIPS_FPU_TYPE != MIPS_FPU_NONE); } --- 2335,2341 ---- && (typecode == TYPE_CODE_STRUCT || typecode == TYPE_CODE_UNION) && TYPE_NFIELDS (arg_type) == 1 ! && TYPE_CODE (check_typedef (TYPE_FIELD_TYPE (arg_type, 0))) == TYPE_CODE_FLT)) && MIPS_FPU_TYPE != MIPS_FPU_NONE); } --------------040300020707070600040807--