mirror of
https://github.com/LearningOS/rust-based-os-comp2022.git
synced 2026-05-05 12:24:30 +08:00
add vscode debug support. please see https://learningos.github.io/rust-based-os-comp2022/0setup-devel-env.html#vscode for more usage details
This commit is contained in:
@@ -56,4 +56,7 @@ debug: build
|
||||
tmux split-window -h "riscv64-unknown-elf-gdb -ex 'file $(KERNEL_ELF)' -ex 'set arch riscv:rv64' -ex 'target remote localhost:1234'" && \
|
||||
tmux -2 attach-session -d
|
||||
|
||||
dbg: build
|
||||
qemu-system-riscv64 -machine virt -nographic -bios $(BOOTLOADER) -device loader,file=$(KERNEL_BIN),addr=$(KERNEL_ENTRY_PA) -s -S
|
||||
|
||||
.PHONY: build env kernel clean run-inner
|
||||
Reference in New Issue
Block a user