xref: /openbsd/gnu/usr.bin/binutils/bfd/doc/core.texi (revision 133306f0)
1@section Core files
2
3
4@strong{Description}@*
5These are functions pertaining to core files.
6
7@findex bfd_core_file_failing_command
8@subsubsection @code{bfd_core_file_failing_command}
9@strong{Synopsis}
10@example
11CONST char *bfd_core_file_failing_command(bfd *abfd);
12@end example
13@strong{Description}@*
14Return a read-only string explaining which program was running
15when it failed and produced the core file @var{abfd}.
16
17@findex bfd_core_file_failing_signal
18@subsubsection @code{bfd_core_file_failing_signal}
19@strong{Synopsis}
20@example
21int bfd_core_file_failing_signal(bfd *abfd);
22@end example
23@strong{Description}@*
24Returns the signal number which caused the core dump which
25generated the file the BFD @var{abfd} is attached to.
26
27@findex core_file_matches_executable_p
28@subsubsection @code{core_file_matches_executable_p}
29@strong{Synopsis}
30@example
31boolean core_file_matches_executable_p
32   (bfd *core_bfd, bfd *exec_bfd);
33@end example
34@strong{Description}@*
35Return @code{true} if the core file attached to @var{core_bfd}
36was generated by a run of the executable file attached to
37@var{exec_bfd}, @code{false} otherwise.
38
39