gdb: add non-core dir

This commit is contained in:
Mathieu Maret 2020-05-06 21:05:09 +02:00
parent 70930ecf50
commit 88d0266d76

View File

@ -56,7 +56,7 @@ 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& qemu-system-i386 -s -S -kernel kernel&
gdb -s kernel.sym -ex "target remote localhost:1234" -ex "dir core" gdb -s kernel.sym -ex "target remote localhost:1234" -ex "dir core:driver:arch/$(ARCH))'"
clean: clean:
$(RM) kernel $(asmobj) $(cobj) $(deps) fd.iso kernel.sym $(RM) kernel $(asmobj) $(cobj) $(deps) fd.iso kernel.sym