* gdb.asm/asm-sources.exp: Allow defining linker flags.
This commit is contained in:
parent
42ebd756d5
commit
2505098499
|
@ -1,3 +1,7 @@
|
||||||
|
2001-11-13 Corinna Vinschen <vinschen@redhat.com>
|
||||||
|
|
||||||
|
* gdb.asm/asm-sources.exp: Allow defining linker flags.
|
||||||
|
|
||||||
2001-11-12 Daniel Jacobowitz <drow@mvista.com>
|
2001-11-12 Daniel Jacobowitz <drow@mvista.com>
|
||||||
|
|
||||||
* lib/mi-support.exp (mi_run_to_helper): Move comments
|
* lib/mi-support.exp (mi_run_to_helper): Move comments
|
||||||
|
|
|
@ -33,6 +33,7 @@ set bug_id 0
|
||||||
|
|
||||||
set asm-arch ""
|
set asm-arch ""
|
||||||
set asm-flags ""
|
set asm-flags ""
|
||||||
|
set link-flags ""
|
||||||
|
|
||||||
if [istarget "d10v-*-*"] then {
|
if [istarget "d10v-*-*"] then {
|
||||||
set asm-arch d10v
|
set asm-arch d10v
|
||||||
|
@ -58,7 +59,7 @@ if {[target_assemble ${src2} asmsrc2.o "${asm-flags}"] != ""} then {
|
||||||
gdb_suppress_entire_file "Testcase compile failed, so all tests in this file will automatically fail."
|
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."
|
gdb_suppress_entire_file "Testcase compile failed, so all tests in this file will automatically fail."
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue