How to debug MDNS backend

keens312 keens312 at hotmail.com
Tue Aug 12 19:21:42 PDT 2008


Hi Michael,

I was trying to debug mdns with gdb but got a problem.

I passed 6 parameter to mdns.

break at mdns.c main function and step through.

It will call execv(filename, argv) at last.

The file name is the path to mdns backend, so it run itself again?

If I attach the process to continue the debug, it will go the same routine and call execv again.

Is this a dead lock? why the backend keep calling it self? or am I use the wrong way to debug mdns?

Thanks
Keene







More information about the cups mailing list