[all-commits] [llvm/llvm-project] 446b61: [lldb] [gdb-remote] Send interrupt packets from as...
Michał Górny via All-commits
all-commits at lists.llvm.org
Wed Aug 3 09:40:46 PDT 2022
Author: Michał Górny <mgorny at moritz.systems>
Date: 2022-08-03 (Wed, 03 Aug 2022)
[lldb] [gdb-remote] Send interrupt packets from async thread
Refactor the mechanism for sending interrupt packets to send them
from async thread (i.e. the same thread that sends the continue packet
preceding them and that waits for the response), rather than from
the thread requesting the interrupt. This is going to become especially
important when using the vCtrlC packet as part of the non-stop protocol,
as -- unlike the simple ^c sent in the all-stop mode -- this packet
involves an explicit reply.
Suggested by Pavel Labath in D126614.
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.llvm.org/D131075
More information about the All-commits