Hello,
I am tring to add my own SEC code base on OVMF and run on QEMU. Since
the code cannot run I need to step to step trace the assembly code .
The hang point is very early before I can use either UDK or debug serial
output. I tried to use gdb to connect to QEMU.I start gdb in another terminal,
and issue the following commands:
(gdb) set architecture i386:x86-64:intel
(gdb) target remote localhost:1234
It really stops at the bios first instruction at 0XFFFFFFF0. But gdb shows
eip= 0xFFF0 and CS=0xF000(why it not be 0xfff0). After I trigger the command
"display /i $pc"
It shows the assembly code in 0xFFF0 instead of 0XFFFFFFF0, so the
information is incorrect.
Anyone knows how to corrently debug the SEC code ? Other debug tool is also
ok.
Thanks in advance!
_______________________________________________
edk2-devel mailing list
[email protected]
https://lists.01.org/mailman/listinfo/edk2-devel