aboutsummaryrefslogtreecommitdiff
path: root/bfd/targets.c
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1993-11-30 21:56:40 +0000
committerIan Lance Taylor <ian@airs.com>1993-11-30 21:56:40 +0000
commitdabfe2f6655b5a977fb70ab32cbe0810c9dc4698 (patch)
tree66658fba724d60a0d1fb959e33f0dfcf6928bfcf /bfd/targets.c
parentbed5e19f10d82c2395e6fb1d24fd3178a812cd78 (diff)
downloadgdb-dabfe2f6655b5a977fb70ab32cbe0810c9dc4698.zip
gdb-dabfe2f6655b5a977fb70ab32cbe0810c9dc4698.tar.gz
gdb-dabfe2f6655b5a977fb70ab32cbe0810c9dc4698.tar.bz2
* irix-core.c: New file for Irix 4 and Irix 5 core support.
Functions taken out of coff-mips.c. Handle vmap type VMAPFILE. * coff-mips.c: Irix 4 core file support moved to irix-core.c. * targets.c: If IRIX_CORE defined, include irix_core_vec in target_vector. * config/irix4.mh (HDEFINES): Add -DIRIX_CORE. (HDEPFILES): Define to be irix-core.o. * config/irix5.mh (HDEFINES): Define to be -DIRIX_CORE. (HDEPFILES): Define to be irix-core.o. * Makefile.in (OPTIONAL_BACKENDS): Added irix-core.o. Removed sco-core.o, which no longer exists. (CFILES): Added all *-core.c files. Rebuilt dependencies.
Diffstat (limited to 'bfd/targets.c')
-rw-r--r--bfd/targets.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/bfd/targets.c b/bfd/targets.c
index 53acd13..4023e4f 100644
--- a/bfd/targets.c
+++ b/bfd/targets.c
@@ -397,9 +397,11 @@ extern bfd_target symbolsrec_vec;
extern bfd_target aix386_core_vec;
extern bfd_target hpux_core_vec;
extern bfd_target hppabsd_core_vec;
+extern bfd_target irix_core_vec;
extern bfd_target osf_core_vec;
extern bfd_target sco_core_vec;
extern bfd_target trad_core_vec;
+extern bfd_target ptrace_core_vec;
bfd_target *target_vector[] = {
@@ -535,6 +537,9 @@ bfd_target *target_vector[] = {
#ifdef HPPABSD_CORE
&hppabsd_core_vec,
#endif
+#ifdef IRIX_CORE
+ &irix_core_vec,
+#endif
#ifdef OSF_CORE
&osf_core_vec,
#endif
@@ -542,6 +547,10 @@ bfd_target *target_vector[] = {
&trad_core_vec,
#endif
+#ifdef PTRACE_CORE
+ &ptrace_core_vec,
+#endif
+
NULL /* end of list marker */
};