From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31913 invoked by alias); 20 Jan 2003 21:30:11 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 31654 invoked from network); 20 Jan 2003 21:30:09 -0000 Received: from unknown (HELO mtvmime01.veritas.com) (143.127.3.10) by 172.16.49.205 with SMTP; 20 Jan 2003 21:30:09 -0000 Received: from megami (unverified) by mtvmime01.veritas.com (Content Technologies SMTPRS 4.2.10) with SMTP id ; Mon, 20 Jan 2003 13:31:40 -0800 Received: from gnu.org(ellen.veritas.com[10.180.88.137]) (1238 bytes) by megami via sendmail with P:esmtp/R:smart_host/T:smtp (sender: ) id for ; Mon, 20 Jan 2003 13:30:08 -0800 (PST) (Smail-3.2.0.101 1997-Dec-17 #15 built 2001-Aug-30) Message-ID: <3E2C6A5C.3AA4D0E3@gnu.org> Date: Mon, 20 Jan 2003 21:30:00 -0000 From: Bruce Korb X-Accept-Language: en MIME-Version: 1.0 To: Chris Hamilton CC: gdb@sources.redhat.com Subject: Re: popen References: <3E2C6377.5030600@navtechinc.com> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-SW-Source: 2003-01/txt/msg00349.txt.bz2 Chris Hamilton wrote: > > Bruce, > I came across your September 24th posting about gdb throwing off a > "Cannot find thread 2049" when it hits a popen > (http://sources.redhat.com/ml/insight/2002-q3/msg00185.html). > I'm currently experiencing the same problem in my application, and I was > wondering if you had any advice on how to solve it. printf debugging, I guess. Essentially, the problem boils down to there not being a good implementation of multithreaded process management for GDB on i386. If you are running UnixWare, then Debug works great. Otherwise, you might try a supported multithread platform (Solaris on Sparc??).