From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26658 invoked by alias); 14 Jan 2003 04:15:10 -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 26650 invoked from network); 14 Jan 2003 04:15:03 -0000 Received: from unknown (HELO crack.them.org) (65.125.64.184) by 209.249.29.67 with SMTP; 14 Jan 2003 04:15:03 -0000 Received: from nevyn.them.org ([66.93.61.169] ident=mail) by crack.them.org with asmtp (Exim 3.12 #1 (Debian)) id 18YKMI-0007hz-00 for ; Tue, 14 Jan 2003 00:15:34 -0600 Received: from drow by nevyn.them.org with local (Exim 3.36 #1 (Debian)) id 18YIU2-0000Vd-00 for ; Mon, 13 Jan 2003 23:15:26 -0500 Date: Tue, 14 Jan 2003 04:15:00 -0000 From: Daniel Jacobowitz To: gdb-patches@sources.redhat.com Subject: [RFC/testsuite] Update "info float" output for i386 Message-ID: <20030114041526.GA1885@nevyn.them.org> Mail-Followup-To: gdb-patches@sources.redhat.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.1i X-SW-Source: 2003-01/txt/msg00509.txt.bz2 I'm still in testsuite maintenance mode, for a little while longer. I'm on the home stretch for GCC 2.95.3 + stabs; as soon as I finish, I'll do my monthly apt-get dist-upgrade, the default compiler on my Debian machine will change to GCC 3.2 + DWARF-2, and I'll be right back where I started at dozens of failures. But I'll have a tremendous sense of accomplishment! Some time ago Mark Kettenis updated i387-tdep.c to use frame_register_read for "info float". This changed the result of "info float" with no running program; I think for the better, and so did he, if I recall rightly. Can anyone think of a reason not to update the testsuite correspondingly, as with the attached patch? For reference, the old output was a zeroed register dump; the new is "The program has no registers now." Which is quite entirely accurate. -- Daniel Jacobowitz MontaVista Software Debian GNU/Linux Developer 2003-01-13 Daniel Jacobowitz * gdb.base/default.exp (info float): Update expected output for i386. Index: gdb.base/default.exp =================================================================== RCS file: /cvs/src/src/gdb/testsuite/gdb.base/default.exp,v retrieving revision 1.14 diff -u -p -r1.14 default.exp --- gdb.base/default.exp 18 Oct 2002 18:54:55 -0000 1.14 +++ gdb.base/default.exp 14 Jan 2003 04:10:46 -0000 @@ -1,5 +1,5 @@ # Copyright 1988, 1990, 1991, 1992, 1994, 1995, 1996, 1997, 1998, 1999, -# 2000, 2001, 2002 +# 2000, 2001, 2002, 2003 # Free Software Foundation, Inc. # This program is free software; you can redistribute it and/or modify @@ -325,7 +325,7 @@ if { [istarget "arm*-*-*"] || \ [istarget "strongarm*-*-*"] } then { gdb_test "info float" "Software FPU type.*mask:.*flags:.*" "info float" } elseif [istarget "i\[3456\]86-*-*"] then { - gdb_test "info float" "R7:.*Status Word:.*Opcode:.*" "info float" + gdb_test "info float" "The program has no registers now." "info float" } else { gdb_test "info float" "No floating.point info available for this processor." "info float" }