blob: 048c893ca5169be739b7f2e6bda7acf74f801b4f (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
https://retrage.github.io/2019/12/05/debugging-ovmf-en.html
How to debug with gdb:
1. make run
2. ./gen_symbol_offets.sh > gdbscript
3. make debug
4. open second terminal. Type gdb
5. In second terminal:
(gdb) source gdbscript
(gdb) b CoreHandleProtocol
(gdb) target remote localhost:1234
(gdb) c
|