Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Michael Snyder <msnyder@vmware.com>
To: gdb@sourceware.org, Hui Zhu <teawater@gmail.com>
Subject: Testing of reverse debug commands
Date: Sun, 12 Jul 2009 00:44:00 -0000	[thread overview]
Message-ID: <4A5930EE.3040201@vmware.com> (raw)

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


             reply	other threads:[~2009-07-12  0:44 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-07-12  0:44 Michael Snyder [this message]
2009-07-12  8:02 ` Joel Brobecker
2009-07-12 14:20   ` Pedro Alves
2009-07-12 14:29   ` Jan Kratochvil
2009-07-12 17:19     ` Michael Snyder
2009-07-12 18:19       ` Joel Brobecker
2009-07-12 18:25       ` Pedro Alves
2009-07-12 18:50       ` Marc Khouzam
2009-07-12 19:07         ` Pedro Alves
2009-07-12 19:26           ` Marc Khouzam

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4A5930EE.3040201@vmware.com \
    --to=msnyder@vmware.com \
    --cc=gdb@sourceware.org \
    --cc=teawater@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox