[Lldb-commits] [PATCH] Linux - debugging of local processes via lldb-gdbserver

Greg Clayton 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":

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/






More information about the lldb-commits mailing list