I'm curious why you would want to automate debugging?
In reply to Re: Automating GDB using perl script by GotToBTru in thread Automating GDB using perl script by perl_sck_58