[RFA] Fix setting of VSX registers

Tom Tromey tromey@redhat.com
Wed Jul 28 21:34:00 GMT 2010


>>>>> "Thiago" == Thiago Jung Bauermann <bauerman@br.ibm.com> writes:

Tom> I don't understand why the new gdb_test calls have an empty "message"
Tom> argument.

Thiago> So that they don't increase the test count. They are just sending
Thiago> command to GDB to set the stage for the actual tests, they're of no
Thiago> intrinsic interest to the testcase.

Yeah, that makes sense.  This is a sort of generic problem in dejagnu.

Anyway, I am not sure this approach will work, because gdb_test calls
gdb_test_multiple, which has a different default and which also may call
'fail'.

One approach would be to refactor these procs so that your use can work.
I think this would be nice to have -- I think it would be good to have
fewer boilerplate tests with "synthetic" names, ones that nobody is
interested in.

Another approach would be to just give up and add a new test.  That is
sort of more traditional ;-)

Tom



More information about the Gdb-patches mailing list