gdb/
authorJan Kratochvil <jan.kratochvil@redhat.com>
Thu, 8 Mar 2012 19:37:08 +0000 (19:37 +0000)
committerJan Kratochvil <jan.kratochvil@redhat.com>
Thu, 8 Mar 2012 19:37:08 +0000 (19:37 +0000)
commit7fe25d9bd274089557e2947f7ba09b6e333533cd
tree425e72499567e1844211391e2f13213d97f44866
parent05e7c244344f338bf2af7718db34eb91637587dd
gdb/
Fix CU relative vs. absolute DIE offsets.
* dwarf2loc.h (dwarf2_fetch_die_location_block): Rename parameter
offset to offset_in_cu.
* dwarf2read.c (process_enumeration_scope): Add CU offset to
TYPE_OFFSET.
(dwarf2_fetch_die_location_block): Rename parameter offset to
offset_in_cu.  New variable offset, add CU offset to OFFSET_IN_CU.

gdb/testsuite/
Fix CU relative vs. absolute DIE offsets.
* gdb.dwarf2/dw2-op-call.S: New compilation unit preceding the existing
one.
gdb/ChangeLog
gdb/dwarf2loc.h
gdb/dwarf2read.c
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.dwarf2/dw2-op-call.S
This page took 0.028362 seconds and 4 git commands to generate.