Re: [PATCH v1 7/9] tests/guest-debug: use the unix socket for linux-user tests

2020-05-01 Thread Alex Bennée
Richard Henderson writes: > On 4/30/20 12:01 PM, Alex Bennée wrote: >> +if "system" in args.qemu: >> +gdb_cmd += " -ex 'target remote localhost:1234'" >> +else: >> +gdb_cmd += " -ex 'target remote %s'" % (socket_name) > > Why should not system testing be moved to

Re: [PATCH v1 7/9] tests/guest-debug: use the unix socket for linux-user tests

2020-05-01 Thread Richard Henderson
On 4/30/20 12:01 PM, Alex Bennée wrote: > +if "system" in args.qemu: > +gdb_cmd += " -ex 'target remote localhost:1234'" > +else: > +gdb_cmd += " -ex 'target remote %s'" % (socket_name) Why should not system testing be moved to sockets? Surely that has the same problem in

[PATCH v1 7/9] tests/guest-debug: use the unix socket for linux-user tests

2020-04-30 Thread Alex Bennée
Now we have support for debugging over a unix socket for linux-user lets use it in our test harness. Signed-off-by: Alex Bennée --- tests/guest-debug/run-test.py | 13 +++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/tests/guest-debug/run-test.py