public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
* [PATCH v2 0/6] Fix some Python Inferior methods
@ 2023-07-11 16:14 Tom Tromey
  2023-07-11 16:14 ` [PATCH v2 1/6] Minor cleanups in py-inferior.exp Tom Tromey
                   ` (5 more replies)
  0 siblings, 6 replies; 13+ messages in thread
From: Tom Tromey @ 2023-07-11 16:14 UTC (permalink / raw)
  To: gdb-patches; +Cc: Pedro Alves

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.

---
Changes in v2:
- Addressed review comments
- Added scoped_restore_current_inferior_for_memory patch
- Link to v1: https://inbox.sourceware.org/gdb-patches/20230707-py-inf-fixes-30615-v1-0-7792ab559530@adacore.com

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

 gdb/aix-thread.c                         | 18 ++-----
 gdb/gdbthread.h                          |  2 +-
 gdb/inferior.h                           | 29 +++++++++++
 gdb/proc-service.c                       | 10 +---
 gdb/python/py-inferior.c                 | 28 ++++++++---
 gdb/testsuite/gdb.python/py-inferior.exp | 83 ++++++++++++++++++++++++--------
 6 files changed, 120 insertions(+), 50 deletions(-)
---
base-commit: 606d863236197cc2fbf74edf589cbaf35ea15801
change-id: 20230707-py-inf-fixes-30615-668ef09475ab

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


^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2023-07-14 16:56 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-07-11 16:14 [PATCH v2 0/6] Fix some Python Inferior methods Tom Tromey
2023-07-11 16:14 ` [PATCH v2 1/6] Minor cleanups in py-inferior.exp Tom Tromey
2023-07-11 16:14 ` [PATCH v2 2/6] Refactor py-inferior.exp Tom Tromey
2023-07-11 16:14 ` [PATCH v2 3/6] Rename Python variable in py-inferior.exp Tom Tromey
2023-07-14 16:34   ` Pedro Alves
2023-07-11 16:14 ` [PATCH v2 4/6] Remove obsolete comment from gdbthread.h Tom Tromey
2023-07-11 16:14 ` [PATCH v2 5/6] Introduce scoped_restore_current_inferior_for_memory Tom Tromey
2023-07-12 20:35   ` Simon Marchi
2023-07-13 14:01     ` Tom Tromey
2023-07-14 16:33   ` Pedro Alves
2023-07-11 16:14 ` [PATCH v2 6/6] Use correct inferior in Inferior.read_memory et al Tom Tromey
2023-07-14 16:48   ` Pedro Alves
2023-07-14 16:56     ` Pedro Alves

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).