Re: [PATCH v3 6/6] Use correct inferior in Inferior.read_memory et al

Tom Tromey
2023-07-14T17:05:30Z

>>>>> "Pedro" == Pedro Alves <pedro@palves.net> writes:

>> +gdb_test "python print(astr\[0\])" .*

Pedro> This one game me pause. Did you really intend to accept any
Pedro> output? Should the match be a bit more strict? Otherwise, could
Pedro> you add a comment?

Yeah, it should be more strict.

>> + gdb_test "inferior $num" ".*" "switch to inferior $num"

Pedro> I wouldn't mind making this a little tighter too, since it's so easy, like match:

Pedro> "Switching to inferior $num .*"

I fixed these spots as well.
Will send v4 in a minute.

Tom