Re: GDB testsuite questions

Andreas Schwab <[email protected]>
Newsgroups gmane.comp.gdb.devel
Message-ID <[email protected]>
David Taylor <[email protected]> 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, [email protected]
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.