From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20938 invoked by alias); 8 Jul 2009 23:52:52 -0000 Received: (qmail 20927 invoked by uid 22791); 8 Jul 2009 23:52:52 -0000 X-SWARE-Spam-Status: No, hits=-1.4 required=5.0 tests=AWL,BAYES_20 X-Spam-Check-By: sourceware.org Received: from shell4.bayarea.net (HELO shell4.bayarea.net) (209.128.82.1) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 08 Jul 2009 23:52:46 +0000 Received: (qmail 29446 invoked from network); 8 Jul 2009 16:52:44 -0700 Received: from 209-128-106-254.bayarea.net (HELO redwood.eagercon.com) (209.128.106.254) by shell4.bayarea.net with SMTP; 8 Jul 2009 16:52:43 -0700 Message-ID: <4A55313B.8000006@eagercon.com> Date: Wed, 08 Jul 2009 23:52:00 -0000 From: Michael Eager User-Agent: Thunderbird 2.0.0.21 (X11/20090320) MIME-Version: 1.0 To: gdb@sourceware.org Subject: Debugging gdb under gdb Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes 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 X-SW-Source: 2009-07/txt/msg00060.txt.bz2 Hi -- When I try to run a test gdb under gdb, the host gdb hangs. The hang occurs when the test gdb is executing pex_unix_exec_child(). As soon as the test gdb executes fork(), the host gdb hangs. I've tried all of the permutations of follow-fork-mode and detach-on-fork, with no luck. The host neither follows the parent nor the child processes. The host gdb is "GNU gdb Fedora (6.8-32.fc10)". Suggestions? -- Michael Eager eager@eagercon.com 1960 Park Blvd., Palo Alto, CA 94306 650-325-8077