Buffering problems with "gdb < foo"

Todd Whitesel toddpw@windriver.com
Tue Mar 7 16:15:00 GMT 2000


> > I think its because y is not a valid GDB command !
> 
> Invalid commands don't cause GDB to exit, they just result in an error
> message.  It would be inconceivable to have GDB exit every time I
> mistype a command ;-).

At least with --comand=script_file, 4.17 would happily dump out with

	Error in sourced command file:

-- 
Todd Whitesel
toddpw @ windriver.com


More information about the Gdb mailing list