[PATCH 0/9] Various DWARF piece fixes
Andreas Arnez
arnez@linux.vnet.ibm.com
Fri Apr 7 17:39:00 GMT 2017
This patch series follows up on the proposed fix for PR21226:
https://sourceware.org/ml/gdb-patches/2017-03/msg00110.html
The fix for that issue is now provided by patch #3. More fixes for
various other DWARF piece handling issues are provided by patches #2, #5,
#6, and #8. Patch #1 establishes a new test case that is extended by some
of the other patches. Patches #4, #7, and #9 perform some clean-up.
Andreas Arnez (9):
Add test for modifiable DWARF locations
Fix size capping in write_pieced_value
PR gdb/21226: Take DWARF stack value pieces from LSB end
Remove addr_size field from struct piece_closure
Fix issues in write_pieced_value when targeting bit-fields
Fix handling of DWARF register pieces on big-endian targets
Improve logic for buffer allocation in read/write_pieced_value
Respect piece offset for DW_OP_bit_piece
Remove unnecessary copies of variables in read/write_pieced_value
gdb/dwarf2loc.c | 294 +++++++++++++--------------
gdb/testsuite/gdb.dwarf2/nonvar-access.exp | 21 +-
gdb/testsuite/gdb.dwarf2/var-access.c | 25 +++
gdb/testsuite/gdb.dwarf2/var-access.exp | 315 +++++++++++++++++++++++++++++
gdb/testsuite/lib/gdb-utils.exp | 2 +-
5 files changed, 503 insertions(+), 154 deletions(-)
create mode 100644 gdb/testsuite/gdb.dwarf2/var-access.c
create mode 100644 gdb/testsuite/gdb.dwarf2/var-access.exp
--
2.3.0
More information about the Gdb-patches
mailing list