From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18745 invoked by alias); 11 May 2002 01:57:13 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 18736 invoked from network); 11 May 2002 01:57:11 -0000 Received: from unknown (HELO potter.sfbay.redhat.com) (205.180.83.107) by sources.redhat.com with SMTP; 11 May 2002 01:57:11 -0000 Received: from localhost.localdomain (remus.sfbay.redhat.com [172.16.27.252]) by potter.sfbay.redhat.com (8.11.6/8.11.6) with ESMTP id g4B1tvv02535 for ; Fri, 10 May 2002 18:55:57 -0700 Subject: [PATCH] Fix thinko in mips-tdep.c From: Eric Christopher To: gdb-patches@sources.redhat.com Content-Type: text/plain Content-Transfer-Encoding: 7bit Date: Fri, 10 May 2002 18:57:00 -0000 Message-Id: <1021082112.6111.4.camel@ghostwheel.cygnus.com> Mime-Version: 1.0 X-SW-Source: 2002-05/txt/msg00381.txt.bz2 Daniel had a small thinko when writing the support for mips_double(single)_register_type. This should fix it. OK? -eric ps. I dont' think I have write after approval for gdb so someone should check this in :) -- I will not carve gods 2002-05-10 Eric Christopher * mips-tdep.c (mips_double_register_type): Fix thinko. (mips_single_register_type): Ditto. Index: mips-tdep.c =================================================================== RCS file: /cvs/src/src/gdb/mips-tdep.c,v retrieving revision 1.72 diff -u -p -w -r1.72 mips-tdep.c --- mips-tdep.c 9 May 2002 22:26:00 -0000 1.72 +++ mips-tdep.c 11 May 2002 01:52:28 -0000 @@ -2744,7 +2744,7 @@ mips_pop_frame (void) static struct type * mips_float_register_type (void) { - if (TARGET_BYTE_ORDER == BFD_BIG_ENDIAN) + if (TARGET_BYTE_ORDER == BFD_ENDIAN_BIG) return builtin_type_ieee_single_big; else return builtin_type_ieee_single_little; @@ -2753,7 +2753,7 @@ mips_float_register_type (void) static struct type * mips_double_register_type (void) { - if (TARGET_BYTE_ORDER == BFD_BIG_ENDIAN) + if (TARGET_BYTE_ORDER == BFD_ENDIAN_BIG) return builtin_type_ieee_double_big; else return builtin_type_ieee_double_little; @@ -4979,4 +4979,3 @@ that would transfer 32 bits for some reg When non-zero, mips specific debugging is enabled.", &setdebuglist), &showdebuglist); } -