| Index: gdb/testsuite/gdb.mi/dw2-ref-missing-frame.exp
|
| diff --git a/gdb/testsuite/gdb.mi/dw2-ref-missing-frame.exp b/gdb/testsuite/gdb.mi/dw2-ref-missing-frame.exp
|
| index 662bded281f9cc2258f1f8f15095ec79f9deefbb..187cd12f9ce5a0d2b362fb9adf3189d51231600f 100644
|
| --- a/gdb/testsuite/gdb.mi/dw2-ref-missing-frame.exp
|
| +++ b/gdb/testsuite/gdb.mi/dw2-ref-missing-frame.exp
|
| @@ -22,19 +22,14 @@ if {![dwarf2_support]} {
|
| return 0
|
| }
|
|
|
| -set testfile "dw2-ref-missing-frame"
|
| -set srcsfile ${testfile}.S
|
| -set objsfile ${objdir}/${subdir}/${testfile}.o
|
| -set srcfuncfile ${testfile}-func.c
|
| -set objfuncfile ${objdir}/${subdir}/${testfile}-func.o
|
| -set srcmainfile ${testfile}-main.c
|
| -set objmainfile ${objdir}/${subdir}/${testfile}-main.o
|
| -set executable ${testfile}
|
| -set binfile ${objdir}/${subdir}/${executable}
|
| +standard_testfile .S dw2-ref-missing-frame-func.c dw2-ref-missing-frame-main.c
|
| +set objsfile [standard_output_file ${testfile}.o]
|
| +set objfuncfile [standard_output_file ${testfile}-func.o]
|
| +set objmainfile [standard_output_file ${testfile}-main.o]
|
|
|
| -if { [gdb_compile "${srcdir}/${subdir}/${srcsfile}" $objsfile object {}] != ""
|
| - || [gdb_compile "${srcdir}/${subdir}/${srcfuncfile}" $objfuncfile object {}] != ""
|
| - || [gdb_compile "${srcdir}/${subdir}/${srcmainfile}" $objmainfile object {debug}] != ""
|
| +if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" $objsfile object {}] != ""
|
| + || [gdb_compile "${srcdir}/${subdir}/${srcfile2}" $objfuncfile object {}] != ""
|
| + || [gdb_compile "${srcdir}/${subdir}/${srcfile3}" $objmainfile object {debug}] != ""
|
| || [gdb_compile "$objsfile $objfuncfile $objmainfile" $binfile executable {}] != "" } {
|
| return -1
|
| }
|
|
|