linux_dsm_epyc7002/tools/testing/selftests/breakpoints
Fathi Boudra b13f76664d selftests: breakpoints: allow to cross-compile for aarch64/arm64
To build breakpoint_test_arm64, ARCH value is only tested for "aarch64".
It covers only the native build because it's computed from uname -m output.
For cross-compilation, ARCH is set to arm64 and prevent to cross-compile
the test.
Fix the test to allow both native and cross-compilation of the test.

Note: glibc is missing several of the TRAP_* constants in the userspace
      definitions. Specifically TRAP_BRANCH and TRAP_HWBKPT.
      See https://sourceware.org/bugzilla/show_bug.cgi?id=21286

Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org>
Tested-by: Naresh Kamboju <naresh.kamboju@linaro.org>
Signed-off-by: Shuah Khan <shuahkh@osg.samsung.com>
2017-04-21 11:25:26 -06:00
..
.gitignore selftests: add missing .gitignore file or entry 2016-02-25 13:16:36 -07:00
breakpoint_test_arm64.c selftests: arm64: add test for unaligned/inexact watchpoint handling 2016-11-18 17:26:15 +00:00
breakpoint_test.c selftests/breakpoints: change test to use ksft framework 2014-11-17 10:39:08 -07:00
Makefile selftests: breakpoints: allow to cross-compile for aarch64/arm64 2017-04-21 11:25:26 -06:00
step_after_suspend_test.c selftests: breakpoint: add step_after_suspend_test 2016-02-25 09:47:51 -07:00