[Lldb-commits] [PATCH] D108078: [lldb] Support gdbserver signals [WIP]

Michał Górny via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Sat Aug 14 14:56:46 PDT 2021


mgorny created this revision.
mgorny added reviewers: krytarowski, emaste, labath, jasonmolenda, JDevlieghere.
mgorny requested review of this revision.

Add support for the original gdbserver signal mapping when communicating
with GDB.  If qSupported indicates that we are talking to LLDB (via
'native-signals+'), the previous behavior of using native host signals
is preserved.

TODO: add all gdb signals, add tests


https://reviews.llvm.org/D108078

Files:
  lldb/source/Plugins/Process/Utility/GDBRemoteSignals.cpp
  lldb/source/Plugins/Process/Utility/GDBRemoteSignals.h
  lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp
  lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.h
  lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerCommon.cpp
  lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D108078.366460.patch
Type: text/x-patch
Size: 11003 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20210814/adb98bbb/attachment-0001.bin>


More information about the lldb-commits mailing list