aboutsummaryrefslogtreecommitdiff
path: root/contrib/binutils/bfd/doc/core.texi
diff options
context:
space:
mode:
authorDimitry Andric <dim@FreeBSD.org>2010-10-21 19:11:14 +0000
committerDimitry Andric <dim@FreeBSD.org>2010-10-21 19:11:14 +0000
commitdfd2f2d4bbb5f23cd14bca63b73779ffbac5c0f5 (patch)
tree506464413c40d2c6a4a46d04892a9415cb886522 /contrib/binutils/bfd/doc/core.texi
parentae36f9474fd730d29afb8b25c92dba33dedf7480 (diff)
parent7a815afd9b5121ee0f65dc1e1de1c0de6de97679 (diff)
Merge ^vendor/binutils/dist@214082 into contrib/binutils.
Notes
Notes: svn path=/projects/binutils-2.17/; revision=214157
Diffstat (limited to 'contrib/binutils/bfd/doc/core.texi')
-rw-r--r--contrib/binutils/bfd/doc/core.texi22
1 files changed, 22 insertions, 0 deletions
diff --git a/contrib/binutils/bfd/doc/core.texi b/contrib/binutils/bfd/doc/core.texi
index e45759cf647b..1f09445ef76d 100644
--- a/contrib/binutils/bfd/doc/core.texi
+++ b/contrib/binutils/bfd/doc/core.texi
@@ -1,6 +1,9 @@
@section Core files
+@subsection Core file functions
+
+
@strong{Description}@*
These are functions pertaining to core files.
@@ -36,3 +39,22 @@ 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.
+