2003-01-31 David Carlton <carlton@math.stanford.edu>
authorDavid Carlton <carlton@bactrian.org>
Sat, 1 Feb 2003 01:11:22 +0000 (01:11 +0000)
committerDavid Carlton <carlton@bactrian.org>
Sat, 1 Feb 2003 01:11:22 +0000 (01:11 +0000)
* dwarf2read.c (dwarf2_locate_sections): Set
dwarf_ranges_section.

gdb/dwarf2read.c

index a876043589b3eff9f217e2f3c002c61483c9af70..62f0fee2ed5a8f2fa9ae5b8b7b4dac6ddfa8a722 100644 (file)
@@ -1002,6 +1002,7 @@ dwarf2_locate_sections (bfd *ignore_abfd, asection *sectp, void *ignore_ptr)
     {
       dwarf_ranges_offset = sectp->filepos;
       dwarf_ranges_size = bfd_get_section_size_before_reloc (sectp);
+      dwarf_ranges_section = sectp;
     }
 }