This is the mail archive of the gdb@sources.redhat.com 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]

When is a tid a lwp and vice versa?


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>
 


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