This is the mail archive of the gdb-prs@sourceware.org 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]
Other format: [Raw text]

[Bug threads/9635] Cannot find new threads: generic error


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.


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