core: add debug flags to use gdb
This commit is contained in:
4
Makefile
4
Makefile
@ -1,7 +1,7 @@
|
||||
NAME := bozOS
|
||||
|
||||
AS := i386-elf-as
|
||||
ASFLAGS :=
|
||||
ASFLAGS := -g
|
||||
CC := i386-elf-gcc
|
||||
CFLAGS := -std=gnu99 -ffreestanding -Wall -Wextra -iquotelibbozo/headers -iquoteheaders -MMD -fno-omit-frame-pointer -fstack-protector-all -g
|
||||
LD := $(CC)
|
||||
@ -54,7 +54,7 @@ fast-run-iso: fast-iso
|
||||
qemu-system-i386 -cdrom build/$(NAME).iso -vga std
|
||||
|
||||
debug: fast-iso
|
||||
qemu-system-i386 -cdrom build/$(NAME).iso -vga std -d int -M smm=off 2> logs
|
||||
qemu-system-i386 -s -S -cdrom build/$(NAME).iso -vga std -D qemu.log -d in_asm,int -M smm=off
|
||||
|
||||
clean:
|
||||
make -C libbozo clean
|
||||
|
Reference in New Issue
Block a user