x86_64: build: add rule to debug using ncurses
This commit is contained in:
@@ -30,3 +30,10 @@ debug: $(BUILD_DIR)/$(KERNEL_EXEC) $(BUILD_DIR)/$(KERNEL_EXEC).elf32
|
|||||||
-monitor stdio -serial file:$(BUILD_DIR)/socks.log $(QEMU_FLAGS)
|
-monitor stdio -serial file:$(BUILD_DIR)/socks.log $(QEMU_FLAGS)
|
||||||
|
|
||||||
|
|
||||||
|
debug-curses: $(BUILD_DIR)/$(KERNEL_EXEC) $(BUILD_DIR)/$(KERNEL_EXEC).elf32
|
||||||
|
@./tools/kernel-debug/debug_session.sh \
|
||||||
|
tools/kernel-debug/gdb_session_init \
|
||||||
|
tools/kernel-debug/lldb_session_init \
|
||||||
|
$(QEMU) \
|
||||||
|
-kernel $(BUILD_DIR)/$(KERNEL_EXEC).elf32 -S -s \
|
||||||
|
-display curses -serial file:$(BUILD_DIR)/socks.log $(QEMU_FLAGS) > build/qemu.log
|
||||||
|
|||||||
Reference in New Issue
Block a user