[PATCHv2 0/8] Some vfork related fixes

Andrew Burgess via Gdb-patches
2023-07-04T15:23:29Z

Changes since v1:

- Added an extra assert in patch #4, as suggested by Baris,

- Updated some comments in patch #4 to better describe what's going
on,

- Added an extra debug printf in patch #8 which I found useful when
checking what's actually going on (in order to change patch #4).

---

Andrew Burgess (7):
gdb: catch more errors in gdb.base/foll-vfork.exp
gdb: don't restart vfork parent while waiting for child to finish
gdb: fix an issue with vfork in non-stop mode
gdb: don't resume vfork parent while child is still running
gdb/testsuite: expand gdb.base/foll-vfork.exp
gdb/testsuite: remove use of sleep from gdb.base/foll-vfork.exp
gdb: additional debug output in infrun.c and linux-nat.c

Mihails Strasuns (1):
gdb, infrun: refactor part of `proceed` into separate function

gdb/infrun.c | 189 ++++++---
gdb/linux-nat.c | 32 +-
gdb/testsuite/gdb.base/foll-vfork.exp | 588 ++++++++++++--------------
3 files changed, 412 insertions(+), 397 deletions(-)

base-commit: bb2bd584f31a25ba1cfe5bdac4d07d8cffe87c3d
--
2.25.4