From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18017 invoked by alias); 13 Nov 2001 22:32:50 -0000 Mailing-List: contact gdb-patches-help@sourceware.cygnus.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 17996 invoked from network); 13 Nov 2001 22:32:47 -0000 Received: from unknown (HELO cygnus.com) (205.180.230.5) by sourceware.cygnus.com with SMTP; 13 Nov 2001 22:32:47 -0000 Received: from cygbert.vinschen.de (cse.cygnus.com [205.180.230.236]) by runyon.cygnus.com (8.8.7-cygnus/8.8.7) with ESMTP id OAA24948 for ; Tue, 13 Nov 2001 14:32:43 -0800 (PST) Received: (from corinna@localhost) by cygbert.vinschen.de (8.9.3/8.9.3/Linux sendmail 8.9.3) id XAA24816 for gdb-patches@sources.redhat.com; Tue, 13 Nov 2001 23:32:40 +0100 Date: Sun, 04 Nov 2001 06:30:00 -0000 From: Corinna Vinschen To: gdb-patches Subject: [RFA]: testsuite/gdb.asm/asm-sources.exp: Allow defining linker flags Message-ID: <20011113233240.A24614@cygbert.vinschen.de> Reply-To: gdb-patches Mail-Followup-To: gdb-patches Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i X-SW-Source: 2001-11/txt/msg00044.txt.bz2 Hi, the following patch allows to have linker flags in gdb.asm/asm-sources.exp: 2001-11-13 Corinna Vinschen * gdb.asm/asm-sources.exp: Allow defining linker flags. Index: gdb.asm/asm-source.exp =================================================================== RCS file: /cvs/src/src/gdb/testsuite/gdb.asm/asm-source.exp,v retrieving revision 1.5 diff -u -p -r1.5 asm-source.exp --- asm-source.exp 2001/11/10 01:44:43 1.5 +++ asm-source.exp 2001/11/13 22:30:19 @@ -33,6 +33,7 @@ set bug_id 0 set asm-arch "" set asm-flags "" +set link-flags "" if [istarget "d10v-*-*"] then { set asm-arch d10v @@ -58,7 +59,7 @@ if {[target_assemble ${src2} asmsrc2.o " gdb_suppress_entire_file "Testcase compile failed, so all tests in this file will automatically fail." } -if { [target_link "asmsrc1.o asmsrc2.o" ${binfile} ""] != "" } { +if { [target_link "asmsrc1.o asmsrc2.o" ${binfile} "${link-flags}"] != "" } { gdb_suppress_entire_file "Testcase compile failed, so all tests in this file will automatically fail." } -- Corinna Vinschen Cygwin Developer Red Hat, Inc. mailto:vinschen@redhat.com