[PATCH 1/5] Minor cleanups in py-inferior.exp
Pedro Alves
pedro@palves.net
Fri Jul 7 18:06:19 GMT 2023
On 2023-07-07 16:07, Tom Tromey via Gdb-patches wrote:
> @@ -247,7 +246,7 @@ with_test_prefix "is_valid" {
> gdb_test "python print (inf_list\[1\].is_valid())" "True" \
> "check inferior validity 3"
>
> - gdb_test_no_output "remove-inferiors 2" "remove-inferiors 3"
> + gdb_test_no_output "remove-inferiors 2" "remove-inferiors 2"
You could just remove the second argument completely, it defaults to the
command string.
> gdb_test "python print (inf_list\[0\].is_valid())" "True" \
> "check inferior validity 4"
There's also:
gdb_test_no_output "remove-inferiors 3" "remove second inferior"
More information about the Gdb-patches
mailing list