diff options
author | Tristan Gingold <gingold@adacore.com> | 2009-10-16 12:07:05 +0000 |
---|---|---|
committer | Tristan Gingold <gingold@adacore.com> | 2009-10-16 12:07:05 +0000 |
commit | f195a4076f78b60965b4b95561c76d743fe7e1c7 (patch) | |
tree | b2abbe091d5fdaa704782032b2bd6fa34e4955c1 /bfd/doc/core.texi | |
parent | cac3e5cb8a913cc8e56d9088433eba6065106b33 (diff) | |
download | gdb-f195a4076f78b60965b4b95561c76d743fe7e1c7.zip gdb-f195a4076f78b60965b4b95561c76d743fe7e1c7.tar.gz gdb-f195a4076f78b60965b4b95561c76d743fe7e1c7.tar.bz2 |
bfd/binutils-2_20
2009-10-16 Tristan Gingold <gingold@adacore.com>
* configure.in: Bump version to 2.20
* Makefile.am (RELEASE): Set.
* configure, Makefile.in: Regenerate.
Diffstat (limited to 'bfd/doc/core.texi')
-rw-r--r-- | bfd/doc/core.texi | 60 |
1 files changed, 60 insertions, 0 deletions
diff --git a/bfd/doc/core.texi b/bfd/doc/core.texi new file mode 100644 index 0000000..1f09445 --- /dev/null +++ b/bfd/doc/core.texi @@ -0,0 +1,60 @@ +@section Core files + + +@subsection Core file functions + + +@strong{Description}@* +These are functions pertaining to core files. + +@findex bfd_core_file_failing_command +@subsubsection @code{bfd_core_file_failing_command} +@strong{Synopsis} +@example +const char *bfd_core_file_failing_command (bfd *abfd); +@end example +@strong{Description}@* +Return a read-only string explaining which program was running +when it failed and produced the core file @var{abfd}. + +@findex bfd_core_file_failing_signal +@subsubsection @code{bfd_core_file_failing_signal} +@strong{Synopsis} +@example +int bfd_core_file_failing_signal (bfd *abfd); +@end example +@strong{Description}@* +Returns the signal number which caused the core dump which +generated the file the BFD @var{abfd} is attached to. + +@findex core_file_matches_executable_p +@subsubsection @code{core_file_matches_executable_p} +@strong{Synopsis} +@example +bfd_boolean core_file_matches_executable_p + (bfd *core_bfd, bfd *exec_bfd); +@end example +@strong{Description}@* +Return @code{TRUE} if the core file attached to @var{core_bfd} +was generated by a run of the executable file attached to +@var{exec_bfd}, @code{FALSE} otherwise. + +@findex generic_core_file_matches_executable_p +@subsubsection @code{generic_core_file_matches_executable_p} +@strong{Synopsis} +@example +bfd_boolean generic_core_file_matches_executable_p + (bfd *core_bfd, bfd *exec_bfd); +@end example +@strong{Description}@* +Return TRUE if the core file attached to @var{core_bfd} +was generated by a run of the executable file attached +to @var{exec_bfd}. The match is based on executable +basenames only. + +Note: When not able to determine the core file failing +command or the executable name, we still return TRUE even +though we're not sure that core file and executable match. +This is to avoid generating a false warning in situations +where we really don't know whether they match or not. + |