-# Copyright 2003, 2007, 2008, 2009, 2010, 2011 Free Software Foundation, Inc.
+# Copyright 2003-2024 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
# Tests for Powerpc e500 ABI
-if $tracelevel then {
- strace $tracelevel
-}
-
#
# This file uses e500-abi.c for input.
#
-
-if ![istarget "powerpc-*eabispe"] then {
- verbose "Skipping e500 abi tests."
- return
-}
+require {istarget "powerpc-*eabispe"}
set testfile "e500-abi"
set binfile ${objdir}/${subdir}/${testfile}
set src1 ${srcdir}/${subdir}/${testfile}.c
if { [gdb_compile ${src1} ${binfile} executable {debug nowarnings}] != "" } {
- untested e500-abi.exp
+ untested "failed to compile"
return -1
}
# Run to `main' where we begin our tests.
#
-if ![runto_main] then {
- gdb_suppress_tests
+if {![runto_main]} {
+ return 0
}
gdb_test "b marker" "Breakpoint 2 at.*file.*e500-abi.c, line \[0-9\]+." "break marker"