Fix test breakage in r280919
authorPavel Labath <labath@google.com>
Thu, 8 Sep 2016 11:09:14 +0000 (11:09 +0000)
committerPavel Labath <labath@google.com>
Thu, 8 Sep 2016 11:09:14 +0000 (11:09 +0000)
commit6f22b771c4482900cbc0f1b585a4b94315d3d15e
tree6ee9addd3fceac9fdfc9c3d5904baac6fe87b1bc
parent4acc49e58dd8b8b8bd73453c2bb54cac7e4de127
Fix test breakage in r280919

It turns out that self.dbg.GetSelectedPlatform().GetTriple() is not a good way
to get the triple of the process, as it returns the incorrect triple in case of a
32-bit process running on a 64-bit platform.

Instead, go the long way round and ask the stub for the process triple. This
fixes the test for i386.

llvm-svn: 280922
lldb/packages/Python/lldbsuite/test/tools/lldb-server/TestGdbRemoteModuleInfo.py