Re: Status of 'blacklist' patch?

Joel Brobecker
2011-10-26T05:37:17Z

> You need a gdb_expect after the send_gdb, otherwise the output from
> the step leaks into the next gdb_test and things get confused in the
> way you're seeing. I would use gdb_test for the "step" also, it's
> much simpler; send_gdb is only needed for unusual testing
> situations, and this is not one of them. :-)

Actually, I am going to say something a little stronger: you must NOT
use send_gdb/gdb_expect unless you have a good reason to do so. I know
that many old test still use them, but I guess we didn't know better
at the time...

--
Joel