From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8633 invoked by alias); 6 Jul 2003 21:32:17 -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 8625 invoked from network); 6 Jul 2003 21:32:16 -0000 Received: from unknown (HELO lisa.goe.net) (134.76.166.209) by sources.redhat.com with SMTP; 6 Jul 2003 21:32:16 -0000 Received: from mutter.goe.net (mutter-lisa0.a11.local [192.168.31.26]) by lisa.goe.net (8.12.6/8.12.6) with ESMTP id h66LWFqI027907 for ; Sun, 6 Jul 2003 23:32:15 +0200 Received: from whitebox.a11.local ([192.168.31.90] helo=whitebox.as.local) by mutter.goe.net with esmtp (Exim 4.20) id 19ZH7G-0006iN-Nn for gdb-patches@sources.redhat.com; Sun, 06 Jul 2003 23:32:14 +0200 Received: from whitebox.as.local (localhost [127.0.0.1]) by whitebox.as.local (8.12.7/8.12.7/SuSE Linux 0.6) with ESMTP id h66LWF8P016769 for ; Sun, 6 Jul 2003 23:32:16 +0200 Received: (from andreas@localhost) by whitebox.as.local (8.12.7/8.12.7/Submit) id h66LWEBZ016768; Sun, 6 Jul 2003 23:32:14 +0200 X-Authentication-Warning: whitebox.as.local: andreas set sender to schwab@suse.de using -f To: gdb-patches@sources.redhat.com Subject: Testsuite fixes From: Andreas Schwab X-Yow: Toes, knees, NIPPLES. Toes, knees, nipples, KNUCKLES... Nipples, dimples, knuckles, NICKLES, wrinkles, pimples!! I don't like FRANK SINATRA or his CHILDREN. Date: Sun, 06 Jul 2003 21:32:00 -0000 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SW-Source: 2003-07/txt/msg00110.txt.bz2 On m68k-linux addresses are usually negative, and "info float" now has a generic implementation. OK for HEAD and 6.0 branch? Andreas. 2003-07-06 Andreas Schwab * gdb.objc/basicclass.exp ("Call an Objective-C method with no arguments"): Also match negative number. * gdb.base/float.exp ("info float"): Add test for m68k-*-*. --- gdb/testsuite/gdb.base/float.exp.~1.4.~ 2003-06-12 22:40:24.000000000 +0200 +++ gdb/testsuite/gdb.base/float.exp 2003-07-06 21:44:37.000000000 +0200 @@ -61,6 +61,8 @@ if { [istarget "alpha*-*-*"] } then { gdb_test "info float" "R7:.*Status Word:.*Opcode:.*" "info float" } elseif [istarget "ia64-*-*"] then { gdb_test "info float" "f0.*f1.*f127.*" "info float" +} elseif [istarget "m68k-*-*"] then { + gdb_test "info float" "fp0.*fp1.*fp7.*" "info float" } else { gdb_test "info float" "No floating.point info available for this processor." "info float" } --- gdb/testsuite/gdb.objc/basicclass.exp.~1.1.12.1.~ 2003-06-26 23:09:20.000000000 +0200 +++ gdb/testsuite/gdb.objc/basicclass.exp 2003-07-06 23:24:16.000000000 +0200 @@ -178,7 +178,7 @@ gdb_test continue \ # Test calling Objective-C methods # gdb_test "print \[self printHi\]" \ - "Hi.*\\$\[0-9\] = \[0-9\]+" \ + "Hi.*\\$\[0-9\] = -?\[0-9\]+" \ "Call an Objective-C method with no arguments" gdb_test "print \[self printNumber: 42\]" \