Lines Matching +full:pull +full:- +full:requests

1 """Module for supporting unit testing of the lldb-server debug monitor exe.
26 """Return the lldb-server exe path.
29 A path to the lldb-server exe if it is found to exist; otherwise,
33 return _get_support_exe("lldb-server")
54 r"^(lldb-server|debugserver)\s+<\s*(\d+)>\s+(read|send)\s+packet:\s+(.+)$"
59 """Return whether a given packet is input for lldb-gdbserver.
65 llgs_input_is_read: true if lldb-gdbserver input (content sent to
66 lldb-gdbserver) is listed as 'read' or 'send' in the packet
70 True if the packet should be considered input for lldb-gdbserver; False
86 _STRIP_CHECKSUM_REGEX = re.compile(r"#[0-9a-fA-F]{2}$")
93 # no-ack mode, the # checksum is ignored, and should not be cause
103 """Replay socket communication with lldb-gdbserver and verify responses.
160 # We'll pull from (and wait on) the queue appropriate for the type of matcher.
161 # We keep separate queues for process output (coming from non-deterministic
218 """Given a list of args, create a properly-formed $A packet containing each arg."""
224 # Comma-separate the args.
228 # Hex-encode the arg.
279 …"""Unpack a gdb-remote binary (post-unescaped, i.e. not escaped) response to an unsigned int given…
305 """Unpack a gdb-remote $p-style response to an unsigned int given endianness of inferior."""
327 """Unpack a gdb-remote $p-style response to an unsigned int given endianness of inferior."""
332 # Create the litt-endian return value.
338 # Add zero-fill to the right/end (MSB side) of the value.
339 retval += "00" * (byte_size - len(retval) // 2)
348 # Add zero-fill to the left/front (MSB side) of the value.
349 retval = ("00" * (byte_size - len(retval) // 2)) + retval
378 ignored on exact match requests since negotiation of
379 no-ack makes the checksum content essentially
413 "get_send_packet() called on GdbRemoteEntry that is not a send-to-remote packet"
439 …# It is okay for capture text to be None - which it will be if it is a group that can match nothin…
459 # ignoring the packet checksum which is optional for no-ack
468 "Don't know how to match a remote-sent packet when exact_payload isn't specified."
489 append_iteration_suffix: defaults to False. Specify True if the 0-based iteration
581 # Not done iterating - save the packet.
589 % (len(context[self._save_key]), context[self._save_key][-1])
660 "invalid state - already matched, attempting to match again"
791 pid: an OS-specific representation of a process id. Should be an integral value.
819 ).decode("utf-8")
827 ).decode("utf-8")
843 # Warning: in non-stop mode, we currently handle only the first output
854 _GDB_REMOTE_PACKET_REGEX = re.compile(rb"^([\$%][^\#]*)#[0-9a-fA-F]{2}")
893 # Parse fully-formed packets into individual packets.
936 payload = frame[1:-3]
937 checksum = int(frame[-2:], 16)
989 INVALID_HANDLE_VALUE = -1
1045 self.name = "lldb-" + str(random.randrange(10**10))