浏览代码

use layout regs when debugging

greatbridf 9 月之前
父节点
当前提交
aab3befaf5
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Makefile.src

+ 1 - 1
Makefile.src

@@ -42,7 +42,7 @@ clean-all: clean
 
 .PHONY: debug
 debug:
-	$(GDB_BIN) --symbols=build/kernel.out --init-eval-command 'source pretty-print.py' --init-eval-command 'set pagination off' --init-eval-command 'target remote:1234' --eval-command 'hbr _kernel_init' --eval-command 'c'
+	$(GDB_BIN) --symbols=build/kernel.out --init-eval-command 'source pretty-print.py' --init-eval-command 'set pagination off' --init-eval-command 'target remote:1234' --init-eval-command 'layout regs' --eval-command 'hbr _kernel_init' --eval-command 'c'
 
 build/boot.vdi: build/boot.img
 	-rm build/boot.vdi