[RFA/commit] Port GDB to powerpc-lynx178.
Joel Brobecker
brobecker@adacore.com
Tue Dec 18 15:00:00 GMT 2012
> This patch adds support for ppc-lynx178. Still missing is NEWS
> entry, which I will provide tomorrow (too tired tonight).
Attached is the patch I checked in, after having applied Tom's
and Yao's comments.
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.
Tested on ppc-lynx178 again.
Cheers,
--
Joel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Port-GDB-to-powerpc-lynx178.patch
Type: text/x-diff
Size: 21059 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/gdb-patches/attachments/20121218/d2f6668b/attachment.bin>
More information about the Gdb-patches
mailing list