Debug info for function in Windows PE binary on wrong instruction
authorNick Clifton <nickc@redhat.com>
Fri, 8 Apr 2022 15:04:22 +0000 (16:04 +0100)
committerNick Clifton <nickc@redhat.com>
Fri, 8 Apr 2022 15:04:22 +0000 (16:04 +0100)
PR 29038
* coffgen.c (coff_find_nearest_line_with_names): Fix typo
retrieving saved bias.

bfd/ChangeLog
bfd/coffgen.c

index 5b5325800415ca5557d9674c766afa3617b5c151..b8d77b66356650d6664978de1d16ba87ac5f18cb 100644 (file)
@@ -1,3 +1,9 @@
+2022-04-08  Nick Clifton  <nickc@redhat.com>
+
+       PR 29038
+       * coffgen.c (coff_find_nearest_line_with_names): Fix typo
+       retrieving saved bias.
+
 2022-04-07  Mark Harmstone  <mark@harmstone.com>
 
        * coff-i386.c (in_reloc_p): Add R_SECTION.
index bec1a424831131a4559858745d8dbf5969eaee64..57f380a64250dc5ecb0d5782b7c195b4b317983e 100644 (file)
@@ -2382,7 +2382,7 @@ coff_find_nearest_line_with_names (bfd *abfd,
        }
 
       if (sec_data != NULL && sec_data->saved_bias)
-       bias = sec_data->saved_bias;
+       bias = sec_data->bias;
       else if (symbols)
        {
          bias = _bfd_dwarf2_find_symbol_bias (symbols,