diff options
| author | Greg Clayton <gclayton@apple.com> | 2013-05-02 17:16:00 +0000 |
|---|---|---|
| committer | Greg Clayton <gclayton@apple.com> | 2013-05-02 17:16:00 +0000 |
| commit | 4fea4f27e30f290b88b3975808263db155dbff21 (patch) | |
| tree | f215a2a013d5d78df04de6e6685cdb37b2a35637 | |
| parent | c56781fffaf06f473063e043f49f50a28f9fcf6b (diff) | |
| download | bcm5719-llvm-4fea4f27e30f290b88b3975808263db155dbff21.tar.gz bcm5719-llvm-4fea4f27e30f290b88b3975808263db155dbff21.zip | |
Clear the register context if our process is no longer alive.
llvm-svn: 180927
| -rw-r--r-- | lldb/source/Plugins/Process/Utility/RegisterContextThreadMemory.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lldb/source/Plugins/Process/Utility/RegisterContextThreadMemory.cpp b/lldb/source/Plugins/Process/Utility/RegisterContextThreadMemory.cpp index 98bbc8b8038..d35a5d09570 100644 --- a/lldb/source/Plugins/Process/Utility/RegisterContextThreadMemory.cpp +++ b/lldb/source/Plugins/Process/Utility/RegisterContextThreadMemory.cpp @@ -63,6 +63,10 @@ RegisterContextThreadMemory::UpdateRegisterContext () } } } + else + { + m_reg_ctx_sp.reset(); + } } else { |

