Dejagnu testsuite

Jason Molenda jmolenda@apple.com
Thu Apr 15 09:20:00 GMT 2004


On Apr 14, 2004, at 1:20 PM, Manoj Iyer wrote:

>
> ok, go it! I was able to run the testcase, now I am trying to determine
> why the testcase broke/failed, is there a way to re-create the failure
> manually by running GDB against the test (using the assertion) that
> failed?

See the gdb/testsuite/gdb.log file for what was going on.

> For example how does the testcase translate variables like $hex? how 
> does
> it know that $hex is the right value that GDB prints??


It's a convenience regexp which matches a hex value.  $decimal, $ws 
(whitespace), $nl, etc. are also used in test cases.

J



More information about the Gdb mailing list