summaryrefslogtreecommitdiff
path: root/bfd/sco5-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
commit1aee5ae112ca22339de39fceaeb723cb3f523fe5 (patch)
tree52e58bfc980e6c361ab2b5ef87484e8a5c02a357 /bfd/sco5-core.c
parentc6345a9bb442814140111d4ec5ed6fef1c8cba14 (diff)
downloadbinutils-redhat-1aee5ae112ca22339de39fceaeb723cb3f523fe5.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/sco5-core.c')
-rw-r--r--bfd/sco5-core.c11
1 files changed, 1 insertions, 10 deletions
diff --git a/bfd/sco5-core.c b/bfd/sco5-core.c
index d10dbfa9d3..9a06b8839f 100644
--- a/bfd/sco5-core.c
+++ b/bfd/sco5-core.c
@@ -49,8 +49,7 @@ static struct user *read_uarea PARAMS ((bfd *, int));
const bfd_target *sco5_core_file_p PARAMS ((bfd *abfd));
char *sco5_core_file_failing_command PARAMS ((bfd *abfd));
int sco5_core_file_failing_signal PARAMS ((bfd *abfd));
-bfd_boolean sco5_core_file_matches_executable_p
- PARAMS ((bfd *core_bfd, bfd *exec_bfd));
+#define sco5_core_file_matches_executable_p generic_core_file_matches_executable_p
static void swap_abort PARAMS ((void));
static asection *
@@ -345,14 +344,6 @@ sco5_core_file_failing_signal (ignore_abfd)
: -1);
}
-bfd_boolean
-sco5_core_file_matches_executable_p (core_bfd, exec_bfd)
- bfd *core_bfd ATTRIBUTE_UNUSED;
- bfd *exec_bfd ATTRIBUTE_UNUSED;
-{
- return TRUE; /* FIXME, We have no way of telling at this point */
-}
-
/* If somebody calls any byte-swapping routines, shoot them. */
static void
swap_abort ()