This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: gdb Stopped in pthread_create
- From: Jim Blandy <jimb at codesourcery dot com>
- To: "Oleg V. Zhylin" <ovz at yahoo dot com>
- Cc: gdb at sourceware dot org
- Date: Mon, 23 Jul 2007 10:05:20 -0700
- Subject: Re: gdb Stopped in pthread_create
- References: <330935.17438.qm@web56610.mail.re3.yahoo.com>
"Oleg V. Zhylin" <ovz@yahoo.com> writes:
> I've tried to debug my multithreaded application with gdb 6.6 (GNU
> gdb Red Hat Linux (6.6-15.fc7rh) ), but inside pthread_create call I
> get
>
> [1]+ Stopped gdb ./a.out
>
> If I use ddd on the same machine pthread_create works just fine.
That's very surprising. Doesn't DDD just run GDB internally?
> I get this error on all Linux boxes and GUI is not available on all of
> them. Is there a way to configure gdb so that it could tolerate
> pthread_create?
This is a bug; GDB should be able to step over calls to
pthread_create.
If you haven't already, please try downloading the latest GDB sources
from CVS (see http://sourceware.org/gdb/current/) and see if the
problem still occurs. If it does, then if you can post instructions
here that allow us to reproduce the problem on our own machines, then
I will try to fix it.