debugging a program which spawns multiple children

Christian Groessler chris@groessler.org
Tue Feb 13 01:19:00 GMT 2018


Hi,

I'm trying to debug a problem in FreeBSD's "dump" command. The dump 
command creates 4 or 5 child processes,
and in my use case one of them gets a SIGSEGV.

Is it possible to monitor all spawned processes simultaneously? I'm 
currently using gdb version 7.12.1 from the FreeBSD ports.
I would have to problem to use a newer version of gdb and compile it 
locally.

regards,
chris



More information about the Gdb mailing list