summaryrefslogtreecommitdiffstats
path: root/lldb/source/Plugins
diff options
context:
space:
mode:
authorJim Ingham <jingham@apple.com>2012-07-27 23:57:19 +0000
committerJim Ingham <jingham@apple.com>2012-07-27 23:57:19 +0000
commitcfc0935ed958e75d2d3d50730d57c8ce2178704f (patch)
tree78155e58ebdae61441b292e943729ee4d284ed93 /lldb/source/Plugins
parentae5bbfc0d00c89d2d63f37dce89804c4160cf50c (diff)
downloadbcm5719-llvm-cfc0935ed958e75d2d3d50730d57c8ce2178704f.tar.gz
bcm5719-llvm-cfc0935ed958e75d2d3d50730d57c8ce2178704f.zip
Added an lldb_private & equivalent SB API to send an AsyncInterrupt to the event loop.
Convert from calling Halt in the lldb Driver.cpp's input reader's sigint handler to sending this AsyncInterrupt so it can be handled in the event loop. If you are attaching and get an async interrupt, abort the attach attempt. Also remember to destroy the process if get interrupted while attaching. Getting this to work also required handing the eBroadcastBitInterrupt in a few more places in Process WaitForEvent & friends. <rdar://problem/10792425> llvm-svn: 160903
Diffstat (limited to 'lldb/source/Plugins')
-rw-r--r--lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp b/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
index 15f513d272a..35994bcb2d7 100644
--- a/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
+++ b/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
@@ -1868,7 +1868,7 @@ ProcessGDBRemote::DoDestroy ()
{
if (log)
log->Printf ("ProcessGDBRemote::DoDestroy - failed to send k packet");
- exit_string.assign ("killing while attaching.");
+ exit_string.assign ("killed or interrupted while attaching.");
}
}
else
OpenPOWER on IntegriCloud