audk/EmulatorPkg/Unix/Host
Anderw Fish 4880fc9ff7 EmulatorPkg: Unix: Add LLDB support for Xcode 5
Xcode5 retired gdb, so this patch adds support for using, and loading symbols
in, lldb. It also supports building with Xcode 5.

The lldb script also supports dumping out the build generated guid database
and it prints guids out with thier Cname if available. lldbefi.py also
contains some EFI specific type formatters. Symbols are loaded via the
lldbefi.py script setting a breakpoint on SecGdbScriptBreak() and runing a
breakpoint action Python function that uses the arguments to
SecGdbScriptBreak() to load symbols.

The location of SecGdbScriptBreak() in Host.c was updated to move symbol
loading control into the lldb Python script, since lldb only uses the
arguments to SecGdbScriptBreak() and not the files generated by the
emulator. The +1 on the SecGdbScriptBreak() argument makes it string size,
not string length, as this is what the lldb script is looking for.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Anderw Fish <afish@apple.com>
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>


git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15982 6f19259b-4bc3-4df7-8a09-765794883524
2014-08-29 18:52:42 +00:00
..
Ia32 EmulatorPkg/Unix: Rename SecMain to Host 2011-06-29 05:13:33 +00:00
X64 EmulatorPkg: Remove all trailing whitespace 2011-06-28 16:50:26 +00:00
BerkeleyPacketFilter.c EmulatorPkg/Unix: Rename SecMain to Host 2011-06-29 05:13:33 +00:00
BlockIo.c Fix bug where open() mode was not being set based on type of device being emulated. 2012-01-07 00:30:52 +00:00
EmuThunk.c Update to build with 10.8 OS X Frameworks. This is a Mac only change. 2012-12-22 00:47:17 +00:00
Gasket.h EmulatorPkg: Remove all trailing whitespace 2011-06-28 16:50:26 +00:00
Host.c EmulatorPkg: Unix: Add LLDB support for Xcode 5 2014-08-29 18:52:42 +00:00
Host.h EmulatorPkg/Unix: Rename SecMain to Host 2011-06-29 05:13:33 +00:00
Host.inf EmulatorPkg:Unix: Add support for X11 on Mac OS X via XQuartz 2014-08-28 03:38:21 +00:00
LinuxPacketFilter.c EmulatorPkg/Unix: Rename SecMain to Host 2011-06-29 05:13:33 +00:00
MemoryAllocationLib.c EmulatorPkg: Remove all trailing whitespace 2011-06-28 16:50:26 +00:00
PosixFileSystem.c EmulatorPkg: Unix: Fix uninitiailzed variable bug. 2014-08-29 18:45:26 +00:00
Pthreads.c EmulatorPkg/Unix: Rename SecMain to Host 2011-06-29 05:13:33 +00:00
X11GraphicsWindow.c EmulatorPkg/Unix: Rename SecMain to Host 2011-06-29 05:13:33 +00:00
X11IncludeHack EmulatorPkg:Unix: Add support for X11 on Mac OS X via XQuartz 2014-08-28 03:38:21 +00:00