diff options
author | Joel Brobecker <brobecker@gnat.com> | 2005-12-23 10:19:40 +0000 |
---|---|---|
committer | Joel Brobecker <brobecker@gnat.com> | 2005-12-23 10:19:40 +0000 |
commit | 69d246d9338a35e64b2244835ac6e77164be668a (patch) | |
tree | 65c68c432493e0ca357e69aada00e2ab901b8e57 /bfd/ptrace-core.c | |
parent | 97938b6077335c1514876a2a0199ad4a92167537 (diff) | |
download | binutils-gdb-69d246d9338a35e64b2244835ac6e77164be668a.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/ptrace-core.c')
-rw-r--r-- | bfd/ptrace-core.c | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/bfd/ptrace-core.c b/bfd/ptrace-core.c index 4ddd54ca8c1..4ac28aa1dec 100644 --- a/bfd/ptrace-core.c +++ b/bfd/ptrace-core.c @@ -51,8 +51,7 @@ struct trad_core_struct const bfd_target *ptrace_unix_core_file_p PARAMS ((bfd *abfd)); char * ptrace_unix_core_file_failing_command PARAMS ((bfd *abfd)); int ptrace_unix_core_file_failing_signal PARAMS ((bfd *abfd)); -bfd_boolean ptrace_unix_core_file_matches_executable_p - PARAMS ((bfd *core_bfd, bfd *exec_bfd)); +#define ptrace_unix_core_file_matches_executable_p generic_core_file_matches_executable_p static void swap_abort PARAMS ((void)); const bfd_target * @@ -151,15 +150,6 @@ ptrace_unix_core_file_failing_signal (abfd) { return abfd->tdata.trad_core_data->u.pt_sigframe.sig_num; } - -bfd_boolean -ptrace_unix_core_file_matches_executable_p (core_bfd, exec_bfd) - bfd *core_bfd, *exec_bfd; -{ - /* FIXME: Use pt_timdat field of the ptrace_user structure to match - the date of the executable */ - return TRUE; -} /* If somebody calls any byte-swapping routines, shoot them. */ static void |