-# Copyright 2004-2019 Free Software Foundation, Inc.
+# Copyright 2004-2022 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
# Test rs6000 prologue analyzer.
-if ![istarget "powerpc-*-aix*"] then {
+if {![istarget "powerpc-*-aix*"]} {
verbose "Skipping powerpc-aix prologue tests."
return
}
# instruction at that address (we're not interested in the insn
# itself, but rather at the address printed at the begining of
# the instruction).
- if { $address != "" } then {
+ if {$address != ""} {
gdb_test "x /i $address" \
".*<$function\\+$expected_location>.*" \
"check $function breakpoint address"