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 a876043..62f0fee 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;
     }
 }