Re: [PATCH 2/3] gdbstub: Implement follow-fork-mode child

2024-02-01 Thread Alex Bennée
Ilya Leoshkevich writes: > On Thu, 2024-02-01 at 12:11 +, Alex Bennée wrote: >> Ilya Leoshkevich writes: >> >> > Currently it's not possible to use gdbstub for debugging linux-user >> > code that runs in a forked child, which is normally done using the >> > `set >> > follow-fork-mode child`

Re: [PATCH 2/3] gdbstub: Implement follow-fork-mode child

2024-02-01 Thread Ilya Leoshkevich
On Thu, 2024-02-01 at 12:11 +, Alex Bennée wrote: > Ilya Leoshkevich writes: > > > Currently it's not possible to use gdbstub for debugging linux-user > > code that runs in a forked child, which is normally done using the > > `set > > follow-fork-mode child` GDB command. Purely on the protoco

Re: [PATCH 2/3] gdbstub: Implement follow-fork-mode child

2024-02-01 Thread Alex Bennée
Ilya Leoshkevich writes: > Currently it's not possible to use gdbstub for debugging linux-user > code that runs in a forked child, which is normally done using the `set > follow-fork-mode child` GDB command. Purely on the protocol level, the > missing piece is the fork-events feature. > > However

[PATCH 2/3] gdbstub: Implement follow-fork-mode child

2024-01-31 Thread Ilya Leoshkevich
Currently it's not possible to use gdbstub for debugging linux-user code that runs in a forked child, which is normally done using the `set follow-fork-mode child` GDB command. Purely on the protocol level, the missing piece is the fork-events feature. However, a deeper problem is supporting $Hg s