commit | 0bce9a22354df3f00e68ffd912119a0741753b7f | [log] [tgz] |
---|---|---|
author | Greg Clayton <gclayton@apple.com> | Wed Dec 05 00:16:59 2012 +0000 |
committer | Greg Clayton <gclayton@apple.com> | Wed Dec 05 00:16:59 2012 +0000 |
tree | 7a7418fd0fdabd4878d87d7b632593edf43bb3bb | |
parent | bdf98efd294124809e463fa2bcfbd5a453aef60f [diff] [blame] |
<rdar://problem/12649160> Added the ability to debug through your process exec'ing itself to the same architecture. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@169340 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp b/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp index 475e6d2..7bc0300 100644 --- a/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp +++ b/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
@@ -1058,6 +1058,17 @@ DidLaunchOrAttach (); } +void +ProcessGDBRemote::DoDidExec () +{ + // The process exec'ed itself, figure out the dynamic loader, etc... + BuildDynamicRegisterInfo (true); + m_gdb_comm.ResetDiscoverableSettings(); + DidLaunchOrAttach (); +} + + + Error ProcessGDBRemote::WillResume () {