Re: [PATCH] Move gdbserver to top level

Tom de Vries
2020-02-09T13:59:43Z

On 03-02-2020 22:34, Tom Tromey wrote:
> I'm going to push it tomorrow or the day after, unless there's some
> objection.

Hi,

FYI, starting this commit, I'm running into:
...
(gdb) PASS: gdb.multi/multi-target.exp: continue: non-stop=off: set
remote-exec file in inferior 2
spawn of --once --multi localhost:2346 failed
ERROR: tcl error sourcing
/data/gdb_versions/devel/src/gdb/testsuite/gdb.multi/multi-target.exp.
ERROR: Timeout waiting for gdbserver response.
while executing
"error "Timeout waiting for gdbserver response.""
invoked from within
"expect {
-i $server_spawn_id
-timeout 120
-notransfer
-re "Listening on" { }
-re "Can't (bind address|listen on socket): Addr..."
(procedure "gdbserver_start" line 120)
invoked from within
"gdbserver_start "--multi" """
(procedure "connect_target_extended_remote" line 2)
invoked from within
"connect_target_extended_remote $binfile"
(procedure "add_inferior" line 14)
invoked from within
"add_inferior 2 "extended-remote" $binfile"
(procedure "setup" line 25)
invoked from within
"setup ${non-stop}"
(procedure "test_continue" line 2)
invoked from within
"test_continue ${non-stop}"
("uplevel" body line 2)
invoked from within
"uplevel 1 $body"
invoked from within
"foreach_with_prefix non-stop {"off" "on"} {
test_continue ${non-stop}
}"
("uplevel" body line 2)
invoked from within
"uplevel 1 $body"
invoked from within
"with_test_prefix "continue" {
foreach_with_prefix non-stop {"off" "on"} {
test_continue ${non-stop}
}
}"
(file
"/data/gdb_versions/devel/src/gdb/testsuite/gdb.multi/multi-target.exp"
line 425)
invoked from within
"source
/data/gdb_versions/devel/src/gdb/testsuite/gdb.multi/multi-target.exp"
("uplevel" body line 1)
invoked from within
"uplevel #0 source
/data/gdb_versions/devel/src/gdb/testsuite/gdb.multi/multi-target.exp"
invoked from within
"catch "uplevel #0 source $test_file_name""
monitor exit
"monitor" command not supported by this target.
(gdb) testcase
/data/gdb_versions/devel/src/gdb/testsuite/gdb.multi/multi-target.exp
completed in 130 seconds

=== gdb Summary ===

# of expected passes 8
...

Thanks,
- Tom