[Lldb-commits] [lldb] r210821 - Fix up extra whitespace from previous commit.
Todd Fiala
todd.fiala at gmail.com
Thu Jun 12 13:50:30 PDT 2014
Author: tfiala
Date: Thu Jun 12 15:50:30 2014
New Revision: 210821
URL: http://llvm.org/viewvc/llvm-project?rev=210821&view=rev
Log:
Fix up extra whitespace from previous commit.
Modified:
lldb/trunk/test/tools/lldb-gdbserver/TestLldbGdbServer.py
lldb/trunk/test/tools/lldb-gdbserver/lldbgdbserverutils.py
Modified: lldb/trunk/test/tools/lldb-gdbserver/TestLldbGdbServer.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/tools/lldb-gdbserver/TestLldbGdbServer.py?rev=210821&r1=210820&r2=210821&view=diff
==============================================================================
--- lldb/trunk/test/tools/lldb-gdbserver/TestLldbGdbServer.py (original)
+++ lldb/trunk/test/tools/lldb-gdbserver/TestLldbGdbServer.py Thu Jun 12 15:50:30 2014
@@ -486,10 +486,10 @@ class LldbGdbServerTestCase(TestBase):
def select_modifiable_register(self, reg_infos):
"""Find a register that can be read/written freely."""
PREFERRED_REGISTER_NAMES = sets.Set(["rax",])
-
+
# First check for the first register from the preferred register name set.
alternative_register_index = None
-
+
self.assertIsNotNone(reg_infos)
for reg_info in reg_infos:
if ("name" in reg_info) and (reg_info["name"] in PREFERRED_REGISTER_NAMES):
@@ -2205,7 +2205,7 @@ class LldbGdbServerTestCase(TestBase):
self.assertIsNotNone(reg_index)
reg_byte_size = int(reg_infos[reg_index]["bitsize"]) / 8
self.assertTrue(reg_byte_size > 0)
-
+
# Run the process a bit so threads can start up, and collect register info.
context = self.run_process_then_stop(run_seconds=1)
self.assertIsNotNone(context)
Modified: lldb/trunk/test/tools/lldb-gdbserver/lldbgdbserverutils.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/tools/lldb-gdbserver/lldbgdbserverutils.py?rev=210821&r1=210820&r2=210821&view=diff
==============================================================================
--- lldb/trunk/test/tools/lldb-gdbserver/lldbgdbserverutils.py (original)
+++ lldb/trunk/test/tools/lldb-gdbserver/lldbgdbserverutils.py Thu Jun 12 15:50:30 2014
@@ -351,9 +351,9 @@ def pack_register_hex(endian, value, byt
retval = value.encode("hex")
if byte_size:
# Add zero-fill to the left/front (MSB side) of the value.
- retval = ("00" * (byte_size - len(retval)/2)) + retval
+ retval = ("00" * (byte_size - len(retval)/2)) + retval
return retval
-
+
else:
# pdp is valid but need to add parse code once needed.
raise Exception("unsupported endian:{}".format(endian))
More information about the lldb-commits
mailing list