[0/2] Add new gdbarch::displaced_step_max_buffer_length field

Message ID cover.1677602918.git.aburgess@redhat.com
Headers
Series Add new gdbarch::displaced_step_max_buffer_length field |

Message

Andrew Burgess Feb. 28, 2023, 4:51 p.m. UTC
  The first patch in this series adjusts the gdbarch.py algorithm
slightly to allow for slightly more flexibility when validating
gdbarch fields.

I then make use of this in the second patch to add a new gdbarch
field.

---

Andrew Burgess (2):
  gdb: updates to gdbarch.py algorithm
  gdb: add gdbarch::displaced_step_max_buffer_length

 gdb/aarch64-linux-tdep.c  |  4 ++-
 gdb/arm-tdep.c            |  4 ++-
 gdb/displaced-stepping.c  |  6 ++--
 gdb/gdbarch-gen.h         | 17 +++++++--
 gdb/gdbarch.c             | 26 ++++++++++++++
 gdb/gdbarch.py            | 31 +++++++++++------
 gdb/gdbarch_components.py | 72 ++++++++++++++++++++-------------------
 gdb/linux-tdep.c          |  2 +-
 gdb/rs6000-tdep.c         |  6 ++--
 9 files changed, 111 insertions(+), 57 deletions(-)


base-commit: 2968b79fca38cf18e8eef360c36de7a6e3846d3c