From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 100182 invoked by alias); 13 Feb 2018 01:19:54 -0000 Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org Received: (qmail 100172 invoked by uid 89); 13 Feb 2018 01:19:53 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.9 required=5.0 tests=BAYES_00,KAM_LAZY_DOMAIN_SECURITY,T_RP_MATCHES_RCVD autolearn=no version=3.3.2 spammy=H*Ad:U*chris X-HELO: vigilia.groessler.org Received: from vigilia.groessler.org (HELO vigilia.groessler.org) (79.143.177.135) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 13 Feb 2018 01:19:51 +0000 Received: from blasi.groessler.org (p54A55833.dip0.t-ipconnect.de [84.165.88.51]) by vigilia.groessler.org (8.14.7/8.14.6) with ESMTP id w1D1O39E004099 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=OK) for ; Tue, 13 Feb 2018 02:24:03 +0100 (CET) To: "gdb@sourceware.org" From: Christian Groessler Subject: debugging a program which spawns multiple children Message-ID: Date: Tue, 13 Feb 2018 01:19:00 -0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2018-02/txt/msg00086.txt.bz2 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