This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Testing of reverse debug commands


Hello all,

If you were to take a look at the expect scripts for any of the
tests I've submitted for testing reverse debugging, you would
notice a couple of FIXME comments in there, eg.:

    gdb_test "record" "" "Turn on process record"
    # FIXME: command ought to acknowledge, so we can test if it succeeded.

    gdb_test "set exec-dir reverse" "" "set reverse execution"
    # FIXME: command needs to acknowledge, so we can test if it succeeded.

This is my concern.  These commands don't produce any output,
so we can't directly test whether they succeeded or not.

So I'm asking for input.  Do you think we should make these
commands generate a little output, so we know they worked?

Or do we just depend on the following tests to fail if they didn't?

Cheers,
Michael


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]