This is the mail archive of the gdb@sourceware.org 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]
Other format: [Raw text]

automate gdb process run


Hi,

I would like to run the following:

loop
	Gdb clientProgram
	..... connects to server
	If exit code of clientProgram is 0
	  Quit gdb
	Else
	  Stop loop
End loop


I could use a shell, or gdb command file or a combination...

Any ideas?

Rds,

Hicham Mouline



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