GDB调试多进程

  • set follow-fork-mode parent

  • info inferiors 查看当前进程

    • 当默认调试子进程,假如只使用第一条命令会导致子进程直接运行
  • this is a picture

1753757312007