This is an archive of the discontinued LLVM Phabricator instance.

[lldb] [gdb-remote] Abstract sending ^c packet into SendCtrlC() method
Needs ReviewPublic

Authored by mgorny on Oct 2 2022, 3:49 AM.

Details

Summary

Abstract sending ^c packet into a dedicated
GDBRemoteClientBase::SendCtrlC() method. This makes it possible to avoid
exposing the complete Write() method in the API.

Sponsored by: The FreeBSD Foundation

Diff Detail

Event Timeline

mgorny created this revision.Oct 2 2022, 3:49 AM
Herald added a project: Restricted Project. · View Herald TranscriptOct 2 2022, 3:49 AM
Herald added a subscriber: arichardson. · View Herald Transcript

Maybe we want to call it SendInterrupt? Looks fine to me as a minor tidy-up either way.