aboutsummaryrefslogtreecommitdiff
path: root/gdb/ppc-ravenscar-thread.h
diff options
context:
space:
mode:
authorJoel Brobecker <brobecker@gnat.com>2012-12-15 14:30:18 +0000
committerJoel Brobecker <brobecker@gnat.com>2012-12-15 14:30:18 +0000
commitdebb1f09a1d44c72b1a8c4c34d0408f991a3947b (patch)
tree5e5dcb27a511fee4a43f7029f9a308180e03581f /gdb/ppc-ravenscar-thread.h
parentc16998a76c35561d1213cd8d0c44e76350d84529 (diff)
downloadgdb-debb1f09a1d44c72b1a8c4c34d0408f991a3947b.zip
gdb-debb1f09a1d44c72b1a8c4c34d0408f991a3947b.tar.gz
gdb-debb1f09a1d44c72b1a8c4c34d0408f991a3947b.tar.bz2
Add ravenscar-thread support for powerpc.
gdb/ChangeLog: * ppc-ravenscar-thread.h, ppc-ravenscar-thread.c: New files. * Makefile.in (ALL_TARGET_OBS): Add ppc-ravenscar-thread.o. (HFILES_NO_SRCDIR): Add ppc-ravenscar-thread.h. (ALLDEPFILES): Add ppc-ravenscar-thread.c. * configure.tgt: Add ravenscar-thread.o and ppc-ravenscar-thread.o to gdb_target_obs for every target that uses rs6000-tdep.o. * rs6000-tdep.c: #include "ppc-ravenscar-thread.h". (rs6000_gdbarch_init): Call register_e500_ravenscar_ops or register_ppc_ravenscar_ops.
Diffstat (limited to 'gdb/ppc-ravenscar-thread.h')
-rw-r--r--gdb/ppc-ravenscar-thread.h29
1 files changed, 29 insertions, 0 deletions
diff --git a/gdb/ppc-ravenscar-thread.h b/gdb/ppc-ravenscar-thread.h
new file mode 100644
index 0000000..d2a3d0c
--- /dev/null
+++ b/gdb/ppc-ravenscar-thread.h
@@ -0,0 +1,29 @@
+/* Ravenscar PowerPC target support.
+
+ Copyright 2012 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 PPC_RAVENSCAR_THREAD_H
+#define PPC_RAVENSCAR_THREAD_H
+
+struct gdbarch;
+
+extern void register_ppc_ravenscar_ops (struct gdbarch *gdbarch);
+
+extern void register_e500_ravenscar_ops (struct gdbarch *gdbarch);
+
+#endif