diff options
-rw-r--r-- | documentation/ovmf_with_gdb_16_5_2022.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/documentation/ovmf_with_gdb_16_5_2022.txt b/documentation/ovmf_with_gdb_16_5_2022.txt index c5b8b7a..f2569d2 100644 --- a/documentation/ovmf_with_gdb_16_5_2022.txt +++ b/documentation/ovmf_with_gdb_16_5_2022.txt @@ -7,8 +7,8 @@ Build EDK2 using gcc as usual. $ git clone git@github.com:tianocore/edk2.git $ cd edk2 $ git submodule update --init --recursive +$ source edksetup.sh $ make -C BaseTools -$ source ./edksetup.sh $ build -p OvmfPkg/OvmfPkgX64.dsc -b DEBUG -a X64 -t GCC5 To make debugging easy, create a Makefile as follow. Note that we have to connect debugcon at 0x402 to dump debug information (debug.log) from OVMF[4]. |