[Lldb-commits] [PATCH] remote-gdb-server platform able to run processes on a remote system
vharron at google.com
Sun Jan 18 23:15:08 PST 2015
This patch gets remote-gdb-server platform able to run processes on a remote system
1) Make sure the selected platform is always used
2) Make sure that the host uses the connect://hostname to connect to both the lldb-platform and the lldb-gdbserver rather than what the platform reports as the hostname of the lldb-gdbserver
3) Make sure that lldb-platform uses the IP address on it's connection back to the host instead of the hostname that the host sends to it when launching lldb-gdbserver with the remote host information
added SetSelectedPlatform call, because this is what SB does
removed m_platform_options - why was it ever in target?
calling CreateTarget with the selected platform (remote-gdb-server) instead of using m_platform_options, which was creating and using a new "host" platform instead of whatever is selected
implemented PlatformRemoteGDBServer::ResolveExecutable, mostly copied from iOS version
added primitive PlatformRemoteGDBServer::GetSupportedArchitectureAtIndex implementation
PlatformRemoteGDBServer::ConnectRemote - retaining hostname where lldb-platform is running so we can re-use it when we connect to the gdb server.
make sure we're using a platform if one is selected
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 18866 bytes
Desc: not available
More information about the lldb-commits