This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
testsuites, reverse, and is_remote(target)
- From: Michael Snyder <msnyder at vmware dot com>
- To: gdb at sourceware dot org
- Date: Thu, 22 Oct 2009 13:12:56 -0700
- Subject: testsuites, reverse, and is_remote(target)
Hey guys,
I've been stuck for a while on my reverse debugging tests,
which has been holding me back from activating them so that
they run by default.
The difficulty is detecting when I should run them as native,
and when they should run as remote. For native, I would use
the process record commands such as "record". Remote would
be something like Simics or UndoDB or VMware.
The typical test, "is_remote target", doesn't really help because
all it does is compare to see whether target == host. Not much
help if both are, say, i386-linux.
I can test for target == i386-linux, and run the tests with
process record, but that would not work for remote targets.
Any suggestions?
Michael