Re: [PATCH v6 2/8] gdbstub: Try unlinking the unix socket before binding

2025-01-17 Thread Alex Bennée
Ilya Leoshkevich writes: > In case an emulated process execve()s another emulated process, bind() > will fail, because the socket already exists. So try deleting it. Use > the existing unix_listen() function which does this. Link qemu-user > with qemu-sockets.c and add the monitor_get_fd() stub.

[PATCH v6 2/8] gdbstub: Try unlinking the unix socket before binding

2025-01-16 Thread Ilya Leoshkevich
In case an emulated process execve()s another emulated process, bind() will fail, because the socket already exists. So try deleting it. Use the existing unix_listen() function which does this. Link qemu-user with qemu-sockets.c and add the monitor_get_fd() stub. Note that it is not possible to ha