This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug threads/9635] Cannot find new threads: generic error
- From: "pedro at codesourcery dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Wed, 1 Jun 2011 15:48:37 +0000
- Subject: [Bug threads/9635] Cannot find new threads: generic error
- Auto-submitted: auto-generated
- References: <bug-9635-4717@http.sourceware.org/bugzilla/>
http://sourceware.org/bugzilla/show_bug.cgi?id=9635
--- Comment #9 from Pedro Alves <pedro at codesourcery dot com> 2011-06-01 15:48:33 UTC ---
The patch breaks thread debugging of threaded static programs. E.g., the
gdb.threads/staticthreads test:
Breakpoint 3, ps_pglobal_lookup (ph=0xf248f8, obj=0x7ffff5b84541
"libpthread.so.0", name=0x7ffff5b84665 "nptl_version", sym_addr=0x7fffffffd5c8)
at ../../src/gdb/proc-service.c:207
207 ALL_OBJFILES (objfile)
There's no libpthread.so loaded by this program, so all symbol lookups
thread_db tries fail...
Any ideas?
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.