aboutsummaryrefslogtreecommitdiff
path: root/gdb/aarch64-ravenscar-thread.h
diff options
context:
space:
mode:
authorJoel Brobecker <brobecker@adacore.com>2018-11-02 12:37:29 -0500
committerJoel Brobecker <brobecker@adacore.com>2018-11-02 13:37:29 -0400
commite8bf1ce461df242811e49de807f85c2e7ae17b77 (patch)
tree3c9b88cd243b6e65728d676c1d898cdaca558ec7 /gdb/aarch64-ravenscar-thread.h
parentd54cfd762b060ad167bd8e947e4ea212c0eb9b83 (diff)
downloadgdb-e8bf1ce461df242811e49de807f85c2e7ae17b77.zip
gdb-e8bf1ce461df242811e49de807f85c2e7ae17b77.tar.gz
gdb-e8bf1ce461df242811e49de807f85c2e7ae17b77.tar.bz2
(Ada) Add ravenscar tasking support on AArch64
This patch adds support for debugging Ravenscar tasks, similar to what is done for ppc and sparc. gdb/ChangeLog: * aarch64-ravenscar-thread.h, aarch64-ravenscar-thread.c: New files. * aarch64-tdep.c: #include "aarch64-ravenscar-thread.h". (aarch64_gdbarch_init): Add call to register_aarch64_ravenscar_ops. * Makefile.in (ALL_64_TARGET_OBS): Add aarch64-ravenscar-thread.o. (HFILES_NO_SRCDIR): Add aarch64-ravenscar-thread.h. (ALLDEPFILES): Add aarch64-ravenscar-thread.c. * configure.tgt (cpu_obs) [aarch64*-*-*]: Add ravenscar-thread.o and aarch64-ravenscar-thread.o. * NEWS: Add entry documenting Ravenscar tasking support on AArch64 ELF.
Diffstat (limited to 'gdb/aarch64-ravenscar-thread.h')
-rw-r--r--gdb/aarch64-ravenscar-thread.h27
1 files changed, 27 insertions, 0 deletions
diff --git a/gdb/aarch64-ravenscar-thread.h b/gdb/aarch64-ravenscar-thread.h
new file mode 100644
index 0000000..e900233
--- /dev/null
+++ b/gdb/aarch64-ravenscar-thread.h
@@ -0,0 +1,27 @@
+/* Ravenscar Aarch64 target support.
+
+ Copyright (C) 2017-2018 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/>. */
+
+#ifndef AARCH64_RAVENSCAR_THREAD_H
+#define AARCH64_RAVENSCAR_THREAD_H
+
+struct gdbarch;
+
+extern void register_aarch64_ravenscar_ops (struct gdbarch *gdbarch);
+
+#endif