Initial support for running in GDB
This commit is contained in:
parent
366bd653f8
commit
8c033a462d
1
Makefile
1
Makefile
|
|
@ -17,7 +17,6 @@ run: $(KERNEL_HDD)
|
|||
-drive file=$(KERNEL_HDD),format=raw \
|
||||
-smp 2 \
|
||||
-enable-kvm \
|
||||
-debugcon stdio \
|
||||
$(QEMUFLAGS)
|
||||
|
||||
bochs: $(KERNEL_HDD) ext/bochsrc
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ LDSCRIPT = make/$(ARCH)/linker.ld
|
|||
|
||||
-include make/$(ARCH)/make.config
|
||||
|
||||
CFLAGS ?= -O2
|
||||
CFLAGS ?= -Og -g
|
||||
CFLAGS := $(CFLAGS) $(ARCH_CFLAGS) \
|
||||
-Wall -Wextra -pedantic -Wno-language-extension-token -std=gnu11 -I../ext -Isrc -fPIE
|
||||
LDFLAGS := $(LDFLAGS) -T $(LDSCRIPT)
|
||||
|
|
|
|||
Loading…
Reference in New Issue