gdb and accept and threads

Mathieu Dube mathieu_dube@videotron.ca
Fri Feb 2 07:00:00 GMT 2001


Hi,
	Im trying to debug my multithreaded server with gdb but when I run it
under gdb accept return 0 and the perror I have for that case says "Interupted
system call"
	If I dont run it under gdb it works fine until it crashes at some
point(Im working on its scalability)
	How can I debug it properly? The solution I use now is attaching to the
process at the point where it crashes but that kinda sucks...

	Any ideas?
						Thanks
						-Mat


-- 
Mathieu Dube	
Mondo-Live			
www.flipr.com


More information about the Gdb mailing list