| Index: gdb/testsuite/gdb.dwarf2/dw2-ref-missing-frame.exp
|
| diff --git a/gdb/testsuite/gdb.dwarf2/dw2-ref-missing-frame.exp b/gdb/testsuite/gdb.dwarf2/dw2-ref-missing-frame.exp
|
| index 01960a674e35f0a327b160cac168d3edaa473bcf..74fb6989544ee596ac71dc14be1f351846cfcca2 100644
|
| --- a/gdb/testsuite/gdb.dwarf2/dw2-ref-missing-frame.exp
|
| +++ b/gdb/testsuite/gdb.dwarf2/dw2-ref-missing-frame.exp
|
| @@ -19,25 +19,17 @@ if {![dwarf2_support]} {
|
| return 0
|
| }
|
|
|
| -set testfile "dw2-ref-missing-frame"
|
| -set srcsfile ${testfile}.S
|
| -set objsfile ${objdir}/${subdir}/${testfile}.o
|
| +standard_testfile .S
|
| 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}
|
|
|
| -if { [gdb_compile "${srcdir}/${subdir}/${srcsfile}" $objsfile object {}] != ""
|
| - || [gdb_compile "${srcdir}/${subdir}/${srcfuncfile}" $objfuncfile object {}] != ""
|
| - || [gdb_compile "${srcdir}/${subdir}/${srcmainfile}" $objmainfile object {debug}] != ""
|
| - || [gdb_compile "$objsfile $objfuncfile $objmainfile" $binfile executable {}] != "" } {
|
| +if {[prepare_for_testing_full $testfile.exp \
|
| + [list $testfile {} $srcfile {} $srcfuncfile {} \
|
| + $srcmainfile debug]]} {
|
| return -1
|
| }
|
|
|
| -clean_restart $executable
|
| -
|
| # First try referencing DW_AT_frame_base which is not defined.
|
| if [runto func_nofb] {
|
| gdb_test "p func_nofb_var" {Could not find the frame base for "func_nofb".} "func_nofb print"
|
|
|