aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/testsuite/gdb.base/attach-pie-noexec.exp')
-rw-r--r--gdb/testsuite/gdb.base/attach-pie-noexec.exp6
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/testsuite/gdb.base/attach-pie-noexec.exp b/gdb/testsuite/gdb.base/attach-pie-noexec.exp
index 1a51049dfd1..4ea302e0cbe 100644
--- a/gdb/testsuite/gdb.base/attach-pie-noexec.exp
+++ b/gdb/testsuite/gdb.base/attach-pie-noexec.exp
@@ -20,7 +20,7 @@ if {![can_spawn_for_attach]} {
standard_testfile .c
set executable ${testfile}
-if { [prepare_for_testing ${testfile}.exp $executable "" [list debug "additional_flags=-fPIE -pie"]] } {
+if { [prepare_for_testing "failed to prepare" $executable "" [list debug "additional_flags=-fPIE -pie"]] } {
return -1
}
@@ -42,13 +42,13 @@ gdb_test_multiple "info shared" $test {
pass $test
}
-re "No shared libraries loaded at this time\\.\r\n$gdb_prompt $" {
- untested ${testfile}.exp
+ untested "no shared libraries loaded"
}
}
gdb_exit
if {$arch == ""} {
- untested ${testfile}.exp
+ untested "no architecture set"
return 0
}