diff options
author | Michal Gorny <mgorny@gentoo.org> | 2019-09-17 09:31:00 +0000 |
---|---|---|
committer | Michal Gorny <mgorny@gentoo.org> | 2019-09-17 09:31:00 +0000 |
commit | e4d25e9e16278d7926ec43c6ea7571e869d0a619 (patch) | |
tree | 9e80e2a79e098a25713d11d4ff9d2c68a07dad8f /lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerLLGS.cpp | |
parent | 48de660bbf0d824df77402c8856320fe534c2615 (diff) | |
download | bcm5719-llvm-e4d25e9e16278d7926ec43c6ea7571e869d0a619.tar.gz bcm5719-llvm-e4d25e9e16278d7926ec43c6ea7571e869d0a619.zip |
[lldb] [Process/gdb-remote] Fix defaulting signal to invalid in action list
Fix processing of "C" packet with signal for the whole process to
default signal value for action list to LLDB_INVALID_SIGNAL_NUMBER
rather than 0.
Differential Revision: https://reviews.llvm.org/D67625
llvm-svn: 372090
Diffstat (limited to 'lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerLLGS.cpp')
-rw-r--r-- | lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerLLGS.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerLLGS.cpp b/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerLLGS.cpp index ac579efd31b..63c89d002cb 100644 --- a/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerLLGS.cpp +++ b/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerLLGS.cpp @@ -1383,7 +1383,8 @@ GDBRemoteCommunicationServerLLGS::Handle_C(StringExtractorGDBRemote &packet) { packet, "unexpected content after $C{signal-number}"); } - ResumeActionList resume_actions(StateType::eStateRunning, 0); + ResumeActionList resume_actions(StateType::eStateRunning, + LLDB_INVALID_SIGNAL_NUMBER); Status error; // We have two branches: what to do if a continue thread is specified (in @@ -3322,4 +3323,4 @@ std::string GDBRemoteCommunicationServerLLGS::XMLEncodeAttributeValue( } } return result; -}
\ No newline at end of file +} |