From: Corinna Vinschen <vinschen@redhat.com>
To: gdb-patches <gdb-patches@sources.redhat.com>
Subject: [RFA]: testsuite/gdb.asm/asm-sources.exp: Allow defining linker flags
Date: Sun, 04 Nov 2001 06:30:00 -0000 [thread overview]
Message-ID: <20011113233240.A24614@cygbert.vinschen.de> (raw)
Hi,
the following patch allows to have linker flags in gdb.asm/asm-sources.exp:
2001-11-13 Corinna Vinschen <vinschen@redhat.com>
* 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
next reply other threads:[~2001-11-13 22:32 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-11-04 6:30 Corinna Vinschen [this message]
2001-11-05 9:55 ` Fernando Nasser
2001-11-05 10:31 ` Corinna Vinschen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20011113233240.A24614@cygbert.vinschen.de \
--to=vinschen@redhat.com \
--cc=gdb-patches@sources.redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox