From 1aee5ae112ca22339de39fceaeb723cb3f523fe5 Mon Sep 17 00:00:00 2001 From: Joel Brobecker Date: Fri, 23 Dec 2005 10:19:40 +0000 Subject: * 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. --- bfd/aix386-core.c | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'bfd/aix386-core.c') diff --git a/bfd/aix386-core.c b/bfd/aix386-core.c index 3f0a27dccd..17a0290e35 100644 --- a/bfd/aix386-core.c +++ b/bfd/aix386-core.c @@ -204,14 +204,7 @@ aix386_core_file_failing_signal (abfd) return core_hdr (abfd)->cd_cursig; } -static bfd_boolean -aix386_core_file_matches_executable_p (core_bfd, exec_bfd) - bfd *core_bfd; - bfd *exec_bfd; -{ - /* FIXME: We have no way of telling at this point. */ - return TRUE; -} +#define aix386_core_file_matches_executable_p generic_core_file_matches_executable_p /* If somebody calls any byte-swapping routines, shoot them. */ -- cgit v1.2.1