Simplifi debug cmd (allow ctrl-c)
This commit is contained in:
parent
9c6c4f3470
commit
fa9955dd7f
5
Makefile
5
Makefile
@ -55,8 +55,9 @@ 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&
|
#qemu-system-i386 -s -S -kernel kernel&
|
||||||
gdb -s kernel.sym -ex "target remote localhost:1234" -ex "dir core:driver:arch/$(ARCH))'"
|
#gdb -s kernel.sym -ex "target remote localhost:1234" -ex "dir core:driver:arch/$(ARCH))'"
|
||||||
|
gdb -x debug.gdb
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
$(RM) kernel $(asmobj) $(cobj) $(deps) fd.iso kernel.sym
|
$(RM) kernel $(asmobj) $(cobj) $(deps) fd.iso kernel.sym
|
||||||
|
Loading…
Reference in New Issue
Block a user