Use i386 qemu for debugging

This help going over function and not stepping in
This commit is contained in:
Mathieu Maret 2020-04-19 14:30:48 +02:00
parent 389452ec3f
commit 7248cd75ae

View File

@ -53,7 +53,8 @@ test:kernel
debug: CFLAGS += $(DEBUG_FLAGS) debug: CFLAGS += $(DEBUG_FLAGS)
debug: CXXFLAGS += $(DEBUG_FLAGS) debug: CXXFLAGS += $(DEBUG_FLAGS)
debug:kernel kernel.sym debug:kernel kernel.sym
qemu-system-x86_64 -s -S -kernel kernel& #qemu-system-x86_64 -s -S -kernel kernel&
qemu-system-i386 -s -S -kernel kernel&
gdb -s kernel.sym -ex "target remote localhost:1234" gdb -s kernel.sym -ex "target remote localhost:1234"
clean: clean: