summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Carlton <carlton@bactrian.org>2003-02-01 01:11:22 +0000
committerDavid Carlton <carlton@bactrian.org>2003-02-01 01:11:22 +0000
commit1654959216bb8dad2254eb3d13ccd97045c11c3c (patch)
tree5411cfa937668fdc99e8517222c93c88d85fffa9
parent6c8d6d14f5069303347f7012080f07dc11d30d61 (diff)
downloadgdb-1654959216bb8dad2254eb3d13ccd97045c11c3c.tar.gz
2003-01-31 David Carlton <carlton@math.stanford.edu>
* dwarf2read.c (dwarf2_locate_sections): Set dwarf_ranges_section.
-rw-r--r--gdb/dwarf2read.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/dwarf2read.c b/gdb/dwarf2read.c
index a876043589b..62f0fee2ed5 100644
--- a/gdb/dwarf2read.c
+++ b/gdb/dwarf2read.c
@@ -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;
}
}