diff options
author | Alan Hayward <alan.hayward@arm.com> | 2017-11-24 10:28:58 +0000 |
---|---|---|
committer | Alan Hayward <alan.hayward@arm.com> | 2017-11-24 11:18:19 +0000 |
commit | 6654d750c7c584dd83b93f062c5628f15c675480 (patch) | |
tree | c7aaf8a5a19e851f2035e4009b74d820df4b4ddb /gdb/gdbserver/linux-aarch64-low.c | |
parent | 49bdb7ee48a10581e9f7254782f2eb953c4a164b (diff) | |
download | gdb-6654d750c7c584dd83b93f062c5628f15c675480.zip gdb-6654d750c7c584dd83b93f062c5628f15c675480.tar.gz gdb-6654d750c7c584dd83b93f062c5628f15c675480.tar.bz2 |
Add xml selftests for aarch64 target description.
gdb/
* aarch64-tdep.c (_initialize_aarch64_tdep): Add target desc
selftest.
gdbserver/
* configure.srv: Add linux-aarch64-tdesc-selftest.o.
* linux-aarch64-low.c (initialize_low_arch): Call init func.
* linux-aarch64-tdesc-selftest.c: New file.
* linux-aarch64-tdesc.h (initialize_low_tdesc): New declaration.
Diffstat (limited to 'gdb/gdbserver/linux-aarch64-low.c')
-rw-r--r-- | gdb/gdbserver/linux-aarch64-low.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gdb/gdbserver/linux-aarch64-low.c b/gdb/gdbserver/linux-aarch64-low.c index 9682537..243d1e0 100644 --- a/gdb/gdbserver/linux-aarch64-low.c +++ b/gdb/gdbserver/linux-aarch64-low.c @@ -2998,4 +2998,8 @@ initialize_low_arch (void) initialize_low_arch_aarch32 (); initialize_regsets_info (&aarch64_regsets_info); + +#if GDB_SELF_TEST + initialize_low_tdesc (); +#endif } |