-# Copyright 2009, 2010, 2011 Free Software Foundation, Inc.
+# Copyright 2009-2012 Free Software Foundation, Inc.
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# along with this program. If not, see <http://www.gnu.org/licenses/>.
if [target_info exists gdb,nosignals] {
- verbose "Skipping sigall-reverse.exp because of nosignals."
+ verbose "Skipping sigall-precsave.exp because of nosignals."
return
}
-if ![target_info exists gdb,can_reverse] {
+if ![supports_reverse] {
return
}
gdb_start
gdb_reinitialize_dir $srcdir/$subdir
-set testfile sigall-reverse
-set srcfile ${testfile}.c
+set testfile sigall-precsave
+set srcfile sigall-reverse.c
set binfile ${objdir}/${subdir}/${testfile}
if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {debug}] != "" } {
- untested sigall.exp
+ untested ${testfile}.exp
return -1
}
runto gen_ABRT
-if [target_info exists gdb,use_precord] {
+if [supports_process_record] {
# Activate process record/replay
gdb_test_no_output "record" "Turn on process record"
}