aboutsummaryrefslogtreecommitdiff
path: root/bfd/cpu-z8k.c
diff options
context:
space:
mode:
authorAndreas Arnez <arnez@linux.vnet.ibm.com>2017-06-13 15:20:31 +0200
committerAndreas Arnez <arnez@linux.vnet.ibm.com>2017-06-13 15:20:31 +0200
commit65d84b76164dc8ec1a1f0f0e0fd41667065ffd4e (patch)
tree3bb8e597b3dcb26f838f662b86b003cf6bece183 /bfd/cpu-z8k.c
parent242d31ab7c3901e02bd68c1824d1d3610e02562b (diff)
downloadgdb-65d84b76164dc8ec1a1f0f0e0fd41667065ffd4e.zip
gdb-65d84b76164dc8ec1a1f0f0e0fd41667065ffd4e.tar.gz
gdb-65d84b76164dc8ec1a1f0f0e0fd41667065ffd4e.tar.bz2
Respect piece offset for DW_OP_bit_piece
So far GDB ignores the piece offset of all kinds of DWARF bit pieces (DW_OP_bit_piece) and treats such pieces as if the offset was zero. This is fixed, and an appropriate test is added. gdb/ChangeLog: * dwarf2loc.c (read_pieced_value): Respect the piece offset, as given by DW_OP_bit_piece. (write_pieced_value): Likewise. Andreas Arnez <arnez@linux.vnet.ibm.com> * gdb.dwarf2/var-access.exp: Add test for composite location with nonzero piece offsets.
Diffstat (limited to 'bfd/cpu-z8k.c')
0 files changed, 0 insertions, 0 deletions