Fix a regression by: Code cleanup: Split dwarf2_ranges_read to a callback