summaryrefslogtreecommitdiffstats
path: root/documentation/README
diff options
context:
space:
mode:
Diffstat (limited to 'documentation/README')
-rw-r--r--documentation/README17
1 files changed, 17 insertions, 0 deletions
diff --git a/documentation/README b/documentation/README
new file mode 100644
index 0000000..048c893
--- /dev/null
+++ b/documentation/README
@@ -0,0 +1,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