summaryrefslogtreecommitdiffstats
path: root/EmulatorPkg/Unix/lldbefi.py
Commit message (Collapse)AuthorAgeFilesLines
* EmulatorPkg/Unix: Fix various typosAntoine Coeur2020-02-101-7/+7
| | | | | | | | | | | | | Fix various typos in comments and documentation. Cc: Jordan Justen <jordan.l.justen@intel.com> Cc: Andrew Fish <afish@apple.com> Cc: Ray Ni <ray.ni@intel.com> Signed-off-by: Antoine Coeur <coeur@gmx.fr> Reviewed-by: Philippe Mathieu-Daude <philmd@redhat.com> Reviewed-by: Ray Ni <ray.ni@intel.com> Signed-off-by: Philippe Mathieu-Daude <philmd@redhat.com> Message-Id: <20200207010831.9046-6-philmd@redhat.com>
* EmulatorPkg: Fix XCODE5 lldb issuesAndrew Fish2019-08-191-3/+9
| | | | | | | | | | | | | Fix scripts to support lldb symbolic debugging when using XCODE5 tool chain. Cc: Jordan Justen <jordan.l.justen@intel.com> Cc: Ray Ni <ray.ni@intel.com> Cc: Michael D Kinney <michael.d.kinney@intel.com> Signed-off-by: Andrew Fish <afish@apple.com> Reviewed-by: Michael D Kinney <michael.d.kinney@intel.com> Acked-by: Jordan Justen <jordan.l.justen@intel.com> Tested-by: Andrew Fish <afish@apple.com>
* EmulatorPkg: Replace BSD License with BSD+Patent LicenseMichael D Kinney2019-04-091-6/+1
| | | | | | | | | | | | | | | | | | | | https://bugzilla.tianocore.org/show_bug.cgi?id=1373 Replace BSD 2-Clause License with BSD+Patent License. This change is based on the following emails: https://lists.01.org/pipermail/edk2-devel/2019-February/036260.html https://lists.01.org/pipermail/edk2-devel/2018-October/030385.html RFCs with detailed process for the license change: V3: https://lists.01.org/pipermail/edk2-devel/2019-March/038116.html V2: https://lists.01.org/pipermail/edk2-devel/2019-March/037669.html V1: https://lists.01.org/pipermail/edk2-devel/2019-March/037500.html Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Michael D Kinney <michael.d.kinney@intel.com> Reviewed-by: Ray Ni <ray.ni@intel.com>
* EmulatorPkg: formalize line endingsRuiyu Ni2018-08-301-540/+540
| | | | | | | | | | | | The patch is the result of running "BaseTools/Scripts/FormatDosFiles.py EmulatorPkg/" No functionality impact. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com> Reviewed-by: Hao A Wu <hao.a.wu@intel.com> Cc: Liming Gao <liming.gao@intel.com>
* EmulatorPkg: Unix: Add LLDB support for Xcode 5Anderw Fish2014-08-291-0/+540
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