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 | debb1f09a1d44c72b1a8c4c34d0408f991a3947b (patch) | |
tree | 5e5dcb27a511fee4a43f7029f9a308180e03581f /gdb/configure.tgt | |
parent | c16998a76c35561d1213cd8d0c44e76350d84529 (diff) | |
download | gdb-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/configure.tgt')
-rw-r--r-- | gdb/configure.tgt | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/gdb/configure.tgt b/gdb/configure.tgt index 856b998..d0c59b5 100644 --- a/gdb/configure.tgt +++ b/gdb/configure.tgt @@ -386,31 +386,36 @@ mt-*-*) powerpc-*-netbsd* | powerpc-*-knetbsd*-gnu) # Target: NetBSD/powerpc gdb_target_obs="rs6000-tdep.o ppc-sysv-tdep.o ppcnbsd-tdep.o \ - solib-svr4.o" + solib-svr4.o \ + ravenscar-thread.o ppc-ravenscar-thread.o" gdb_sim=../sim/ppc/libsim.a ;; powerpc-*-openbsd*) # Target: OpenBSD/powerpc gdb_target_obs="rs6000-tdep.o ppc-sysv-tdep.o ppcobsd-tdep.o \ - solib-svr4.o" + solib-svr4.o \ + ravenscar-thread.o ppc-ravenscar-thread.o" ;; powerpc-*-aix* | rs6000-*-*) # Target: PowerPC running AIX gdb_target_obs="rs6000-tdep.o rs6000-aix-tdep.o xcoffread.o \ - ppc-sysv-tdep.o solib-svr4.o" + ppc-sysv-tdep.o solib-svr4.o \ + ravenscar-thread.o ppc-ravenscar-thread.o" ;; powerpc-*-linux* | powerpc64-*-linux*) # Target: PowerPC running Linux gdb_target_obs="rs6000-tdep.o ppc-linux-tdep.o ppc-sysv-tdep.o \ solib-svr4.o solib-spu.o spu-multiarch.o \ - glibc-tdep.o symfile-mem.o linux-tdep.o" + glibc-tdep.o symfile-mem.o linux-tdep.o \ + ravenscar-thread.o ppc-ravenscar-thread.o" gdb_sim=../sim/ppc/libsim.a build_gdbserver=yes ;; powerpc*-*-*) # Target: PowerPC running eabi gdb_target_obs="rs6000-tdep.o monitor.o dsrec.o ppcbug-rom.o \ - dink32-rom.o ppc-sysv-tdep.o solib-svr4.o" + dink32-rom.o ppc-sysv-tdep.o solib-svr4.o \ + ravenscar-thread.o ppc-ravenscar-thread.o" if test -f ../sim/ppc/Makefile; then gdb_sim=../sim/ppc/libsim.a fi |