From mboxrd@z Thu Jan 1 00:00:00 1970 From: teg@redhat.com (Trond Eivind Glomsrød) To: "Oldham, Adam" Cc: "'gdb@sourceware.cygnus.com'" Subject: Re: gdb 5, linuxthreads, working?? Date: Fri, 25 May 2001 14:25:00 -0000 Message-id: References: X-SW-Source: 2001-05/msg00330.html "Oldham, Adam" 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.