Message ID | 20240219141628.246823-1-iii@linux.ibm.com |
---|---|
Headers | show |
Series | gdbstub: Implement follow-fork-mode child | expand |
Ilya Leoshkevich <iii@linux.ibm.com> writes: > v3: https://lists.gnu.org/archive/html/qemu-devel/2024-02/msg03142.html > v3 -> v4: Address the review comments, add R-bs. > Add the get_task_state() refactoring. > Keep passing CPUState to gdbserver_fork_end() for tb_flush(). > Patches that need review: 02/12, 09/12-12/12. > > v2: https://lists.gnu.org/archive/html/qemu-devel/2024-02/msg00810.html > v2 -> v3: Rebase on top of master. > Fix a typo in the 01/11 commit message. > > v1: https://lists.gnu.org/archive/html/qemu-devel/2024-01/msg06646.html > v1 -> v2: Factor out a number of prep patches; > Add a state transition diagram comment (Alex). > Improve a few comments; > Extend the ts_tid fix to bsd. > > Hi, > > I needed to debug a linux-user crash between fork() and exec() [1] and > realized that gdbstub does not allow this. This series lifts this > restriction (one still cannot debug past exec() though). Patches 1-10 > are preliminary refactorings, patch 11 is the implementation, and patch > 12 is the test. Queued to gdbstub/next, thanks.