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]

Re: Testing of reverse debug commands


Jan Kratochvil wrote:
On Sun, 12 Jul 2009 10:01:45 +0200, Joel Brobecker wrote:
    gdb_test "record" "" "Turn on process record"
    # FIXME: command ought to acknowledge, so we can test if it succeeded.
This is just a shot in the dark since I really don't have much time
to double-check this, but does gdb_test_multiple allow you to verify
that no output was generated? For some reason, I thought it did.

This one works but not sure if it cannot have some problems:


set cmd "set verbose 0"
gdb_test $cmd "[string_to_regexp $cmd]"

Hmm, ok, three people so far have responded with work-arounds (thanks).

Does that mean y'all lean toward NOT making the
commands generate some output of their own?

Now would be the time to decide, before the first official release...


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