In test-case gdb.dwarf2/assign-variable-value-to-register.exp a return is
missing here after the unsupported:
...
if { ![is_x86_64_m64_target] } {
unsupported "unsupported architecture"
}
...
and consequently on aarch64-linux I ran into an UNSUPPORTED followed by 3
FAILs.
Fix this by simply using require:
...
require is_x86_64_m64_target
...
Tested on x86_64-linux and aarch64-linux.
# This test uses a hard-coded x86-64 DWARF register number, so restrict it to
# x86-64.
-if { ![is_x86_64_m64_target] } {
- unsupported "unsupported architecture"
-}
+require is_x86_64_m64_target
load_lib dwarf.exp