>  At step 5, it will context switch to pthsock_client_read () at eval.c:41.
>  But I cannot find eval.c file, and pthsock_client_read was found in  
> /pthsock/client.c. 
>  My question listed as following:
>  1. Where is the eval.c resided in? I can't set breakpoint at this.

I have no idea. pthsock_client_read() is indeed in pthsock/client.c.
Does it work to simply set a breakpoint there?

>  2. Why can I not find any threads when I tyep "info threads" in GDB? 

jabberd uses GNU Pth for threading, which are cooperative userspace
threads. "info threads" gives information about kernel threads
(pthreads), which aren't used.

Rob.

-- 
Robert Norris                                       GPG: 1024D/FC18E6C2
Email+Jabber: [EMAIL PROTECTED]                Web: http://cataclysm.cx/

Attachment: pgp00000.pgp
Description: PGP signature

Reply via email to