[Lldb-commits] [PATCH] Linux - debugging of local processes via lldb-gdbserver
clayborg at gmail.com
Wed Feb 11 13:22:44 PST 2015
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":
// 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.
More information about the lldb-commits