[PATCH v8 6/6] gdb/infrun: handle already-exited threads when attempting to stop
Tom de Vries
tdevries@suse.de
Thu May 14 18:00:22 GMT 2020
On 13-05-2020 22:53, Pedro Alves via Gdb-patches wrote:
> + set testpid($num) [get_integer_valueof "pid" -1]
I'm running into:
...
ERROR: tcl error sourcing
/data/gdb_versions/devel/src/gdb/testsuite/gdb.multi/multi-kill.exp.
ERROR: can't set "testpid(1)": variable isn't array
while executing
"set testpid($num) [get_integer_valueof "pid" -1]"
("uplevel" body line 15)
invoked from within
"uplevel 1 $body"
invoked from within
"with_test_prefix "start_inferior $num" {
global testpid binfile srcfile
if {$num != 1} {
gdb_test "add-inferior" "Added inferior .*" "add emp..."
(procedure "start_inferior" line 2)
invoked from within
"start_inferior $i"
(file
"/data/gdb_versions/devel/src/gdb/testsuite/gdb.multi/multi-kill.exp"
line 75)
invoked from within
"source /data/gdb_versions/devel/src/gdb/testsuite/gdb.multi/multi-kill.exp"
("uplevel" body line 1)
invoked from within
"uplevel #0 source
/data/gdb_versions/devel/src/gdb/testsuite/gdb.multi/multi-kill.exp"
invoked from within
...
Thanks,
- Tom
More information about the Gdb-patches
mailing list