diff options
author | Rebecca Cran <quic_rcran@quicinc.com> | 2022-03-22 04:20:48 +0800 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2022-04-09 05:13:56 +0000 |
commit | 4f4afcd28802ff8a3e78ad72e47b6acb6e24819c (patch) | |
tree | e8572b7c4f82d42b6ef4f9c25769f1f533172607 /UefiPayloadPkg | |
parent | 0d7fec9f79b3f24007ea55769419e72d747b1f7e (diff) | |
download | edk2-4f4afcd28802ff8a3e78ad72e47b6acb6e24819c.tar.gz edk2-4f4afcd28802ff8a3e78ad72e47b6acb6e24819c.tar.bz2 edk2-4f4afcd28802ff8a3e78ad72e47b6acb6e24819c.zip |
BaseTools: Scripts/efi_lldb.py: Add lldb EFI commands and pretty Print
https://bugzilla.tianocore.org/show_bug.cgi?id=3500
Use efi_debugging.py Python Classes to implement EFI gdb commands:
efi_symbols, guid, table, hob, and devicepath
You can attach to any standard gdb or kdp remote server and get EFI
symbols. No modifications of EFI are required.
Example usage:
OvmfPkg/build.sh qemu -gdb tcp::9000
lldb -o "gdb-remote localhost:9000" -o "command script import efi_lldb.py"
Note you may also have to teach lldb about QEMU:
-o "settings set plugin.process.gdb-remote.target-definition-file
x86_64_target_definition.py"
Cc: Leif Lindholm <quic_llindhol@quicinc.com>
Cc: Michael D Kinney <michael.d.kinney@intel.com>
Cc: Hao A Wu <hao.a.wu@intel.com>
Cc: Bob Feng <bob.c.feng@intel.com>
Cc: Liming Gao <gaoliming@byosoft.com.cn>
Cc: Yuwei Chen <yuwei.chen@intel.com>
Signed-off-by: Rebecca Cran <quic_rcran@quicinc.com>
Reviewed-by: Bob Feng <bob.c.feng@intel.com>
Acked-by: Liming Gao <gaoliming@byosoft.com.cn>
Diffstat (limited to 'UefiPayloadPkg')
0 files changed, 0 insertions, 0 deletions