Port GDB to powerpc-lynx178.
authorJoel Brobecker <brobecker@gnat.com>
Tue, 18 Dec 2012 14:52:59 +0000 (14:52 +0000)
committerJoel Brobecker <brobecker@gnat.com>
Tue, 18 Dec 2012 14:52:59 +0000 (14:52 +0000)
commitd5367fe16e4948e9480e49302ab350d9a9c14a50
tree0706d0cf8090c15a8647b54b7e9f9363a6257e3d
parent8d708c8cad07b1d961c7d0a30040116d79134e92
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.
gdb/ChangeLog
gdb/Makefile.in
gdb/configure.tgt
gdb/defs.h
gdb/osabi.c
gdb/rs6000-aix-tdep.c
gdb/rs6000-lynx178-tdep.c [new file with mode: 0644]
gdb/xcoffread.c
gdb/xcoffread.h