This is the mail archive of the gdb@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: gdb 5, linuxthreads, working??


"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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]