[Lldb-commits] [lldb] r131645 - /lldb/trunk/source/lldb.cpp

Jim Ingham jingham at apple.com
Thu May 19 13:51:43 PDT 2011


Cool, thanks.  

All of the plugins except for the Process plugin should be buildable anywhere.  You would need all of them plus the gdb-remote process plugin to implement a cross debugger.  If there are any of the other plugins that are relying on non-portable headers and the like, or on stuff that is in Host for a particular OS, we need to fix that.

Jim


On May 19, 2011, at 11:37 AM, Peter Collingbourne wrote:

> On Thu, May 19, 2011 at 11:03:10AM -0700, Jim Ingham wrote:
>> Why did you have to define these out?  Was it just a problem with building?  We want to make it possible to build an lldb that can be any of the kinds of cross debugger that lldb currently supports, so you don't have to play the games that gdb does with building the linux-cross-arm, and linux-native, and etc, etc. debuggers.  Since you need the ABI bits to make a Linux-cross-MacOS X debugger, we want to make sure these build on all the platforms lldb supports.
>> 
>> If there's some problem building them, we should resolve that.
> 
> To fix the build error in lldb.cpp on non-Darwin platforms I resolved
> the inconsistency between the list of #included header files and the
> list of initialised plugins, apparently in the wrong direction (it
> wasn't immediately clear which plugins were platform independent).
> Since ABI/MacOSX-i386 and ABI/MacOSX-arm build fine on Linux I
> re-enabled them for all platforms in r131661.
> 
> Thanks,
> -- 
> Peter




More information about the lldb-commits mailing list