[0/5] Fix some Python Inferior methods

Message ID 20230707-py-inf-fixes-30615-v1-0-7792ab559530@adacore.com
Headers
Series Fix some Python Inferior methods |

Message

Tom Tromey July 7, 2023, 3:07 p.m. UTC
  A user pointed out a bug in Inferior.search_memory.  This series is
the result.  Most of the patches are minor things I noticed while
working on the final patch, which fixes the bug.

Regression tested on x86-64 Fedora 36.

---
Tom Tromey (5):
      Minor cleanups in py-inferior.exp
      Refactor py-inferior.exp
      Rename Python variable in py-inferior.exp
      Remove obsolete comment from gdbthread.h
      Use correct inferior in Inferior.read_memory et al

 gdb/gdbthread.h                          |  2 +-
 gdb/python/py-inferior.c                 | 36 +++++++++++++--
 gdb/testsuite/gdb.python/py-inferior.exp | 79 ++++++++++++++++++++++++--------
 3 files changed, 92 insertions(+), 25 deletions(-)
---
base-commit: 13f5f57e0d2fb3e06e15c57d67a40499a5910ba6
change-id: 20230707-py-inf-fixes-30615-668ef09475ab

Best regards,