mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-28 23:39:35 +08:00
Update the description of the bfd_fill_in_gnu_debuglink_section function
This commit is contained in:
@ -1,3 +1,8 @@
|
|||||||
|
2023-02-21 Nick Clifton <nickc@redhat.com>
|
||||||
|
|
||||||
|
* opncls.c (bfd_fill_in_gnu_debuglink_section): Update
|
||||||
|
description.
|
||||||
|
|
||||||
2023-02-17 Tom Tromey <tom@tromey.com>
|
2023-02-17 Tom Tromey <tom@tromey.com>
|
||||||
|
|
||||||
* doc/doc.str (FUNCTION): Call func.
|
* doc/doc.str (FUNCTION): Call func.
|
||||||
|
11
bfd/opncls.c
11
bfd/opncls.c
@ -1706,8 +1706,8 @@ SYNOPSIS
|
|||||||
DESCRIPTION
|
DESCRIPTION
|
||||||
Takes a @var{BFD} and containing a .gnu_debuglink section @var{SECT}
|
Takes a @var{BFD} and containing a .gnu_debuglink section @var{SECT}
|
||||||
and fills in the contents of the section to contain a link to the
|
and fills in the contents of the section to contain a link to the
|
||||||
specified @var{filename}. The filename should be relative to the
|
specified @var{filename}. The filename should be absolute or
|
||||||
current directory.
|
relative to the current directory.
|
||||||
|
|
||||||
<<TRUE>> is returned if all is ok. Otherwise <<FALSE>> is returned
|
<<TRUE>> is returned if all is ok. Otherwise <<FALSE>> is returned
|
||||||
and bfd_error is set.
|
and bfd_error is set.
|
||||||
@ -1733,12 +1733,7 @@ bfd_fill_in_gnu_debuglink_section (bfd *abfd,
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Make sure that we can read the file.
|
/* Open the linked file so that we can compute a CRC. */
|
||||||
XXX - Should we attempt to locate the debug info file using the same
|
|
||||||
algorithm as gdb ? At the moment, since we are creating the
|
|
||||||
.gnu_debuglink section, we insist upon the user providing us with a
|
|
||||||
correct-for-section-creation-time path, but this need not conform to
|
|
||||||
the gdb location algorithm. */
|
|
||||||
handle = _bfd_real_fopen (filename, FOPEN_RB);
|
handle = _bfd_real_fopen (filename, FOPEN_RB);
|
||||||
if (handle == NULL)
|
if (handle == NULL)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user