Preventing debugging session from pausing after each inferior exits
问题 I'm debugging a tree of processes using gdb's very handy multiple-inferior support: (gdb) set detach-on-fork off (gdb) set schedule-multiple on (gdb) set follow-fork-mode parent (gdb) break PostgresMain (gdb) break PostmasterMain and now need to let things run until I hit one of the future breakpoints in some yet to be spawned inferior. However, gdb seems to be "helpfully" pausing whenever an inferior exits normally, or at least blocking cleanup of the inferior so that its parent's wait() can