Debugging a Program With dbx

Understanding LWP Information

Normally, you need not be aware of LWPs. There are times, however, when thread level queries cannot be completed. In this case, use the lwps command to show information about LWPs.


(dbx) lwps 	l@1 running in main()
 	l@2 running in sigwait()
 	l@3 running in _lwp_sema_wait()
 *>l@4 breakpoint in Queue_dequeue()
 	l@5 running in _thread_start()
(dbx)