Use require support_displaced_stepping
[binutils-gdb.git] / gdb / testsuite / gdb.mi / mi-nsthrexec.exp
index 6f3b27731876f941b65511afe5a46f4a0c4a0fac..a6ce493ce8d0a640d101b61f75f2858d8df1c5cb 100644 (file)
 # the main thread doesn't just silently stop at the first internal
 # breakpoint (usually the _dl_debug_state breakpoint).
 
-if { ![support_displaced_stepping] } { 
-    unsupported "displaced stepping"
-    return -1
-}
+require support_displaced_stepping
 
 load_lib mi-support.exp
 set MIFLAGS "-i=mi"