[Lldb-commits] [PATCH] Enable local llgs debugging on Linux when the use-llgs-for-local setting is enabled.

Todd Fiala tfiala at google.com
Wed Oct 8 20:37:26 PDT 2014


Hi clayborg,

This change does the following:

* Enable lldb-gdbserver (llgs) usage for local-process Linux debugging.

To turn on local llgs debugging support, which is disabled by default, enable this setting:
```
(lldb) settings set platform.plugin.linux.use-llgs-for-local true
```

* Adds a stream-based Dump() function to FileAction.

* Pushes some platform methods that Linux (and FreeBSD) will want to share with MacOSX from PlatformDarwin into PlatformPOSIX.

http://reviews.llvm.org/D5695

Files:
  include/lldb/Target/FileAction.h
  source/Plugins/Platform/Linux/PlatformLinux.cpp
  source/Plugins/Platform/Linux/PlatformLinux.h
  source/Plugins/Platform/MacOSX/PlatformDarwin.cpp
  source/Plugins/Platform/MacOSX/PlatformDarwin.h
  source/Plugins/Platform/POSIX/PlatformPOSIX.cpp
  source/Plugins/Platform/POSIX/PlatformPOSIX.h
  source/Plugins/Process/Linux/ProcessLinux.cpp
  source/Target/FileAction.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D5695.14625.patch
Type: text/x-patch
Size: 27419 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20141009/ae410cdf/attachment.bin>


More information about the lldb-commits mailing list