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

2021-11-10 Thread Michał Górny via Phabricator via lldb-commits
This revision was not accepted when it landed; it landed in state "Needs Review". This revision was automatically updated to reflect the committed changes. Closed by commit rG3f1372365ac6: [lldb] Support gdbserver signals (authored by mgorny). Herald added a project: LLDB. Changed prior to commi

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

2021-11-09 Thread Pavel Labath via Phabricator via lldb-commits
labath accepted this revision. labath added inline comments. Comment at: lldb/test/API/functionalities/gdb_remote_client/TestGDBRemoteClient.py:486 + lldb.eStopReasonSignal) +# NB: this may need adjusting per current platform +self.assertE

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

2021-11-09 Thread Michał Górny via Phabricator via lldb-commits
mgorny updated this revision to Diff 385917. mgorny edited the summary of this revision. mgorny added a comment. Add fallback to `QThreadSuffixSupported` and a respective test. Improve the summary. CHANGES SINCE LAST ACTION https://reviews.llvm.org/D108078/new/ https://reviews.llvm.org/D1080

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

2021-11-09 Thread Pavel Labath via Phabricator via lldb-commits
labath added a comment. It would be nice if the commit message/summary included more details about the differences in signal handling (the things we talked about on irc), but generally, I think this patch looks good. The only thing that's missing is interoperability with older lldb-compatible

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

2021-09-07 Thread Michał Górny via Phabricator via lldb-commits
mgorny updated this revision to Diff 371011. mgorny marked an inline comment as done. mgorny added a comment. Rebased. CHANGES SINCE LAST ACTION https://reviews.llvm.org/D108078/new/ https://reviews.llvm.org/D108078 Files: lldb/packages/Python/lldbsuite/test/tools/lldb-server/gdbremote_tes

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

2021-08-19 Thread Michał Górny via Phabricator via lldb-commits
mgorny marked an inline comment as done. mgorny added inline comments. Comment at: lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerCommon.cpp:1344 "qEcho+", + "native-signals+", }; JDevlieghere wrote: > What about `debugserver`,

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

2021-08-19 Thread Michał Górny via Phabricator via lldb-commits
mgorny updated this revision to Diff 367414. mgorny added a comment. Advertise `native-signals+` in debugserver too. CHANGES SINCE LAST ACTION https://reviews.llvm.org/D108078/new/ https://reviews.llvm.org/D108078 Files: lldb/packages/Python/lldbsuite/test/tools/lldb-server/gdbremote_testc

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

2021-08-18 Thread Jonas Devlieghere via Phabricator via lldb-commits
JDevlieghere requested changes to this revision. JDevlieghere added a comment. This revision now requires changes to proceed. Didn't mean to accept yet (originally I thought the native-signals check was inverted) CHANGES SINCE LAST ACTION https://reviews.llvm.org/D108078/new/ https://reviews

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

2021-08-18 Thread Jonas Devlieghere via Phabricator via lldb-commits
JDevlieghere accepted this revision. JDevlieghere added a comment. This revision is now accepted and ready to land. LGTM Comment at: lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerCommon.cpp:1344 "qEcho+", + "native-signals+", };

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

2021-08-16 Thread Michał Górny via Phabricator via lldb-commits
mgorny updated this revision to Diff 366621. mgorny retitled this revision from "[lldb] Support gdbserver signals [WIP]" to "[lldb] Support gdbserver signals". mgorny edited the summary of this revision. mgorny added a comment. Included all signals from `include/gdb/signals.def`. CHANGES SINCE

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

2021-08-15 Thread Michał Górny via Phabricator via lldb-commits
mgorny updated this revision to Diff 366487. mgorny edited the summary of this revision. mgorny added a comment. Added client tests for GDB and LLDB signal variants. Moved signal init into `DidLaunchOrAttach`, in order to have normalized target triple already (needed for correct os-name in test)

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

2021-08-14 Thread Michał Górny via Phabricator via lldb-commits
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 'nat