From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2283 invoked by alias); 8 Feb 2002 16:41:34 -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 2136 invoked from network); 8 Feb 2002 16:41:32 -0000 Received: from unknown (HELO nevyn.them.org) (128.2.145.6) by sources.redhat.com with SMTP; 8 Feb 2002 16:41:32 -0000 Received: from drow by nevyn.them.org with local (Exim 3.34 #1 (Debian)) id 16ZE5c-0005T1-00; Fri, 08 Feb 2002 11:41:32 -0500 Date: Fri, 08 Feb 2002 08:41:00 -0000 From: Daniel Jacobowitz To: gdb-patches@sources.redhat.com, Corinna Vinschen Subject: ARM float changes Message-ID: <20020208114132.A17495@nevyn.them.org> Mail-Followup-To: gdb-patches@sources.redhat.com, Corinna Vinschen Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.23i X-SW-Source: 2002-02/txt/msg00232.txt.bz2 (Sorry for breaking threading, I have a trigger happy delete finger...) Have you tested this change on stabs debugging? If you were testing with GCC head and did not do so explicitly, GCC now defaults to DWARF-2 for a substantial number of targets. I ask because your change is probably wrong for stabs. Stabs _never_ sets TYPE_FLAG_PROTOTYPED at present, and so this may break the calling of prototyped functions taking float using stabs debugging. default_coerce_float_to_double appears to have the opposite problem and break DWARF-2. For instance, my results on i386-linux, callfuncs.exp: standard coercion default coercion ================= ================ GCC 2.95 stabs+ 1 XPASS, 1 FAIL, 1 XFAIL 1 FAIL, 2 XPASS dwarf2 1 FAIL 5 FAIL GCC 3.0.4pre stabs+ 1 XPASS, 1 XFAIL 2 XPASS dwarf2 0 FAILS 4 FAIL What particularly do these mean? - 1 FAIL for all the 2.95 cases is unrelated, a backtrace/prologue problem. - The default coercion, which GDB uses on this target, promotes floats on DWARF-2. Incorrectly. - The "standard" coercion promotes floats incorrectly on stabs, but in two of the four cases we promote incorrectly for DWARF-2. Simply disabling promotion is about equivalent to default coercion. -- Daniel Jacobowitz Carnegie Mellon University MontaVista Software Debian GNU/Linux Developer