* dwarf2read.c (dwarf2_per_cu_text_offset): Fix reference to
objfile.
This commit is contained in:
parent
dd78685836
commit
bb3fa9d02e
2 changed files with 6 additions and 1 deletions
|
@ -13108,7 +13108,7 @@ dwarf2_per_cu_offset_size (struct dwarf2_per_cu_data *per_cu)
|
|||
CORE_ADDR
|
||||
dwarf2_per_cu_text_offset (struct dwarf2_per_cu_data *per_cu)
|
||||
{
|
||||
struct objfile *objfile = per_cu->psymtab->objfile;
|
||||
struct objfile *objfile = per_cu->objfile;
|
||||
|
||||
return ANOFFSET (objfile->section_offsets, SECT_OFF_TEXT (objfile));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue