[PATCH v2 0/3] [gdb/tdep] Fix gdb.base/store.exp on s390x

Tom de Vries tdevries@suse.de
Wed Dec 18 15:15:57 GMT 2024


This is a patch series with three patches.

This is a v2 of an earlier submission of just one patch [1].

The first patch adds some infrastucture for the second patch.

The second patch add a new gdbarch hook.

The third patch implements the new gdbarch hook to fix test-case
gdb.base/store.exp on s390x.

Tested on s390x-linux and x86_64-linux.

[1] https://sourceware.org/pipermail/gdb-patches/2024-December/213828.html

Tom de Vries (3):
  [gdb/symtab] Add dwarf_expr_piece.op
  [gdb] Add gdbarch_dwarf2_reg_piece_offset hook
  [gdb/tdep] Fix gdb.base/store.exp on s390x

 gdb/dwarf2/expr.c         | 41 +++++++++++++++++++++++++++++----------
 gdb/dwarf2/expr.h         |  5 ++++-
 gdb/findvar.c             | 18 +++++++++++++++++
 gdb/gdbarch-gen.c         | 22 +++++++++++++++++++++
 gdb/gdbarch-gen.h         |  8 ++++++++
 gdb/gdbarch_components.py | 16 +++++++++++++++
 gdb/s390-tdep.c           | 23 ++++++++++++++++++++++
 gdb/value.h               |  2 ++
 8 files changed, 124 insertions(+), 11 deletions(-)


base-commit: 704452b488bf5a96bb9b68d7e801d1568aedbe4a
-- 
2.43.0



More information about the Gdb-patches mailing list