* dwarf2read.c (dwarf2_per_cu_text_offset): Fix reference to
objfile.
This commit is contained in:
parent
dd78685836
commit
bb3fa9d02e
|
@ -1,3 +1,8 @@
|
|||
2010-07-13 Tom Tromey <tromey@redhat.com>
|
||||
|
||||
* dwarf2read.c (dwarf2_per_cu_text_offset): Fix reference to
|
||||
objfile.
|
||||
|
||||
2010-07-13 Tom Tromey <tromey@redhat.com>
|
||||
|
||||
* symfile.c (set_initial_language): Update.
|
||||
|
|
|
@ -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…
Reference in New Issue