diff options
author | Alan Modra <amodra@bigpond.net.au> | 2005-12-24 08:37:38 +0000 |
---|---|---|
committer | Alan Modra <amodra@bigpond.net.au> | 2005-12-24 08:37:38 +0000 |
commit | 564a61ce9e3b260d5735306194721cc80af3d6f0 (patch) | |
tree | 860e42f2219c928cf503df51d31289831784b4c5 /bfd/aix5ppc-core.c | |
parent | 49ee59436505926e9724febb297e95446e1aacf1 (diff) | |
download | gdb-564a61ce9e3b260d5735306194721cc80af3d6f0.tar.gz |
* aix5ppc-core.c: Remove duplicate prototypes.
(xcoff64_core_file_matches_executable_p): Provide implementation
for !AIX_5_CORE.
* corefile.c (generic_core_file_matches_executable_p): Correct
syntax error in prototype.
* libbfd-in.h (generic_core_file_matches_executable_p): Delete.
* libbfd.h: Regenerate.
* bfd-in2.h: Regenerate.
Diffstat (limited to 'bfd/aix5ppc-core.c')
-rw-r--r-- | bfd/aix5ppc-core.c | 21 |
1 files changed, 11 insertions, 10 deletions
diff --git a/bfd/aix5ppc-core.c b/bfd/aix5ppc-core.c index ff58bf38def..ee2a223d9e5 100644 --- a/bfd/aix5ppc-core.c +++ b/bfd/aix5ppc-core.c @@ -23,16 +23,16 @@ #include "bfd.h" -#ifdef AIX_5_CORE - -#include "sysdep.h" -#include "libbfd.h" - const bfd_target *xcoff64_core_p (bfd *); bfd_boolean xcoff64_core_file_matches_executable_p (bfd *, bfd *); char *xcoff64_core_file_failing_command (bfd *); int xcoff64_core_file_failing_signal (bfd *); +#ifdef AIX_5_CORE + +#include "sysdep.h" +#include "libbfd.h" + /* Aix 5.1 system include file. */ /* Need to define this macro so struct ld_info64 get included. */ @@ -318,11 +318,6 @@ xcoff64_core_file_failing_signal (bfd *abfd) #else /* AIX_5_CORE */ -const bfd_target *xcoff64_core_p (bfd *); -#define xcoff64_core_file_matches_executable_p generic_core_file_matches_executable_p -char *xcoff64_core_file_failing_command (bfd *); -int xcoff64_core_file_failing_signal (bfd *); - const bfd_target * xcoff64_core_p (bfd *abfd ATTRIBUTE_UNUSED) { @@ -330,6 +325,12 @@ xcoff64_core_p (bfd *abfd ATTRIBUTE_UNUSED) return 0; } +bfd_boolean +xcoff64_core_file_matches_executable_p (bfd *core_bfd, bfd *exec_bfd) +{ + return generic_core_file_matches_executable_p (core_bfd, exec_bfd); +} + char * xcoff64_core_file_failing_command (bfd *abfd ATTRIBUTE_UNUSED) { |