🆕 gdb源代码级别调试

This commit is contained in:
fslongjin
2022-04-04 17:46:57 +08:00
parent e5274ce8e4
commit e667fff256
5 changed files with 14 additions and 6 deletions

4
tools/.gdbinit Normal file
View File

@ -0,0 +1,4 @@
target remote localhost:1234
file bin/kernel/kernel.elf
set follow-fork-mode child
b Start_Kernel