Use i386 qemu for debugging
This help going over function and not stepping in
This commit is contained in:
parent
389452ec3f
commit
7248cd75ae
3
Makefile
3
Makefile
@ -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:
|
||||||
|
Loading…
Reference in New Issue
Block a user