]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
Add memory tagging testcases users/luisgpm/aarch64-mte-v2
authorLuis Machado <luis.machado@linaro.org>
Mon, 15 Jun 2020 18:55:02 +0000 (15:55 -0300)
committerLuis Machado <luis.machado@linaro.org>
Thu, 25 Jun 2020 16:23:39 +0000 (13:23 -0300)
commit5d63830fb41bb9a1a3fdc57732e94f44c0501f3f
tree7c47e4ce3b23ee4410fe1c5e94a129e520b39f16
parenta2bdbbe1234c00e53823f609ca06f5148bb1da42
Add memory tagging testcases

Add an AArch64-specific test and a more generic memory tagging test that
other architectures can run.

Even though architectures not supporting memory tagging can run the memory
tagging tests, the runtime check will make the tests bail out early, as it
would make no sense to proceed without proper support.

gdb/testsuite/ChangeLog:

YYYY-MM-DD  Luis Machado  <luis.machado@linaro.org>

* gdb.arch/aarch64-mte.c: New file.
* gdb.arch/aarch64-mte.exp: New test.
* gdb.base/memtag.c: New file.
* gdb.base/memtag.exp: New test.
* lib/gdb.exp (supports_memtag): New function.
gdb/testsuite/gdb.arch/aarch64-mte.c [new file with mode: 0644]
gdb/testsuite/gdb.arch/aarch64-mte.exp [new file with mode: 0644]
gdb/testsuite/gdb.base/memtag.c [new file with mode: 0644]
gdb/testsuite/gdb.base/memtag.exp [new file with mode: 0644]
gdb/testsuite/lib/gdb.exp