Hi clayborg, tfiala,

In noack mode, these checksums are ignored by llgs, but some implementations 
need them still. Specify these checksums to ease integration.

http://reviews.llvm.org/D6343

Files:
  test/tools/lldb-gdbserver/TestLldbGdbServer.py
  test/tools/lldb-gdbserver/gdbremote_testcase.py
  test/tools/lldb-gdbserver/inferior-crash/TestGdbRemoteAbort.py
  test/tools/lldb-gdbserver/inferior-crash/TestGdbRemoteSegFault.py
Index: test/tools/lldb-gdbserver/TestLldbGdbServer.py
===================================================================
--- test/tools/lldb-gdbserver/TestLldbGdbServer.py
+++ test/tools/lldb-gdbserver/TestLldbGdbServer.py
@@ -127,7 +127,7 @@
         self.add_no_ack_remote_stream()
         self.add_verified_launch_packets(launch_args)
         self.test_sequence.add_log_lines(
-            ["read packet: $vCont;c#00",
+            ["read packet: $vCont;c#a8",
              "send packet: $W00#00"],
             True)
 
@@ -159,7 +159,7 @@
         self.add_no_ack_remote_stream()
         self.add_verified_launch_packets(launch_args)
         self.test_sequence.add_log_lines(
-            ["read packet: $vCont;c#00",
+            ["read packet: $vCont;c#a8",
              "send packet: $W{0:02x}#00".format(RETVAL)],
             True)
 
@@ -219,7 +219,7 @@
         self.add_no_ack_remote_stream()
         self.add_verified_launch_packets(launch_args)
         self.test_sequence.add_log_lines(
-            ["read packet: $vCont;c#00",
+            ["read packet: $vCont;c#a8",
              {"type":"output_match", "regex":r"^hello, world\r\n$" },
              "send packet: $W00#00"],
             True)
@@ -275,7 +275,7 @@
     def attach_commandline_continue_app_exits(self):
         procs = self.prep_debug_monitor_and_inferior()
         self.test_sequence.add_log_lines(
-            ["read packet: $vCont;c#00",
+            ["read packet: $vCont;c#a8",
              "send packet: $W00#00"],
             True)
         self.expect_gdbremote_sequence()
Index: test/tools/lldb-gdbserver/gdbremote_testcase.py
===================================================================
--- test/tools/lldb-gdbserver/gdbremote_testcase.py
+++ test/tools/lldb-gdbserver/gdbremote_testcase.py
@@ -689,7 +689,7 @@
     def run_process_then_stop(self, run_seconds=1):
         # Tell the stub to continue.
         self.test_sequence.add_log_lines(
-             ["read packet: $vCont;c#00"],
+             ["read packet: $vCont;c#a8"],
              True)
         context = self.expect_gdbremote_sequence()
 
Index: test/tools/lldb-gdbserver/inferior-crash/TestGdbRemoteAbort.py
===================================================================
--- test/tools/lldb-gdbserver/inferior-crash/TestGdbRemoteAbort.py
+++ test/tools/lldb-gdbserver/inferior-crash/TestGdbRemoteAbort.py
@@ -18,7 +18,7 @@
         self.assertIsNotNone(procs)
 
         self.test_sequence.add_log_lines([
-            "read packet: $vCont;c#00",
+            "read packet: $vCont;c#a8",
             {"direction":"send", "regex":r"^\$T([0-9a-fA-F]{2}).*#[0-9a-fA-F]{2}$", "capture":{ 1:"hex_exit_code"} },
             ], True)
 
Index: test/tools/lldb-gdbserver/inferior-crash/TestGdbRemoteSegFault.py
===================================================================
--- test/tools/lldb-gdbserver/inferior-crash/TestGdbRemoteSegFault.py
+++ test/tools/lldb-gdbserver/inferior-crash/TestGdbRemoteSegFault.py
@@ -20,7 +20,7 @@
         self.assertIsNotNone(procs)
 
         self.test_sequence.add_log_lines([
-            "read packet: $vCont;c#00",
+            "read packet: $vCont;c#a8",
             {"direction":"send", "regex":r"^\$T([0-9a-fA-F]{2}).*#[0-9a-fA-F]{2}$", "capture":{ 1:"hex_exit_code"} },
             ], True)
 
_______________________________________________
lldb-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/lldb-commits

Reply via email to