aboutsummaryrefslogtreecommitdiff
path: root/gdb/dwarf2read.c
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
commit6f10aeb1e30834a4d7f9756e784f84b8ba2ccaff (patch)
tree77e9678944b8382028253a91803a2c31dfc7fd3a /gdb/dwarf2read.c
parenta771d5b8e5eda538babe997b69d75ba61d709b72 (diff)
downloadgdb-6f10aeb1e30834a4d7f9756e784f84b8ba2ccaff.zip
gdb-6f10aeb1e30834a4d7f9756e784f84b8ba2ccaff.tar.gz
gdb-6f10aeb1e30834a4d7f9756e784f84b8ba2ccaff.tar.bz2
2003-01-31 David Carlton <carlton@math.stanford.edu>
* dwarf2read.c (dwarf2_locate_sections): Set dwarf_ranges_section.
Diffstat (limited to 'gdb/dwarf2read.c')
-rw-r--r--gdb/dwarf2read.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/dwarf2read.c b/gdb/dwarf2read.c
index a876043..62f0fee 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;
}
}