mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-21 18:39:34 +08:00
* dwarf2read.c (dwarf2_per_cu_text_offset): Fix reference to
objfile.
This commit is contained in:
@ -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>
|
2010-07-13 Tom Tromey <tromey@redhat.com>
|
||||||
|
|
||||||
* symfile.c (set_initial_language): Update.
|
* symfile.c (set_initial_language): Update.
|
||||||
|
@ -13108,7 +13108,7 @@ dwarf2_per_cu_offset_size (struct dwarf2_per_cu_data *per_cu)
|
|||||||
CORE_ADDR
|
CORE_ADDR
|
||||||
dwarf2_per_cu_text_offset (struct dwarf2_per_cu_data *per_cu)
|
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));
|
return ANOFFSET (objfile->section_offsets, SECT_OFF_TEXT (objfile));
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user