This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
When is a tid a lwp and vice versa?
- To: <gdb at sourceware dot cygnus dot com>
- Subject: When is a tid a lwp and vice versa?
- From: "John Hughes" <john at Calva dot COM>
- Date: Fri, 29 Jun 2001 10:52:02 +0200
I'm playing with the 20010627 snapshot on a UnixWare system.
Work's ok but when debugging non-threaded programs I get lots
of "warning: procfs: resume can't find thread 1 -- resuming all."
messages.
This is 'cos the single entry in procinfo_list has pi->tid set
to 0, but procfs_resume is calling find_procinfo with
TIDGET(inferior_ptid), which returns the lwpid, which is 1
not zero.
Any ideas?
--
John Hughes <john@Calva.COM>