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
This commit is contained in:
Jim Ingham
2014-08-02 00:33:35 +00:00
parent ee1a1fc900
commit bb006ce291
6 changed files with 35 additions and 19 deletions

View File

@@ -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()");