aboutsummaryrefslogtreecommitdiff
path: root/gdb/value.c
diff options
context:
space:
mode:
authorJan Kratochvil <jan.kratochvil@redhat.com>2009-08-28 10:49:06 +0000
committerJan Kratochvil <jan.kratochvil@redhat.com>2009-08-28 10:49:06 +0000
commitd4b96c9a787ed13b0b9367b5fedb96a4746a5c9d (patch)
treefaed0eb7803149e34aadfca246afe0f26431d60b /gdb/value.c
parent12b1a97932e2ae3112bbb389c81e4c80fff86c90 (diff)
downloadgdb-d4b96c9a787ed13b0b9367b5fedb96a4746a5c9d.zip
gdb-d4b96c9a787ed13b0b9367b5fedb96a4746a5c9d.tar.gz
gdb-d4b96c9a787ed13b0b9367b5fedb96a4746a5c9d.tar.bz2
gdb/
Support constant DW_AT_data_member_location by GCC PR debug/40659. * dwarf2read.c (dwarf2_add_field <DW_TAG_member> <DW_AT_data_member_location>): Initialize BYTE_OFFSET to 0 by default. Explicitly check if attr_form_is_block. (dwarf2_add_field <DW_TAG_inheritance> <DW_AT_data_member_location>) (read_common_block <DW_AT_data_member_location>): New variable byte_offset. Fix crash on non-DW_BLOCK ATTR values. gdb/testsuite/ Support constant DW_AT_data_member_location by GCC PR debug/40659. * gdb.dwarf2/dw2-inheritance.exp, gdb.dwarf2/dw2-inheritance.S: New.
Diffstat (limited to 'gdb/value.c')
0 files changed, 0 insertions, 0 deletions