Status of 'blacklist' patch?

Joel Brobecker brobecker@adacore.com
Wed Oct 26 08:10:00 GMT 2011


> 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



More information about the Gdb-patches mailing list