This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: Program no longest exists?
- From: Daniel Jacobowitz <drow at false dot org>
- To: Alvin Beach <abeach at deepvision dot ca>
- Cc: gdb at sources dot redhat dot com
- Date: Mon, 6 Jun 2005 09:21:59 -0400
- Subject: Re: Program no longest exists?
- References: <200506061016.47931.abeach@deepvision.ca>
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