diff options
author | Jim Ingham <jingham@apple.com> | 2014-08-02 00:33:35 +0000 |
---|---|---|
committer | Jim Ingham <jingham@apple.com> | 2014-08-02 00:33:35 +0000 |
commit | bb006ce29171aef3eb7bdebf52fcd0a5c21385fe (patch) | |
tree | 5265d4909dbacd5ca17b27f2b80b1618a739fdd4 /lldb/source/Plugins/Process/MacOSX-Kernel/ProcessKDP.cpp | |
parent | ee1a1fc90043cc520e778ccde5241f451b9cc40c (diff) | |
download | bcm5719-llvm-bb006ce29171aef3eb7bdebf52fcd0a5c21385fe.tar.gz bcm5719-llvm-bb006ce29171aef3eb7bdebf52fcd0a5c21385fe.zip |
After you attach, give the process plugin a chance to report back (through
DidAttach) the architecture of the binary you attached to.
<rdar://problem/17891396>
llvm-svn: 214603
Diffstat (limited to 'lldb/source/Plugins/Process/MacOSX-Kernel/ProcessKDP.cpp')
-rw-r--r-- | lldb/source/Plugins/Process/MacOSX-Kernel/ProcessKDP.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lldb/source/Plugins/Process/MacOSX-Kernel/ProcessKDP.cpp b/lldb/source/Plugins/Process/MacOSX-Kernel/ProcessKDP.cpp index 8ed106ab065..bba4ef8c438 100644 --- a/lldb/source/Plugins/Process/MacOSX-Kernel/ProcessKDP.cpp +++ b/lldb/source/Plugins/Process/MacOSX-Kernel/ProcessKDP.cpp @@ -428,8 +428,10 @@ ProcessKDP::DoAttachToProcessWithName (const char *process_name, const ProcessAt void -ProcessKDP::DidAttach () +ProcessKDP::DidAttach (ArchSpec &process_arch) { + Process::DidAttach(process_arch); + Log *log (ProcessKDPLog::GetLogIfAllCategoriesSet (KDP_LOG_PROCESS)); if (log) log->Printf ("ProcessKDP::DidAttach()"); |