Fix TestRegisters on remote target.
authorChaoren Lin <chaorenl@google.com>
Mon, 16 Feb 2015 06:17:51 +0000 (06:17 +0000)
committerChaoren Lin <chaorenl@google.com>
Mon, 16 Feb 2015 06:17:51 +0000 (06:17 +0000)
commita06c7997290d5b083da72132769099c02edd71e0
tree2b48fabf519325e76e877da2010968bb9cac9990
parente7a9cdbd200060168a348db1705cb8eccd65241a
Fix TestRegisters on remote target.

Summary:
Using spawnSubprocess instead of forkSubprocess, so that the subprocess
spawns on the target and not the host.

Requires http://reviews.llvm.org/D7660 for cleanup.

Test Plan: TestRegisters.py passing.

Reviewers: ovyalov, vharron, clayborg

Subscribers: lldb-commits

Differential Revision: http://reviews.llvm.org/D7661

llvm-svn: 229357
lldb/test/functionalities/register/TestRegisters.py