[JDEV] The flow when a jabber:iq:register packet coming
Ru-Shan Cheng
minamy at pchome.com.tw
Tue Jun 17 21:42:32 CDT 2003
hi all,
I use GDB to trace jabber server code.
When client sends a "jabber:iq:register set" packet to jabber server, the frame stack will be :
1. _mio_main : socket read data
2. _mio_xml_parser : call when socket read data
3. XML_Parser : call processor => contentProcessor
4. contentProcessor : call doContent
5. doContent
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.
2. Why can I not find any threads when I tyep "info threads" in GDB?
Thanks a lot!!þïÖÿÿÿþÿÿ/ÆÿÿÓÿÿÁ
_ÿÿÿÞÛiÿÿìixÿ¥ÈhïÜ¢oíÃüÐýgk/ÿÿÿÿÿÿÇÿÿòÿÿãÿÿÿÿÿÿÛiÿÿðÃÞm¬ÿrÿ·
More information about the JDev
mailing list