Fix gdb.multi/multi-kill.exp
authorPedro Alves <palves@redhat.com>
Fri, 15 May 2020 10:22:47 +0000 (11:22 +0100)
committerPedro Alves <palves@redhat.com>
Fri, 15 May 2020 10:22:47 +0000 (11:22 +0100)
commit3c5c3649729ba3f94f9d28f10aa2270c8c7e4aa9
tree724c501d4ff84e8a06c89425bf505d6ce3e88693
parent272c36b87f81fd64e5f4669730da72c39d0716b3
Fix gdb.multi/multi-kill.exp

The previous patch misssed declaring the 'testpid' array as namespace
variable.  While it at, might as well go back to having start_inferior
refer to the "global" testpid, using "variable" too.

gdb/testsuite/ChangeLog:
2020-05-15  Pedro Alves  <palves@redhat.com>

* gdb.multi/multi-kill.exp (start_inferior): Remove
'testpid' parameter.  Refer to namespace variable directly.
(testpid): Declare as namespace variable.
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.multi/multi-kill.exp