Explorar el Código

use layout regs when debugging

greatbridf hace 9 meses
padre
commit
aab3befaf5
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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