This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: gdb 5, linuxthreads, working??
- To: "Oldham, Adam" <adam dot oldham at marconi dot com>
- Subject: Re: gdb 5, linuxthreads, working??
- From: teg at redhat dot com (Trond Eivind Glomsrød)
- Date: 25 May 2001 17:25:39 -0400
- Cc: "'gdb at sourceware dot cygnus dot com'" <gdb at sourceware dot cygnus dot com>
- Organization: Red Hat, Inc.
- References: <A3E34B558F5CD211B4980008C7A4A99003883A1A@sparrow.eng.gilbarco.com>
"Oldham, Adam" <adam.oldham@marconi.com> writes:
> Hello,
> I've tried to read as far back as I could in the gdb lists and in newsgroups
> and I cannot figure out what is wrong, so any help would be appreciated. I
> am currectly running Mandrake 7.2 with kernel 2.2.17, glibc 2.1.3, gcc
> 2.95.2, gpc 20010502, and gdb 5. I have a heavy program I have written to
> utilize linuxthreads and calls pthread_create to run the threads. When
> debugging the program with gdb 5 (both the binary distributed with Mandrake
> and compiling from source) i get this with my executable:
> ...
> This GDB was configured as "i686-pc-linux-gnu"...rw_common (): write: No
> such file or directory.
>
> warning: unable to set global thread event mask
> [New Thread 1024 (runnable)]
> rw_common (): write: No such file or directory.
>
> warning: stop_or_attach_thread: generic error
> (gdb)
Sounds like something in Mandrake is broken - thread debugging works
in Red Hat Linux 7.1 (although it certainly could be better - and you
the gdb from Rawhide to get support for more than 32 threads).
--
Trond Eivind Glomsrød
Red Hat, Inc.