The patch http://reviews.llvm.org/D14952 which modifies the platform connect with automatically connecting to the process instance if it was started by the remote platform. However this fails for Linux Platform. Since PlatformRemoteGDBServer doesn't implement "ConnectToWaitingProcesses". Thus Platform::ConnectToWaitingProcesses was called and LLDB failed connecting to the remote process instance. This Patch implements "ConnectToWaitingProcesses" for PlatformRemoteGDBServer and hence fixes TestPlatformProcessConnect.py failure for linux Platform.
Details
Details
- Reviewers
clayborg tberghammer labath - Commits
- rG578403fca4f8: Merging r264030: --------------------------------------------------------------…
rG19d806792a07: [LLDB]{MIPS] Fix TestPlatformProcessConnect.py Patch by Nitesh Jain
rLLDB264030: [LLDB]{MIPS] Fix TestPlatformProcessConnect.py
rL264030: [LLDB]{MIPS] Fix TestPlatformProcessConnect.py
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
If I understand correctly, you have simply copied the implementation from PlatformRemoteAndroidGDBServer. Could you also remove it from that class, since it's going to inherit the implementation anyway?
Apart from that, it looks good to me, but let's give a chance for @clayborg to respond first.