-# Copyright 1998-2013 Free Software Foundation, Inc.
+# Copyright 1998-2015 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
} elseif [is_x86_like_target] {
set fpreg "\$ebp"
set spreg "\$esp"
+} elseif [is_aarch64_target] {
+ set fpreg "\$x29"
+ set spreg "\$sp"
} else {
set fpreg "\$fp"
set spreg "\$sp"
# Output of 'tdump' on frame 0 and frame 1 should be
# identical.
- if ![string compare $output_string0 $output_string1] {
- pass "tdump output"
- } else {
- fail "tdump output"
- }
+ gdb_assert ![string compare $output_string0 $output_string1] \
+ "tdump output"
}
}