summaryrefslogtreecommitdiff
path: root/bfd/mach-o.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
commitc0d48a1432f33fd6bb10df421120489f5f54e60f (patch)
treefc446c9368989c5096e3764f6fbb6e57e11713bb /bfd/mach-o.c
parent78e7506b48c370aa56d92f07a60adc3a7974743b (diff)
downloadgdb-c0d48a1432f33fd6bb10df421120489f5f54e60f.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/mach-o.c')
-rw-r--r--bfd/mach-o.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/bfd/mach-o.c b/bfd/mach-o.c
index 6991612f07c..03a714495bb 100644
--- a/bfd/mach-o.c
+++ b/bfd/mach-o.c
@@ -75,6 +75,7 @@
#define bfd_mach_o_bfd_discard_group bfd_generic_discard_group
#define bfd_mach_o_section_already_linked _bfd_generic_section_already_linked
#define bfd_mach_o_bfd_copy_private_header_data _bfd_generic_bfd_copy_private_header_data
+#define bfd_mach_o_core_file_matches_executable_p generic_core_file_matches_executable_p
/* The flags field of a section structure is separated into two parts a section
@@ -1993,13 +1994,6 @@ bfd_mach_o_core_file_failing_signal (bfd *abfd ATTRIBUTE_UNUSED)
return 0;
}
-bfd_boolean
-bfd_mach_o_core_file_matches_executable_p (bfd *core_bfd ATTRIBUTE_UNUSED,
- bfd *exec_bfd ATTRIBUTE_UNUSED)
-{
- return TRUE;
-}
-
#define TARGET_NAME mach_o_be_vec
#define TARGET_STRING "mach-o-be"
#define TARGET_BIG_ENDIAN 1