aboutsummaryrefslogtreecommitdiff
path: root/gdb/dwarf2read.c
diff options
context:
space:
mode:
authorJim Blandy <jimb@codesourcery.com>2003-02-04 20:17:02 +0000
committerJim Blandy <jimb@codesourcery.com>2003-02-04 20:17:02 +0000
commit0cf824c9e4d91fb8a2446d29bfa699637c4135a3 (patch)
tree01cadaefe981854a10792a7868db4dd26256eae3 /gdb/dwarf2read.c
parenteca48b00fd2750cdcc535112667fd1199835de47 (diff)
downloadgdb-0cf824c9e4d91fb8a2446d29bfa699637c4135a3.zip
gdb-0cf824c9e4d91fb8a2446d29bfa699637c4135a3.tar.gz
gdb-0cf824c9e4d91fb8a2446d29bfa699637c4135a3.tar.bz2
* dwarf2read.c (dwarf2_locate_sections): When we find a macro info
section, let dwarf_macinfo_section point to it, not dwarf_loc_section.
Diffstat (limited to 'gdb/dwarf2read.c')
-rw-r--r--gdb/dwarf2read.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/dwarf2read.c b/gdb/dwarf2read.c
index ee0c9d4..dbd6460 100644
--- a/gdb/dwarf2read.c
+++ b/gdb/dwarf2read.c
@@ -978,7 +978,7 @@ dwarf2_locate_sections (bfd *ignore_abfd, asection *sectp, void *ignore_ptr)
{
dwarf_macinfo_offset = sectp->filepos;
dwarf_macinfo_size = bfd_get_section_size_before_reloc (sectp);
- dwarf_loc_section = sectp;
+ dwarf_macinfo_section = sectp;
}
else if (STREQ (sectp->name, STR_SECTION))
{