diff options
author | Joel Brobecker <brobecker@gnat.com> | 2012-12-18 14:52:59 +0000 |
---|---|---|
committer | Joel Brobecker <brobecker@gnat.com> | 2012-12-18 14:52:59 +0000 |
commit | d5367fe16e4948e9480e49302ab350d9a9c14a50 (patch) | |
tree | 0706d0cf8090c15a8647b54b7e9f9363a6257e3d /gdb/configure.tgt | |
parent | 8d708c8cad07b1d961c7d0a30040116d79134e92 (diff) | |
download | gdb-d5367fe16e4948e9480e49302ab350d9a9c14a50.zip gdb-d5367fe16e4948e9480e49302ab350d9a9c14a50.tar.gz gdb-d5367fe16e4948e9480e49302ab350d9a9c14a50.tar.bz2 |
Port GDB to powerpc-lynx178.
gdb/ChangeLog:
* defs.h (enum gdb_osabi): Add GDB_OSABI_LYNXOS178.
* osabi.c (gdb_osabi_names): Add entry for GDB_OSABI_LYNXOS178.
* xcoffread.c (xcoff_get_core_n_import_files): New function.
(xcoff_get_n_import_files): New function.
* xcoffread.h (xcoffread.h): Add declaration.
* rs6000-aix-tdep.c: #include "xcoffread.h".
(rs6000_aix_osabi_sniffer): Do not return GDB_OSABI_AIX for
XCOFF executables that do not depend on any shared library.
* rs6000-lynx178-tdep.c: New file.
* configure.tgt: Add powerpc-*-lynx*178 handling.
* Makefile.in (ALL_TARGET_OBS): Add rs6000-lynx178-tdep.o.
(ALLDEPFILES): Add rs6000-lynx178-tdep.c.
Diffstat (limited to 'gdb/configure.tgt')
-rw-r--r-- | gdb/configure.tgt | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gdb/configure.tgt b/gdb/configure.tgt index 6aa2dfd..5b77bb2 100644 --- a/gdb/configure.tgt +++ b/gdb/configure.tgt @@ -411,6 +411,12 @@ powerpc-*-linux* | powerpc64-*-linux*) gdb_sim=../sim/ppc/libsim.a build_gdbserver=yes ;; +powerpc-*-lynx*178) + # Target: PowerPC running Lynx178. + gdb_target_obs="rs6000-tdep.o rs6000-lynx178-tdep.o \ + xcoffread.o monitor.o dsrec.o ppc-sysv-tdep.o \ + ravenscar-thread.o ppc-ravenscar-thread.o" + ;; powerpc*-*-*) # Target: PowerPC running eabi gdb_target_obs="rs6000-tdep.o monitor.o dsrec.o ppcbug-rom.o \ |