forked from Imagelibrary/binutils-gdb
Use require supports_get_siginfo_type
This changes some tests to use "require supports_get_siginfo_type".
This commit is contained in:
@@ -30,10 +30,7 @@ if [target_info exists gdb,nosignals] {
|
||||
return -1
|
||||
}
|
||||
|
||||
if { ![supports_get_siginfo_type] } {
|
||||
verbose "Skipping catch-signal-siginfo-cond.exp because of lack of support."
|
||||
return -1
|
||||
}
|
||||
require supports_get_siginfo_type
|
||||
|
||||
standard_testfile
|
||||
|
||||
|
||||
@@ -26,10 +26,7 @@ if [target_info exists gdb,nosignals] {
|
||||
return
|
||||
}
|
||||
|
||||
if { ![supports_get_siginfo_type] } {
|
||||
verbose "Skipping siginfo-obj.exp because of lack of support."
|
||||
return
|
||||
}
|
||||
require supports_get_siginfo_type
|
||||
|
||||
|
||||
standard_testfile
|
||||
|
||||
@@ -21,10 +21,7 @@ if [target_info exists gdb,nosignals] {
|
||||
return
|
||||
}
|
||||
|
||||
if { ![supports_get_siginfo_type] } {
|
||||
verbose "Skipping siginfo-thread.exp because of lack of support."
|
||||
return
|
||||
}
|
||||
require supports_get_siginfo_type
|
||||
|
||||
standard_testfile .c
|
||||
|
||||
|
||||
Reference in New Issue
Block a user