From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28485 invoked by alias); 21 Jan 2003 02:01:02 -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 28298 invoked from network); 21 Jan 2003 02:00:58 -0000 Received: from unknown (HELO crack.them.org) (65.125.64.184) by 172.16.49.205 with SMTP; 21 Jan 2003 02:00:58 -0000 Received: from nevyn.them.org ([66.93.61.169] ident=mail) by crack.them.org with asmtp (Exim 3.12 #1 (Debian)) id 18apbK-0002Fc-00; Mon, 20 Jan 2003 22:01:26 -0600 Received: from drow by nevyn.them.org with local (Exim 3.36 #1 (Debian)) id 18anid-0004dd-00; Mon, 20 Jan 2003 21:00:51 -0500 Date: Tue, 21 Jan 2003 02:01:00 -0000 From: Daniel Jacobowitz To: Bruce Korb Cc: Chris Hamilton , gdb@sources.redhat.com Subject: Re: popen Message-ID: <20030121020051.GA17791@nevyn.them.org> Mail-Followup-To: Bruce Korb , Chris Hamilton , gdb@sources.redhat.com References: <3E2C6377.5030600@navtechinc.com> <3E2C6A5C.3AA4D0E3@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3E2C6A5C.3AA4D0E3@gnu.org> User-Agent: Mutt/1.5.1i X-SW-Source: 2003-01/txt/msg00350.txt.bz2 On Mon, Jan 20, 2003 at 01:30:04PM -0800, Bruce Korb wrote: > 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??). Popen should not present this problem. I don't know why it does, so we need more information. Meanwhile multi-process debugging is forthcoming. The Linux kernel patches are already in and I have more GDB patches queued. -- Daniel Jacobowitz MontaVista Software Debian GNU/Linux Developer