From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17355 invoked by alias); 6 Jun 2005 13:46:21 -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 16721 invoked by uid 22791); 6 Jun 2005 13:45:41 -0000 Received: from nevyn.them.org (HELO nevyn.them.org) (66.93.172.17) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Mon, 06 Jun 2005 13:45:41 +0000 Received: from drow by nevyn.them.org with local (Exim 4.50) id 1DfHYF-0006sU-Pg; Mon, 06 Jun 2005 09:21:59 -0400 Date: Mon, 06 Jun 2005 13:46:00 -0000 From: Daniel Jacobowitz To: Alvin Beach Cc: gdb@sources.redhat.com Subject: Re: Program no longest exists? Message-ID: <20050606132159.GB26360@nevyn.them.org> Mail-Followup-To: Alvin Beach , gdb@sources.redhat.com References: <200506061016.47931.abeach@deepvision.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200506061016.47931.abeach@deepvision.ca> User-Agent: Mutt/1.5.8i X-SW-Source: 2005-06/txt/msg00042.txt.bz2 On Mon, Jun 06, 2005 at 10:16:47AM -0300, Alvin Beach wrote: > Hello all, > > I have recently upgraded from suse 9.1 to suse 9.3. Since upgrading, I can no > longer debug programs that I was able to debug before. > > When I run gdb, the program runs fine as long there are no breakpoints. As > soon as I set a breakpoint and run the program, I get message: > > Program terminated with signal SIGTRAP, Trace/breakpoint trap. > Program no longer exists. > > Sometimes it happens right away, sometime after I step over the breakpoint. > > I have found reference from googling that this may be pthread related? My > programs do use pthread. > > Is there a work-around or fix for this. Without gdb, my programs are no > littered with cerr/printf statements. This is usually a bug in your kernel; maybe SuSE has an update kernel available. -- Daniel Jacobowitz CodeSourcery, LLC