Lines Matching refs:context

74         context = self.expect_gdbremote_sequence()
75 self.assertIsNotNone(context)
89 context = self.expect_gdbremote_sequence()
90 self.assertEqual(context.get("thread_id_QC"), context.get("thread_id_?"))
126 context = self.expect_gdbremote_sequence()
127 self.assertIsNotNone(context)
129 reg_info_packet = context.get("reginfo_0")
140 context = self.expect_gdbremote_sequence()
141 self.assertIsNotNone(context)
144 for reg_info in self.parse_register_info_packets(context):
153 context = self.expect_gdbremote_sequence()
154 self.assertIsNotNone(context)
157 reg_infos = self.parse_register_info_packets(context)
182 context = self.expect_gdbremote_sequence()
183 self.assertIsNotNone(context)
186 reg_infos = self.parse_register_info_packets(context)
222 context = self.expect_gdbremote_sequence()
223 self.assertIsNotNone(context)
226 reg_infos = self.parse_register_info_packets(context)
240 context = self.expect_gdbremote_sequence()
241 self.assertIsNotNone(context)
244 threads = self.parse_threadinfo_packets(context)
271 context = self.expect_gdbremote_sequence()
272 self.assertIsNotNone(context)
275 threads = self.parse_threadinfo_packets(context)
282 QC_thread_id_hex = context.get("thread_id")
307 context = self.expect_gdbremote_sequence()
308 self.assertIsNotNone(context)
311 reg_infos = self.parse_register_info_packets(context)
335 context = self.expect_gdbremote_sequence()
336 self.assertIsNotNone(context)
339 p_response = context.get("p_response")
373 context = self.expect_gdbremote_sequence()
374 self.assertIsNotNone(context)
377 self.assertIsNotNone(context.get("thread_id"))
378 self.assertEqual(int(context.get("thread_id"), 16), thread)
441 context = self.expect_gdbremote_sequence()
456 context = self.expect_gdbremote_sequence()
457 self.assertIsNotNone(context)
458 signo = context.get("signo")
462 thread_id = int(context.get("thread_id"), 16)
492 context = self.expect_gdbremote_sequence()
493 self.assertIsNotNone(context)
508 print_thread_id = context.get("print_thread_id")
519 post_handle_thread_id = context.get("post_handle_thread_id")
571 context = self.expect_gdbremote_sequence()
572 self.assertIsNotNone(context)
575 self.assertIsNotNone(context.get("message_address"))
576 message_address = int(context.get("message_address"), 16)
586 context = self.expect_gdbremote_sequence()
587 self.assertIsNotNone(context)
590 self.assertIsNotNone(context.get("read_contents"))
591 read_contents = seven.unhexlify(context.get("read_contents"))
632 context = self.expect_gdbremote_sequence()
633 self.assertIsNotNone(context)
636 self.assertIsNotNone(context.get("code_address"))
637 code_address = int(context.get("code_address"), 16)
644 context = self.expect_gdbremote_sequence()
645 self.assertIsNotNone(context)
646 mem_region_dict = self.parse_memory_region_packet(context)
684 context = self.expect_gdbremote_sequence()
685 self.assertIsNotNone(context)
688 self.assertIsNotNone(context.get("stack_address"))
689 stack_address = int(context.get("stack_address"), 16)
696 context = self.expect_gdbremote_sequence()
697 self.assertIsNotNone(context)
698 mem_region_dict = self.parse_memory_region_packet(context)
737 context = self.expect_gdbremote_sequence()
738 self.assertIsNotNone(context)
741 self.assertIsNotNone(context.get("heap_address"))
742 heap_address = int(context.get("heap_address"), 16)
749 context = self.expect_gdbremote_sequence()
750 self.assertIsNotNone(context)
751 mem_region_dict = self.parse_memory_region_packet(context)
789 context = self.expect_gdbremote_sequence()
790 self.assertIsNotNone(context)
794 process_info = self.parse_process_info_response(context)
799 reg_infos = self.parse_register_info_packets(context)
805 self.assertIsNotNone(context.get("function_address"))
806 function_address = int(context.get("function_address"), 16)
833 context = self.expect_gdbremote_sequence()
834 self.assertIsNotNone(context)
837 stop_signo = context.get("stop_signo")
845 self.assertEqual(len(context["O_content"]), 0)
860 context = self.expect_gdbremote_sequence()
861 self.assertIsNotNone(context)
865 p_response = context.get("p_response")
893 context = self.expect_gdbremote_sequence()
894 self.assertIsNotNone(context)
926 context = self.expect_gdbremote_sequence()
927 self.assertIsNotNone(context)
930 return self.parse_qSupported_response(context)
1030 context = self.expect_gdbremote_sequence()
1031 self.assertIsNotNone(context)
1034 self.assertIsNotNone(context.get("message_address"))
1035 message_address = int(context.get("message_address"), 16)
1058 context = self.expect_gdbremote_sequence()
1059 self.assertIsNotNone(context)
1062 printed_message = context.get("printed_message")
1078 context = self.expect_gdbremote_sequence()
1079 self.assertIsNotNone(context)
1082 reg_infos = self.parse_register_info_packets(context)
1087 process_info = self.parse_process_info_response(context)
1118 context = self.expect_gdbremote_sequence()
1119 self.assertIsNotNone(context)
1121 process_info = self.parse_process_info_response(context)
1126 reg_infos = self.parse_register_info_packets(context)
1151 context = self.expect_gdbremote_sequence()
1152 self.assertIsNotNone(context)
1156 p_response = context.get("p_response")
1175 context = self.expect_gdbremote_sequence()
1176 self.assertIsNotNone(context)
1196 context = self.expect_gdbremote_sequence()
1197 self.assertIsNotNone(context)
1200 p_response = context.get("p_response")
1230 context = self.expect_gdbremote_sequence()
1231 self.assertEqual(context["O_content"],
1252 context = self.expect_gdbremote_sequence()
1253 self.assertEqual(context["O_content"],
1299 context = self.expect_gdbremote_sequence()
1300 self.assertEqual(context["O_content"], b"test\r\na=z\r\n")
1328 context = self.expect_gdbremote_sequence()
1329 self.assertEqual(context["O_content"], b"test\r\na=z\r\na*}#z\r\n")
1350 context = self.expect_gdbremote_sequence()
1351 self.assertIsNotNone(context)
1352 self.assertEqual(int(context["signo"], 16),
1354 crashing_thread = int(context["thread_id"], 16)
1368 context = self.expect_gdbremote_sequence()
1369 self.assertIsNotNone(context)
1372 self.assertEqual(context.get("response_type"), "l")
1375 content_raw = context.get("content_raw")
1380 process_info = self.parse_process_info_response(context)