aboutsummaryrefslogtreecommitdiff
path: root/gdb/gdbserver/linux-aarch64-tdesc.h
diff options
context:
space:
mode:
authorAlan Hayward <alan.hayward@arm.com>2017-11-24 10:04:53 +0000
committerAlan Hayward <alan.hayward@arm.com>2017-11-24 11:18:19 +0000
commitd6d7ce56231ca8c233e64b2ebcb910fe334d6ff8 (patch)
treed2e3674fb8491400f19f656a63397f2691525649 /gdb/gdbserver/linux-aarch64-tdesc.h
parentda434ccbc3e0ed843700790cd16c1d4bb5882460 (diff)
downloadgdb-d6d7ce56231ca8c233e64b2ebcb910fe334d6ff8.zip
gdb-d6d7ce56231ca8c233e64b2ebcb910fe334d6ff8.tar.gz
gdb-d6d7ce56231ca8c233e64b2ebcb910fe334d6ff8.tar.bz2
gdbserver: add aarch64_create_target_description
gdbserver/ * configure.srv: Add new files. * linux-aarch64-ipa.c (get_ipa_tdesc): Call aarch64_linux_read_description. * linux-aarch64-low.c (aarch64_linux_read_description): Merge with aarch64_arch_setup. (aarch64_arch_setup): Call aarch64_linux_read_description. * linux-aarch64-tdesc.c: New file. * linux-aarch64-tdesc.h: New file.
Diffstat (limited to 'gdb/gdbserver/linux-aarch64-tdesc.h')
-rw-r--r--gdb/gdbserver/linux-aarch64-tdesc.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/gdb/gdbserver/linux-aarch64-tdesc.h b/gdb/gdbserver/linux-aarch64-tdesc.h
new file mode 100644
index 0000000..6d67317
--- /dev/null
+++ b/gdb/gdbserver/linux-aarch64-tdesc.h
@@ -0,0 +1,20 @@
+/* Low level support for aarch64, shared between gdbserver and IPA.
+
+ Copyright (C) 2016-2017 Free Software Foundation, Inc.
+
+ This file is part of GDB.
+
+ 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
+ the Free Software Foundation; either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>. */
+
+const target_desc * aarch64_linux_read_description ();