This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: fork and pthreads
- From: Daniel Jacobowitz <drow at false dot org>
- To: Sébastien Roret <sroret at eprocess dot fr>
- Cc: gdb at sources dot redhat dot com
- Date: Fri, 30 Sep 2005 09:08:03 -0400
- Subject: Re: fork and pthreads
- References: <loom.20050930T114252-296@post.gmane.org>
On Fri, Sep 30, 2005 at 09:58:05AM +0000, Sébastien Roret wrote:
> Hi,
>
> I'm having some problems using fork() with threads.
> I'm using a debian linux on Intel, gdb 6.3, glibc 2.3.3 and 2.3.5
> If I call forks before using threads it's ok, but not the other way.
> The problem occurs only with gdb.
> See below the testcase and output I got.
> My question : is it a bug, or did I missed something ?
Please try a CVS snapshot (6.3.50.*) and let us know if that works
better.
--
Daniel Jacobowitz
CodeSourcery, LLC