Branch: refs/heads/master
  Home:   https://github.com/tianocore/edk2
  Commit: b8c5ba2337b5fa4327d5da5081a06848e4ccdcff
      
https://github.com/tianocore/edk2/commit/b8c5ba2337b5fa4327d5da5081a06848e4ccdcff
  Author: Rebecca Cran <quic_rc...@quicinc.com>
  Date:   2022-04-09 (Sat, 09 Apr 2022)

  Changed paths:
    A BaseTools/Scripts/efi_debugging.py

  Log Message:
  -----------
  BaseTools: efi_debugging.py: Add debugger agnostic dbg Python Classes

Add Scripts/efi_debugging.py to provide debugger agnostic debugging
utility Python classes.

Cc: Leif Lindholm <quic_llind...@quicinc.com>
Cc: Michael D Kinney <michael.d.kin...@intel.com>
Cc: Hao A Wu <hao.a...@intel.com>
Cc: Bob Feng <bob.c.f...@intel.com>
Cc: Liming Gao <gaolim...@byosoft.com.cn>
Cc: Yuwei Chen <yuwei.c...@intel.com>
Signed-off-by: Rebecca Cran <quic_rc...@quicinc.com>
Reviewed-by: Bob Feng <bob.c.f...@intel.com>
Acked-by: Liming Gao <gaolim...@byosoft.com.cn>


  Commit: 0d7fec9f79b3f24007ea55769419e72d747b1f7e
      
https://github.com/tianocore/edk2/commit/0d7fec9f79b3f24007ea55769419e72d747b1f7e
  Author: Rebecca Cran <quic_rc...@quicinc.com>
  Date:   2022-04-09 (Sat, 09 Apr 2022)

  Changed paths:
    A BaseTools/Scripts/efi_gdb.py

  Log Message:
  -----------
  BaseTools: Scripts/efi_gdb.py: Add gdb 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:
(gdb) help efi
Commands for debugging EFI. efi <cmd>

List of efi subcommands:

efi devicepath -- Display an EFI device path.
efi guid -- Display info about EFI GUID's.
efi hob -- Dump EFI HOBs. Type 'hob -h' for more info.
efi symbols -- Load Symbols for EFI. Type 'efi_symbols -h' for more info.
efi table -- Dump EFI System Tables. Type 'table -h' for more info.

This module is coded against a generic gdb remote serial stub. It should
work with QEMU, JTAG debugger, or a generic EFI gdb remote serial stub.
No modifications of EFI is required to load symbols.

Example usage:
OvmfPkg/build.sh qemu -gdb tcp::9000
gdb -ex "target remote localhost:9000" -ex "source efi_gdb.py"

Cc: Leif Lindholm <quic_llind...@quicinc.com>
Cc: Michael D Kinney <michael.d.kin...@intel.com>
Cc: Hao A Wu <hao.a...@intel.com>
Cc: Bob Feng <bob.c.f...@intel.com>
Cc: Liming Gao <gaolim...@byosoft.com.cn>
Cc: Yuwei Chen <yuwei.c...@intel.com>
Signed-off-by: Rebecca Cran <quic_rc...@quicinc.com>
Reviewed-by: Bob Feng <bob.c.f...@intel.com>
Acked-by: Liming Gao <gaolim...@byosoft.com.cn>


  Commit: 4f4afcd28802ff8a3e78ad72e47b6acb6e24819c
      
https://github.com/tianocore/edk2/commit/4f4afcd28802ff8a3e78ad72e47b6acb6e24819c
  Author: Rebecca Cran <quic_rc...@quicinc.com>
  Date:   2022-04-09 (Sat, 09 Apr 2022)

  Changed paths:
    A BaseTools/Scripts/efi_lldb.py

  Log Message:
  -----------
  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_llind...@quicinc.com>
Cc: Michael D Kinney <michael.d.kin...@intel.com>
Cc: Hao A Wu <hao.a...@intel.com>
Cc: Bob Feng <bob.c.f...@intel.com>
Cc: Liming Gao <gaolim...@byosoft.com.cn>
Cc: Yuwei Chen <yuwei.c...@intel.com>
Signed-off-by: Rebecca Cran <quic_rc...@quicinc.com>
Reviewed-by: Bob Feng <bob.c.f...@intel.com>
Acked-by: Liming Gao <gaolim...@byosoft.com.cn>


Compare: https://github.com/tianocore/edk2/compare/94f905b3bf37...4f4afcd28802


_______________________________________________
edk2-commits mailing list
edk2-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-commits

Reply via email to