GDB testsuite questions

Andreas Schwab schwab@linux-m68k.org
Tue Nov 11 20:08:00 GMT 2014


David Taylor <dtaylor@emc.com> writes:

> . how to grab part of the each of the responses to multiple gdb commands
> and do arithmetric on the result to decide whether the test failed or
> passed.

Use the expect_out variable, there are various examples of its use in
the testsuite.

Andreas.

-- 
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."



More information about the Gdb mailing list