summaryrefslogtreecommitdiffstats
path: root/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
diff options
context:
space:
mode:
authorTodd Fiala <todd.fiala@gmail.com>2014-05-19 04:57:23 +0000
committerTodd Fiala <todd.fiala@gmail.com>2014-05-19 04:57:23 +0000
commitff6131a958ad0b5f35896a55e63394972651e62a (patch)
tree633844da6f9fce84358f928b5cca254161775b3e /lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
parentcc8c96c1335af3c23a78cf3dbc3690316d43abe8 (diff)
downloadbcm5719-llvm-ff6131a958ad0b5f35896a55e63394972651e62a.tar.gz
bcm5719-llvm-ff6131a958ad0b5f35896a55e63394972651e62a.zip
Add support for gdb remote $X stop notification.
debugserver now returns $X09 as the immediate response to a $k kill process request rather than $W09. ProcessGDBRemote now properly handles X as indication of a process exit state. The @debugserver_test and @lldb_test for $k now properly expects an X notification (signal-caused exit) after killing a just-attached inferior that was still in the stopped state. llvm-svn: 209108
Diffstat (limited to 'lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp')
-rw-r--r--lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp b/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
index 8edc554a443..b79a6974455 100644
--- a/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
+++ b/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
@@ -1799,6 +1799,7 @@ ProcessGDBRemote::SetThreadStopInfo (StringExtractor& stop_packet)
break;
case 'W':
+ case 'X':
// process exited
return eStateExited;
OpenPOWER on IntegriCloud