Przeglądaj źródła

chore: change debugging settings

greatbridf 7 miesięcy temu
rodzic
commit
d785937269
3 zmienionych plików z 3 dodań i 12 usunięć
  1. 0 11
      .gdbinit
  2. 2 0
      .gitignore
  3. 1 1
      Makefile.src

+ 0 - 11
.gdbinit

@@ -1,11 +0,0 @@
-source pretty-print.py
-set pagination off
-set print pretty on
-set output-radix 16
-
-symbol-file build/kernel.out
-target remote:1234
-
-layout src
-b do_socket
-c

+ 2 - 0
.gitignore

@@ -17,3 +17,5 @@ cross-compile.cmake
 .DS_Store
 .Spotlight-V100
 .Trashes
+
+.gdbinit

+ 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' --init-eval-command 'layout regs' --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 'set output-radix 16' --init-eval-command 'set print pretty on' --init-eval-command 'target remote:1234'
 	-killall $(QEMU_BIN)
 
 build/boot.vdi: build/boot.img