summaryrefslogtreecommitdiff
path: root/gdb/aarch64-linux-tdep.h
diff options
context:
space:
mode:
authormshawcroft <mshawcroft>2013-02-04 12:53:59 +0000
committermshawcroft <mshawcroft>2013-02-04 12:53:59 +0000
commitb0a378a1c15f7736de5164497559826aa8c52972 (patch)
treefa9d76a3ca3cd48461524d5a5b9ac038fc847176 /gdb/aarch64-linux-tdep.h
parent7412069fb9f19b32088055da28e2290fb5310895 (diff)
downloadgdb-b0a378a1c15f7736de5164497559826aa8c52972.tar.gz
Adding aarch64-linux-tdep support.
2013-02-04 Jim MacArthur <jim.macarthur@arm.com> Marcus Shawcroft <marcus.shawcroft@arm.com> Nigel Stephens <nigel.stephens@arm.com> Yufeng Zhang <yufeng.zhang@arm.com> * Makefile.in (ALL_64_TARGET_OBS): Add aarch64-linux-tdep.o. (ALLDEPFILES): Add aarch64-linux-tdep.c. * aarch64-linux-tdep.c: New file. * aarch64-linux-tdep.h: New file. * aarch64-tdep.h (gdbarch_tdep): Define gregset and fpregset. * configure.tgt: Add aarch64-none-linux-gnu.
Diffstat (limited to 'gdb/aarch64-linux-tdep.h')
-rw-r--r--gdb/aarch64-linux-tdep.h26
1 files changed, 26 insertions, 0 deletions
diff --git a/gdb/aarch64-linux-tdep.h b/gdb/aarch64-linux-tdep.h
new file mode 100644
index 00000000000..b1c36464e55
--- /dev/null
+++ b/gdb/aarch64-linux-tdep.h
@@ -0,0 +1,26 @@
+/* GNU/Linux on AArch64 target support, prototypes.
+
+ Copyright (C) 2012-2013 Free Software Foundation, Inc.
+ Contributed by ARM Ltd.
+
+ 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/>. */
+
+struct regcache;
+
+extern void aarch64_linux_supply_gregset (struct regcache *regcache,
+ const gdb_byte *gregs_buf);
+extern void aarch64_linux_supply_fpregset (struct regcache *regcache,
+ const gdb_byte *fpregs_buf);