aboutsummaryrefslogtreecommitdiff
path: root/bfd/ChangeLog
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2023-02-23 09:44:50 +0000
committerNick Clifton <nickc@redhat.com>2023-02-23 09:44:50 +0000
commite0b74a85b879354d2aa1a6b5026d5de58c78ec45 (patch)
treedf6e80125aa53469eb30785576ae9f92c61be783 /bfd/ChangeLog
parent456481c6d634819b713eb88fc629a09b4e955aa3 (diff)
downloadgdb-e0b74a85b879354d2aa1a6b5026d5de58c78ec45.zip
gdb-e0b74a85b879354d2aa1a6b5026d5de58c78ec45.tar.gz
gdb-e0b74a85b879354d2aa1a6b5026d5de58c78ec45.tar.bz2
Fix the BFD library's find_nearest_line feature to produce consistent results.
PR 30150 * dwarf2.c (comp_unit_contains_address): Renamed to ... (comp_unit_may_contain_address): this, and added code to return true if the CU's ranges have not yet been computed. (_bfd_dwarf2_find_nearest_line_with_alt): Use the renamed function, simplifying code in the process.
Diffstat (limited to 'bfd/ChangeLog')
-rw-r--r--bfd/ChangeLog10
1 files changed, 10 insertions, 0 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index b898721..b7c03c1 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,13 @@
+2023-02-23 Nick Clifton <nickc@redhat.com>
+ Alan Modra <amodra@gmail.com>
+
+ PR 30150
+ * dwarf2.c (comp_unit_contains_address): Renamed to ...
+ (comp_unit_may_contain_address): this, and added code to return
+ true if the CU's ranges have not yet been computed.
+ (_bfd_dwarf2_find_nearest_line_with_alt): Use the renamed
+ function, simplifying code in the process.
+
2023-02-21 Nick Clifton <nickc@redhat.com>
* opncls.c (bfd_fill_in_gnu_debuglink_section): Update