aboutsummaryrefslogtreecommitdiff
path: root/gdb/xcoffread.h
diff options
context:
space:
mode:
authorJoel Brobecker <brobecker@gnat.com>2012-12-18 14:52:59 +0000
committerJoel Brobecker <brobecker@gnat.com>2012-12-18 14:52:59 +0000
commitd5367fe16e4948e9480e49302ab350d9a9c14a50 (patch)
tree0706d0cf8090c15a8647b54b7e9f9363a6257e3d /gdb/xcoffread.h
parent8d708c8cad07b1d961c7d0a30040116d79134e92 (diff)
downloadgdb-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/xcoffread.h')
-rw-r--r--gdb/xcoffread.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gdb/xcoffread.h b/gdb/xcoffread.h
index 3df08ee..86e1d07 100644
--- a/gdb/xcoffread.h
+++ b/gdb/xcoffread.h
@@ -21,4 +21,6 @@
extern CORE_ADDR xcoff_get_toc_offset (struct objfile *);
+extern int xcoff_get_n_import_files (bfd *abfd);
+
#endif /* xcoffread.h */