[Lldb-commits] [lldb] r291553 - [LLDB][MIPS] Revert TestLldbGdbServer failure for MIPS
Nitesh Jain via lldb-commits
lldb-commits at lists.llvm.org
Tue Jan 10 01:18:57 PST 2017
Author: nitesh.jain
Date: Tue Jan 10 03:18:56 2017
New Revision: 291553
URL: http://llvm.org/viewvc/llvm-project?rev=291553&view=rev
Log:
[LLDB][MIPS] Revert TestLldbGdbServer failure for MIPS
Removed:
lldb/trunk/Python/
Modified:
lldb/trunk/packages/Python/lldbsuite/test/tools/lldb-server/TestLldbGdbServer.py
Modified: lldb/trunk/packages/Python/lldbsuite/test/tools/lldb-server/TestLldbGdbServer.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/tools/lldb-server/TestLldbGdbServer.py?rev=291553&r1=291552&r2=291553&view=diff
==============================================================================
--- lldb/trunk/packages/Python/lldbsuite/test/tools/lldb-server/TestLldbGdbServer.py (original)
+++ lldb/trunk/packages/Python/lldbsuite/test/tools/lldb-server/TestLldbGdbServer.py Tue Jan 10 03:18:56 2017
@@ -20,11 +20,10 @@ import platform
import signal
from lldbsuite.test.decorators import *
from lldbsuite.test.lldbtest import *
-from lldbsuite.test.lldbdwarf import *
from lldbsuite.test import lldbutil
-class LldbGdbServerTestCase(gdbremote_testcase.GdbRemoteTestCaseBase, DwarfOpcodeParser):
+class LldbGdbServerTestCase(gdbremote_testcase.GdbRemoteTestCaseBase):
mydir = TestBase.compute_mydir(__file__)
@@ -542,10 +541,6 @@ class LldbGdbServerTestCase(gdbremote_te
self.assertIsNotNone(reg_infos)
self.assertTrue(len(reg_infos) > 0)
- inferior_exe_path = os.path.abspath("a.out")
- Target = self.dbg.CreateTarget(inferior_exe_path)
- byte_order = Target.GetByteOrder()
-
# Read value for each register.
reg_index = 0
for reg_info in reg_infos:
@@ -570,9 +565,6 @@ class LldbGdbServerTestCase(gdbremote_te
# Verify the response length.
p_response = context.get("p_response")
self.assertIsNotNone(p_response)
-
- if "dynamic_size_dwarf_expr_bytes" in reg_info:
- self.updateRegInfoBitsize(reg_info, byte_order)
self.assertEqual(len(p_response), 2 * int(reg_info["bitsize"]) / 8)
# Increment loop
More information about the lldb-commits
mailing list