diff options
author | Joel Brobecker <brobecker@gnat.com> | 2012-12-15 14:30:18 +0000 |
---|---|---|
committer | Joel Brobecker <brobecker@gnat.com> | 2012-12-15 14:30:18 +0000 |
commit | 8238065d9365d308a0fe2ef90fbfb11a9d7db663 (patch) | |
tree | 88517ca54ffc41cf17e59e8ae30d1a0fe3ab8577 /gdb/ppc-ravenscar-thread.h | |
parent | 5e544fa49987faeee1a5d8e4e8685fcaee7be94b (diff) | |
download | gdb-8238065d9365d308a0fe2ef90fbfb11a9d7db663.tar.gz |
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.h | 29 |
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 00000000000..d2a3d0c0145 --- /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 |