[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
More about my report and possible fix
From: |
obry |
Subject: |
More about my report and possible fix |
Date: |
Mon, 29 Jan 2001 08:40:55 -0500 (EST) |
Ok, I have found a fix (not the FIX). There is definitly something wrong
in coffgen.c. In function coff_find_nearest_line the check for dwarf2
debugging info is suspicious. Here a simple patch (not right) that does
fix the problem reported.
What do you think ?
<<
*** coffgen.c.orig Mon Jan 29 14:33:48 2001
--- coffgen.c Mon Jan 29 14:34:30 2001
***************
*** 2189,2201 ****
return false;
/* Also try examining DWARF2 debugging information. */
! if (_bfd_dwarf2_find_nearest_line (abfd, section, symbols, offset,
filename_ptr, functionname_ptr,
line_ptr, 0,
&coff_data(abfd)->dwarf2_find_line_info))
return true;
! if (found)
return true;
*filename_ptr = 0;
--- 2189,2202 ----
return false;
/* Also try examining DWARF2 debugging information. */
! /*if (_bfd_dwarf2_find_nearest_line (abfd, section, symbols, offset,
filename_ptr, functionname_ptr,
line_ptr, 0,
&coff_data(abfd)->dwarf2_find_line_info))
return true;
+ */
! if (found)
return true;
*filename_ptr = 0;
>>
Pascal Obry.
- More about my report and possible fix,
obry <=