* corefile.c (generic_core_file_matches_executable_p): New function.
commit1aee5ae112ca22339de39fceaeb723cb3f523fe5
authorJoel Brobecker <brobecker@gnat.com>
Fri, 23 Dec 2005 10:19:40 +0000 (23 10:19 +0000)
committerJoel Brobecker <brobecker@gnat.com>
Fri, 23 Dec 2005 10:19:40 +0000 (23 10:19 +0000)
tree52e58bfc980e6c361ab2b5ef87484e8a5c02a357
parentc6345a9bb442814140111d4ec5ed6fef1c8cba14
    * 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.
17 files changed:
bfd/ChangeLog
bfd/aix386-core.c
bfd/aix5ppc-core.c
bfd/cisco-core.c
bfd/corefile.c
bfd/hppabsd-core.c
bfd/hpux-core.c
bfd/irix-core.c
bfd/libbfd-in.h
bfd/libbfd.h
bfd/lynx-core.c
bfd/mach-o.c
bfd/netbsd-core.c
bfd/osf-core.c
bfd/ptrace-core.c
bfd/sco5-core.c
bfd/trad-core.c