-# Copyright 2007, 2008, 2009 Free Software Foundation, Inc.
+# Copyright 2007-2019 Free Software Foundation, Inc.
# This file is part of the GDB testsuite.
return
}
-set testfile "i386-signal"
-set srcfile ${testfile}.c
-set binfile ${objdir}/${subdir}/${testfile}
+standard_testfile
if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" \
- executable { debug }] != "" } {
- untested i386-sigframe.exp
+ executable { debug nopie }] != "" } {
+ untested "failed to compile"
return -1
}
runto func
gdb_test "backtrace 10" \
- "#0 ($hex in )?func.*\r\n#1 <signal handler called>\r\n#2 ($hex in)?main.*"
+ "#0 ($hex in )?func.*\r\n#1 <signal handler called>\r\n#2 ($hex in )?main.*"
gdb_test "finish" "Run till exit from \#0 func.*<signal handler called>"