summaryrefslogtreecommitdiff
path: root/bfd/hppabsd-core.c
diff options
context:
space:
mode:
authorJoel Brobecker <brobecker@gnat.com>2005-12-23 10:19:40 +0000
committerJoel Brobecker <brobecker@gnat.com>2005-12-23 10:19:40 +0000
commit69d246d9338a35e64b2244835ac6e77164be668a (patch)
tree65c68c432493e0ca357e69aada00e2ab901b8e57 /bfd/hppabsd-core.c
parent97938b6077335c1514876a2a0199ad4a92167537 (diff)
downloadbinutils-gdb-69d246d9338a35e64b2244835ac6e77164be668a.tar.gz
* corefile.c (generic_core_file_matches_executable_p): New function.
* libbfd-in.h (generic_core_file_matches_executable_p): Add declaration. * libbfd.h: Regenerate. * hpux-core.c: ANSIfy function declarations and prototypes. (thread_section_p): Manually expand bfd_section_name macro to make it clear that parameter ABFD is not used. (hpux_core_core_file_matches_executable_p): Delete, replaced by macro pointing to generic_core_file_matches_executable_p. * aix386-core.c: Replace core_file_matches_executable_p null implementation by generic_core_file_matches_executable_p by using a macro. * aix5ppc-core.c: Likewise. * cisco-core.c: Likewise. * hppabsd-core.c: Likewise. * irix-core.c: Likewise. * lynx-core.c: Likewise. * mach-o.c: Likewise. * netbsd-core.c: Likewise. * osf-core.c: Likewise. * ptrace-core.c: Likewise. * sco5-core.c: Likewise. * trad-core.c: Likewise.
Diffstat (limited to 'bfd/hppabsd-core.c')
-rw-r--r--bfd/hppabsd-core.c11
1 files changed, 1 insertions, 10 deletions
diff --git a/bfd/hppabsd-core.c b/bfd/hppabsd-core.c
index 894d244bbc3..67627e7a666 100644
--- a/bfd/hppabsd-core.c
+++ b/bfd/hppabsd-core.c
@@ -57,8 +57,7 @@ static char *hppabsd_core_core_file_failing_command
PARAMS ((bfd *));
static int hppabsd_core_core_file_failing_signal
PARAMS ((bfd *));
-static bfd_boolean hppabsd_core_core_file_matches_executable_p
- PARAMS ((bfd *, bfd *));
+#define hppabsd_core_core_file_matches_executable_p generic_core_file_matches_executable_p
static void swap_abort
PARAMS ((void));
@@ -217,14 +216,6 @@ hppabsd_core_core_file_failing_signal (abfd)
{
return core_signal (abfd);
}
-
-static bfd_boolean
-hppabsd_core_core_file_matches_executable_p (core_bfd, exec_bfd)
- bfd *core_bfd, *exec_bfd;
-{
- /* There's no way to know this... */
- return TRUE;
-}
/* If somebody calls any byte-swapping routines, shoot them. */
static void