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]

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




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