aboutsummaryrefslogtreecommitdiff
path: root/bfd/hppa.c
diff options
context:
space:
mode:
authorJim Kingdon <jkingdon@engr.sgi.com>1993-07-14 20:35:18 +0000
committerJim Kingdon <jkingdon@engr.sgi.com>1993-07-14 20:35:18 +0000
commit89c789f6fa49b800eb15235e33d608d567146ae0 (patch)
tree37a405f84085194f6a9efaadd4001ef1112a5349 /bfd/hppa.c
parent85051959f4b156350cb8fcb4c08db004950f3ea1 (diff)
downloadgdb-89c789f6fa49b800eb15235e33d608d567146ae0.zip
gdb-89c789f6fa49b800eb15235e33d608d567146ae0.tar.gz
gdb-89c789f6fa49b800eb15235e33d608d567146ae0.tar.bz2
* hppa.c [HOST_HPPABSD]: Use hpux-style core files.
* libhppa.h [HOST_HPPABSD]: Include hpux version of core.h
Diffstat (limited to 'bfd/hppa.c')
-rw-r--r--bfd/hppa.c16
1 files changed, 4 insertions, 12 deletions
diff --git a/bfd/hppa.c b/bfd/hppa.c
index d808fd6..888c78e 100644
--- a/bfd/hppa.c
+++ b/bfd/hppa.c
@@ -535,7 +535,9 @@ make_bfd_asection (abfd, name, flags, _raw_size, vma, alignment_power)
return asect;
}
-#ifdef HOST_HPPAHPUX
+#if defined (HOST_HPPAHPUX) || defined (HOST_HPPABSD)
+/* This requires system include files. */
+
static bfd_target *
hppa_core_file_p (abfd)
bfd *abfd;
@@ -635,7 +637,7 @@ hppa_core_file_matches_executable_p (core_bfd, exec_bfd)
return true; /* FIXME, We have no way of telling at this point */
}
-#endif /* HOST_HPPAHPUX */
+#endif /* HPUX or BSD. */
/* Miscellaneous Support Functions -- Control Structures and Functions
for the PA. */
@@ -1010,16 +1012,6 @@ hppa_get_symbol_info (ignore_abfd, symbol, ret)
/* End of miscellaneous support functions. */
-#ifdef HOST_HPPABSD
-/* All the core file code for BSD needs to be rewritten cleanly. For
- now we do not support core files under BSD. */
-
-#define hppa_core_file_p _bfd_dummy_target
-#define hppa_core_file_failing_command _bfd_dummy_core_file_failing_command
-#define hppa_core_file_failing_signal _bfd_dummy_core_file_failing_signal
-#define hppa_core_file_matches_executable_p _bfd_dummy_core_file_matches_executable_p
-#endif /* HOST_HPPABSD */
-
#define hppa_bfd_debug_info_start bfd_void
#define hppa_bfd_debug_info_end bfd_void
#define hppa_bfd_debug_info_accumulate (PROTO(void,(*),(bfd*, struct sec *))) bfd_void