diff options
author | Ian Lance Taylor <ian@airs.com> | 1993-11-30 21:56:40 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 1993-11-30 21:56:40 +0000 |
commit | dabfe2f6655b5a977fb70ab32cbe0810c9dc4698 (patch) | |
tree | 66658fba724d60a0d1fb959e33f0dfcf6928bfcf /bfd | |
parent | bed5e19f10d82c2395e6fb1d24fd3178a812cd78 (diff) | |
download | gdb-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')
-rw-r--r-- | bfd/Makefile.in | 11 | ||||
-rw-r--r-- | bfd/targets.c | 9 |
2 files changed, 18 insertions, 2 deletions
diff --git a/bfd/Makefile.in b/bfd/Makefile.in index 57b8708..dbb4651 100644 --- a/bfd/Makefile.in +++ b/bfd/Makefile.in @@ -178,9 +178,9 @@ BFD64_BACKENDS = \ OPTIONAL_BACKENDS = \ aix386-core.o \ hpux-core.o \ + irix-core.o \ lynx-core.o \ osf-core.o \ - sco-core.o \ trad-core.o # These are defined by configure.in: @@ -233,7 +233,8 @@ CFILES = libbfd.c opncls.c bfd.c archive.c targets.c cache.c \ coff-alpha.c cpu-alpha.c \ hp300bsd.c hp300hpux.c \ i386lynx.c cf-i386lynx.c m68klynx.c cf-m68klynx.c \ - sparclynx.c cf-sparclynx.c + sparclynx.c cf-sparclynx.c aix386-core.c hpux-core.c \ + irix-core.c lynx-core.c osf-core.c HFILES = aout-target.h aoutf1.h aoutx.h coffcode.h \ coffswap.h ecoffswap.h elf32-hppa.h elf32-target.h elf64-target.h \ @@ -681,5 +682,11 @@ sparclynx.o : sparclynx.c $(INCDIR)/aout/sun4.h libaout.h \ cf-sparclynx.o : cf-sparclynx.c coff-sparc.c $(INCDIR)/coff/sparc.h \ $(INCDIR)/coff/internal.h libcoff.h coffcode.h seclet.h \ coffswap.h +aix386-core.o : aix386-core.c $(INCDIR)/coff/i386.h \ + $(INCDIR)/coff/internal.h libcoff.h +hpux-core.o : hpux-core.c +irix-core.o : irix-core.c +lynx-core.o : lynx-core.c +osf-core.o : osf-core.c # IF YOU PUT ANYTHING HERE IT WILL GO AWAY 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 */ }; |