Looks good. I believe doing remote debugging all of the time is the best way to
go and what we should encourage people to use it.
We might also, in a separate patch, ask the platform for the GDB remote binary.
The default implementation would return "lldb-gdbserver":
virtual Error
Platform::GetGDBServer(FileSpec &f)
{
// Calculate the default path to llgs
}
Then we would override this on PlatformDarwin to return the path to
debugserver. This way the GDB remote binary path isn't hard coded at compile
time. And other platforms that use the GDB remote protocol can specify their
own binaries that might get distributed with the built LLDB.
http://reviews.llvm.org/D7567
EMAIL PREFERENCES
http://reviews.llvm.org/settings/panel/emailpreferences/
_______________________________________________
lldb-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/lldb-commits