From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28338 invoked by alias); 1 Sep 2004 14:06:15 -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 28316 invoked from network); 1 Sep 2004 14:06:12 -0000 Received: from unknown (HELO mx1.redhat.com) (66.187.233.31) by sourceware.org with SMTP; 1 Sep 2004 14:06:12 -0000 Received: from int-mx2.corp.redhat.com (int-mx2.corp.redhat.com [172.16.27.26]) by mx1.redhat.com (8.12.10/8.12.10) with ESMTP id i81E66S0004889 for ; Wed, 1 Sep 2004 10:06:11 -0400 Received: from potter.sfbay.redhat.com (potter.sfbay.redhat.com [172.16.27.15]) by int-mx2.corp.redhat.com (8.11.6/8.11.6) with ESMTP id i81E62731881 for ; Wed, 1 Sep 2004 10:06:02 -0400 Received: from cygbert.vinschen.de (vpn50-21.rdu.redhat.com [172.16.50.21]) by potter.sfbay.redhat.com (8.11.6/8.11.6) with ESMTP id i81E61V20518 for ; Wed, 1 Sep 2004 07:06:01 -0700 Received: by cygbert.vinschen.de (Postfix, from userid 500) id AB15C5808F; Wed, 1 Sep 2004 16:06:30 +0200 (CEST) Date: Wed, 01 Sep 2004 14:06:00 -0000 From: Corinna Vinschen To: gdb-patches@sources.redhat.com Subject: [RFA/testsuite]: gdb.base/call-rt-st.exp: Fix typo Message-ID: <20040901140630.GA23909@cygbert.vinschen.de> Reply-To: gdb-patches@sources.redhat.com 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.4.2i X-SW-Source: 2004-09/txt/msg00007.txt.bz2 Hi, call-rt-st.exp contains two typos which result in testing against the wrong datatype. Patch tested on Linux natively and on linux-x-sh-elf BE and LE. Corinna * gdb.base/call-rt-st.exp: Fix typos. Index: gdb.base/call-rt-st.exp =================================================================== RCS file: /cvs/src/src/gdb/testsuite/gdb.base/call-rt-st.exp,v retrieving revision 1.15 diff -u -p -r1.15 call-rt-st.exp --- gdb.base/call-rt-st.exp 6 Jan 2004 19:05:14 -0000 1.15 +++ gdb.base/call-rt-st.exp 1 Sep 2004 14:05:37 -0000 @@ -187,13 +187,13 @@ if {![gdb_skip_float_test "print print_t ".*Contents of two_floats_t:\[ \r\n\]+-2\\.345000\[ \t]+1\\.000000\[ \r\n\]+.\[0-9\]+ = \\{float1 = -2\\.34500003, float2 = 1\\}" } -if ![gdb_skip_stdio_test "print print_bit_flags_char(*flags)"] { - print_struct_call "print_bit_flags_char(*flags)" \ +if ![gdb_skip_stdio_test "print print_bit_flags_char(*cflags)"] { + print_struct_call "print_bit_flags_char(*cflags)" \ ".*alpha\[ \r\n\]+gamma\[ \r\n\]+epsilon\[ \r\n\]+.\[0-9\]+ = \\{alpha = 1 '\\\\001', beta = 0 '\\\\0', gamma = 1 '\\\\001', delta = 0 '\\\\0', epsilon = 1 '\\\\001', omega = 0 '\\\\0'\\}" } -if ![gdb_skip_stdio_test "print print_bit_flags_short(*flags)"] { - print_struct_call "print_bit_flags_short(*flags)" \ +if ![gdb_skip_stdio_test "print print_bit_flags_short(*sflags)"] { + print_struct_call "print_bit_flags_short(*sflags)" \ ".*alpha\[ \r\n\]+gamma\[ \r\n\]+epsilon\[ \r\n\]+.\[0-9\]+ = \\{alpha = 1, beta = 0, gamma = 1, delta = 0, epsilon = 1, omega = 0\\}" } -- Corinna Vinschen Cygwin Project Co-Leader Red Hat, Inc.