Files
binutils-gdb/gdb/testsuite/gdb.python
Tom Tromey 75ec098297 Use correct inferior in Inferior.read_memory et al
A user noticed that Inferior.read_memory and a few other Python APIs
will always use the currently selected inferior, not the one passed to
the call.

This patch fixes the bug by arranging to switch to the inferior.  I
found this same issue in several APIs, so this fixes them all.

I also added a few missing calls to INFPY_REQUIRE_VALID to these
methods.

Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=30615
Approved-By: Pedro Alves <pedro@palves.net>
2023-07-14 11:04:45 -06:00
..
2023-01-13 13:18:58 -07:00
2023-01-13 13:18:58 -07:00
2023-01-13 13:18:58 -07:00
2023-01-13 13:18:58 -07:00
2023-01-13 13:18:58 -07:00
2023-01-13 13:18:58 -07:00
2023-01-13 13:18:58 -07:00
2023-01-13 13:18:58 -07:00
2023-01-13 13:18:58 -07:00
2023-05-23 10:09:28 -06:00
2023-01-13 13:18:58 -07:00
2023-01-13 13:18:58 -07:00
2023-01-13 13:18:58 -07:00
2023-01-13 13:18:58 -07:00
2023-05-23 10:09:28 -06:00
2023-01-26 18:28:31 -07:00
2023-01-26 18:28:31 -07:00
2023-01-13 13:18:58 -07:00
2023-01-22 14:27:49 -07:00
2023-02-27 15:46:31 -07:00
2023-02-27 15:46:31 -07:00
2023-02-27 15:46:31 -07:00
2023-01-25 09:02:11 -07:00
2023-06-03 22:43:57 +02:00
2023-01-13 13:18:58 -07:00
2023-01-13 13:18:58 -07:00
2023-06-19 17:13:05 +02:00
2023-01-13 13:18:58 -07:00
2023-06-12 12:09:39 -06:00
2023-06-03 22:43:57 +02:00
2023-06-03 22:43:57 +02:00
2023-01-13 13:18:58 -07:00