enable reading memory using gdb

This commit is contained in:
Rahul Thomas 2022-07-16 01:47:13 -07:00 committed by Frans Kaashoek
parent 27a669ef25
commit 7c958af782

View file

@ -56,7 +56,7 @@ LD = $(TOOLPREFIX)ld
OBJCOPY = $(TOOLPREFIX)objcopy
OBJDUMP = $(TOOLPREFIX)objdump
CFLAGS = -Wall -Werror -O -fno-omit-frame-pointer -ggdb
CFLAGS = -Wall -Werror -O -fno-omit-frame-pointer -ggdb -gdwarf-2
CFLAGS += -MD
CFLAGS += -mcmodel=medany
CFLAGS += -ffreestanding -fno-common -nostdlib -mno-relax