Keep debug info in a .sym file
- Compile time changes - Compile libkernel.a with debug info - Copy debug info to kernel.sym - Strip the kernel of debug symbols - Workflow changes - Add `debug` option to `make qemu`
This commit is contained in:
parent
1f3ebdbd63
commit
804d0ad641
3 changed files with 8 additions and 3 deletions
|
@ -27,6 +27,9 @@ endif
|
|||
ifneq ($(usb),no)
|
||||
QEMUFLAGS+=-device nec-usb-xhci,id=xhci -device usb-tablet,bus=xhci.0
|
||||
endif
|
||||
ifneq ($(gdb),yes)
|
||||
QEMUFLAGS+=-s
|
||||
endif
|
||||
ifeq ($(UNAME),Linux)
|
||||
ifneq ($(kvm),no)
|
||||
QEMUFLAGS+=-enable-kvm -cpu host
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue