[binutils-gdb] _bfd_dwarf2_find_nearest_line comment fix

Alan Modra amodra@sourceware.org
Tue Dec 3 07:40:00 GMT 2019


https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=2247a609df7ecd55c1e5a63a9fe1319f28f2b587

commit 2247a609df7ecd55c1e5a63a9fe1319f28f2b587
Author: Alan Modra <amodra@gmail.com>
Date:   Sat Nov 30 18:08:09 2019 +1030

    _bfd_dwarf2_find_nearest_line comment fix
    
    These lines should have been removed along with the addr_size parameter.
    
    	* dwarf2.c (_bfd_dwarf2_find_nearest_line): Correct function comment.

Diff:
---
 bfd/ChangeLog | 4 ++++
 bfd/dwarf2.c  | 4 +---
 2 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index ab9174d..0df0ef5 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,7 @@
+2019-12-03  Alan Modra  <amodra@gmail.com>
+
+	* dwarf2.c (_bfd_dwarf2_find_nearest_line): Correct function comment.
+
 2019-11-27  Alan Modra  <amodra@gmail.com>
 
 	PR 23652
diff --git a/bfd/dwarf2.c b/bfd/dwarf2.c
index a25f76a..2239077 100644
--- a/bfd/dwarf2.c
+++ b/bfd/dwarf2.c
@@ -4701,9 +4701,7 @@ _bfd_dwarf2_find_symbol_bias (asymbol ** symbols, void ** pinfo)
    info is present but not regarding the requested code location.
    Returns 0 otherwise.
    SYMBOLS contains the symbol table for ABFD.
-   DEBUG_SECTIONS contains the name of the dwarf debug sections.
-   field and in the abbreviation offset, or zero to indicate that the
-   default value should be used.  */
+   DEBUG_SECTIONS contains the name of the dwarf debug sections.  */
 
 int
 _bfd_dwarf2_find_nearest_line (bfd *abfd,



More information about the Binutils-cvs mailing list