From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 32331 invoked by alias); 15 Aug 2006 14:25:51 -0000 Received: (qmail 32281 invoked by uid 22791); 15 Aug 2006 14:25:50 -0000 X-Spam-Check-By: sourceware.org Received: from w099.z064220152.sjc-ca.dsl.cnc.net (HELO bluesmobile.corp.specifix.com) (64.220.152.99) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 15 Aug 2006 14:25:44 +0000 Received: from [::1] (bluesmobile.corp.specifix.com [192.168.1.32]) by bluesmobile.corp.specifix.com (Postfix) with ESMTP id A70C43B82E for ; Tue, 15 Aug 2006 07:22:19 -0700 (PDT) From: Fred Fish Reply-To: fnf@specifix.com To: GDB Patches Subject: [PATCH] Fix apparent typo in lib/gdb.exp when setting skip_vmx_tests_saved Date: Tue, 15 Aug 2006 18:45:00 -0000 User-Agent: KMail/1.9.3 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200608151025.19801.fnf@specifix.com> Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2006-08/txt/msg00097.txt.bz2 The attached patch fixes this error: Running /src/latest/patched/src/gdb/gdb/testsuite/gdb.arch/altivec-abi.exp ... ERROR: tcl error sourcing /src/latest/patched/src/gdb/gdb/testsuite/gdb.arch/altivec-abi.exp. ERROR: can't read "skip_vmx_tests_saved": no such variable while executing "set $skip_vmx_tests_saved 1" (procedure "skip_altivec_tests" line 15) invoked from within "skip_altivec_tests" (file "/src/latest/patched/src/gdb/gdb/testsuite/gdb.arch/altivec-abi.exp" line 1) ("uplevel" body line 1) invoked from within "catch "uplevel #0 source $test_file_name"" =================================================================== 2006-08-15 Fred Fish * lib/gdb.exp (skip_altivec_tests): Fix apparent typo, '$' in front of skip_vmx_tests_saved when setting that. Index: gdb/gdb/testsuite/lib/gdb.exp =================================================================== RCS file: /cvsroots/latest/src/gdb/gdb/testsuite/lib/gdb.exp,v retrieving revision 1.1.1.2.2.5 diff -u -p -r1.1.1.2.2.5 gdb.exp --- gdb/gdb/testsuite/lib/gdb.exp 13 Aug 2006 20:57:17 -0000 1.1.1.2.2.5 +++ gdb/gdb/testsuite/lib/gdb.exp 15 Aug 2006 12:06:45 -0000 @@ -1196,7 +1196,7 @@ proc skip_altivec_tests {} { # Some simulators are known to not support VMX instructions. if { [istarget powerpc-*-eabi] || [istarget powerpc*-*-eabispe] } { verbose "$me: target known to not support VMX, returning 1" 2 - return [set $skip_vmx_tests_saved 1] + return [set skip_vmx_tests_saved 1] } # Make sure we have a compiler that understands altivec.