commit | a2ef70a8bb68109bb14202d7fdfe6570e51ad18a | [log] [tgz] |
---|---|---|
author | Greg Clayton <gclayton@apple.com> | Thu May 02 17:16:00 2013 +0000 |
committer | Greg Clayton <gclayton@apple.com> | Thu May 02 17:16:00 2013 +0000 |
tree | d5f796b19cb5dd1921fd09986a6cbec4533c99d7 | |
parent | 2ad6fc84c9f6ef835585e3007491efe8cfd33580 [diff] |
Clear the register context if our process is no longer alive. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@180927 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/source/Plugins/Process/Utility/RegisterContextThreadMemory.cpp b/source/Plugins/Process/Utility/RegisterContextThreadMemory.cpp index 98bbc8b..d35a5d0 100644 --- a/source/Plugins/Process/Utility/RegisterContextThreadMemory.cpp +++ b/source/Plugins/Process/Utility/RegisterContextThreadMemory.cpp
@@ -63,6 +63,10 @@ } } } + else + { + m_reg_ctx_sp.reset(); + } } else {