January 1, 0001
July 4, 2021
Debugging with gdb Adapted from a post to edk2-devel by Laszlo Ersek.
Clone Andrei Warkentin's repo https://github.com/andreiw/andreiw-wip.git
git clone https://github.com/andreiw/andreiw-wip.git cd andreiw-wip From the root of your clone copy the subdirectory "uefi/DebugPkg" to your edk2 workspace:
cp -av uefi/DebugPkg $WORKSPACE Apply the following patch to OvmfPkg/OvmfPkgX64.dsc:
----------------- diff --git a/OvmfPkg/OvmfPkgX64.dsc b/OvmfPkg/OvmfPkgX64.dsc index 97fdedb..794521b 100644 --- a/OvmfPkg/OvmfPkgX64.dsc +++ b/OvmfPkg/OvmfPkgX64.dsc @@ -592,3 +592,4 @@ !endif OvmfPkg/PlatformDxe/Platform.inf + DebugPkg/GdbSyms/GdbSyms.inf ----------------- Note that we don't modify the FDF file.
Read more