[PATCH 0/2] Call target_can_do_single_step from maybe_software_singlestep

Tom Tromey tromey@adacore.com
Mon Jun 12 19:21:35 GMT 2023


This series implements a suggestion that Pedro made back in 2018.  The
idea has been kicking around internally here at AdaCore since then,
and I finally got around to writing the patch.

Tested on x86-64 Fedora 36.  I've also run it through the AdaCore
internal test suite.

---
Tom Tromey (2):
      Call target_can_do_single_step from maybe_software_singlestep
      Disabling hardware single step in gdbserver

 gdb/arm-linux-tdep.c      |  5 -----
 gdb/gdbarch-gen.h         | 12 +++---------
 gdb/gdbarch_components.py | 12 +++---------
 gdb/infrun.c              | 12 +++++++++---
 gdbserver/server.cc       | 12 ++++++++----
 gdbserver/server.h        |  1 +
 6 files changed, 24 insertions(+), 30 deletions(-)
---
base-commit: 2e3aff27623b20b08ac58f8eaf73e97e58b4e67c
change-id: 20230612-sw-single-step-946fd4d856f2

Best regards,
-- 
Tom Tromey <tromey@adacore.com>



More information about the Gdb-patches mailing list