Initial import from FreeBSD RELENG_4:
[dragonfly.git] / contrib / binutils / bfd / doc / core.texi
1 @section Core files
2
3
4 @strong{Description}@*
5 These 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
11 const char *bfd_core_file_failing_command(bfd *abfd);
12 @end example
13 @strong{Description}@*
14 Return a read-only string explaining which program was running
15 when 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
21 int bfd_core_file_failing_signal(bfd *abfd);
22 @end example
23 @strong{Description}@*
24 Returns the signal number which caused the core dump which
25 generated 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
31 boolean core_file_matches_executable_p
32    (bfd *core_bfd, bfd *exec_bfd);
33 @end example
34 @strong{Description}@*
35 Return @code{true} if the core file attached to @var{core_bfd}
36 was generated by a run of the executable file attached to
37 @var{exec_bfd}, @code{false} otherwise.
38