When is a tid a lwp and vice versa?

John Hughes john@Calva.COM
Fri Jun 29 01:52:00 GMT 2001

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

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>

More information about the Gdb mailing list