diff options
author | Tom Tromey <tromey@redhat.com> | 2010-07-13 21:06:48 +0000 |
---|---|---|
committer | Tom Tromey <tromey@redhat.com> | 2010-07-13 21:06:48 +0000 |
commit | bb3fa9d02ef94efbcbed615d34874433a03fe9ca (patch) | |
tree | 428551f8129255b87f166ec09c64d3827e000402 /gdb/dwarf2read.c | |
parent | dd78685836dcecb25b85b2166b2b5c04b54cdd14 (diff) | |
download | gdb-bb3fa9d02ef94efbcbed615d34874433a03fe9ca.zip gdb-bb3fa9d02ef94efbcbed615d34874433a03fe9ca.tar.gz gdb-bb3fa9d02ef94efbcbed615d34874433a03fe9ca.tar.bz2 |
* dwarf2read.c (dwarf2_per_cu_text_offset): Fix reference to
objfile.
Diffstat (limited to 'gdb/dwarf2read.c')
-rw-r--r-- | gdb/dwarf2read.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/dwarf2read.c b/gdb/dwarf2read.c index 0a8190d..6dcd243 100644 --- a/gdb/dwarf2read.c +++ b/gdb/dwarf2read.c @@ -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)); } |