This is the mail archive of the gdb@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

gdb and accept and threads


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]