diff options
Diffstat (limited to 'gdb/dwarf2read.c')
-rw-r--r-- | gdb/dwarf2read.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/gdb/dwarf2read.c b/gdb/dwarf2read.c index d79b2e3..496b74f 100644 --- a/gdb/dwarf2read.c +++ b/gdb/dwarf2read.c @@ -4489,7 +4489,6 @@ dwarf2_create_include_psymtab (const char *name, struct partial_symtab *pst, subpst->dirname = pst->dirname; } - subpst->section_offsets = pst->section_offsets; subpst->textlow = 0; subpst->texthigh = 0; @@ -5890,8 +5889,7 @@ create_partial_symtab (struct dwarf2_per_cu_data *per_cu, const char *name) struct objfile *objfile = per_cu->objfile; struct partial_symtab *pst; - pst = start_psymtab_common (objfile, objfile->section_offsets, - name, 0, + pst = start_psymtab_common (objfile, name, 0, objfile->global_psymbols.next, objfile->static_psymbols.next); |