| Index: gdb/testsuite/gdb.multi/bkpt-multi-exec.exp
|
| diff --git a/gdb/testsuite/gdb.multi/bkpt-multi-exec.exp b/gdb/testsuite/gdb.multi/bkpt-multi-exec.exp
|
| index 9705cc87bb229a81118eaf8a91dec6e0558dde5c..6a76d0779ab21f668d0d469b3e7afe7ec135a146 100644
|
| --- a/gdb/testsuite/gdb.multi/bkpt-multi-exec.exp
|
| +++ b/gdb/testsuite/gdb.multi/bkpt-multi-exec.exp
|
| @@ -17,28 +17,29 @@ if { [is_remote target] || ![isnative] } then {
|
| continue
|
| }
|
|
|
| +# Until "catch exec" is implemented on other targets...
|
| +#
|
| +if {![istarget "hppa*-hp-hpux*"] && ![istarget "*-linux*"]} then {
|
| + continue
|
| +}
|
| +
|
| set testfile "bkpt-multi-exec"
|
|
|
| set exec1 "bkpt-multi-exec"
|
| set srcfile1 ${exec1}.c
|
| -set binfile1 ${objdir}/${subdir}/${exec1}
|
| +set binfile1 [standard_output_file ${exec1}]
|
|
|
| set exec2 "crashme"
|
| set srcfile2 ${exec2}.c
|
| -set binfile2 ${objdir}/${subdir}/${exec2}
|
| +set binfile2 [standard_output_file ${exec2}]
|
|
|
| -if { [prepare_for_testing ${testfile}.exp ${exec1} "${srcfile1}" {debug nowarnings}] } {
|
| +if { [build_executable ${testfile}.exp ${exec1} "${srcfile1}" {debug nowarnings}] == -1 } {
|
| return -1
|
| }
|
|
|
| -if { [prepare_for_testing ${testfile}.exp ${exec2} "${srcfile2}" {debug nowarnings}] } {
|
| +if { [build_executable ${testfile}.exp ${exec2} "${srcfile2}" {debug nowarnings}] == -1 } {
|
| return -1
|
| }
|
| -# Until "catch exec" is implemented on other targets...
|
| -#
|
| -if {![istarget "hppa*-hp-hpux*"] && ![istarget "*-linux*"]} then {
|
| - continue
|
| -}
|
|
|
| # Start with a fresh gdb
|
|
|
|
|