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)
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)
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)
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()
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()
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)
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)