Skip to content

Commit

Permalink
Force gcc to produce DWARF4 so that gdb can use it
Browse files Browse the repository at this point in the history
  • Loading branch information
mikebeaton authored and vathpela committed Dec 13, 2024
1 parent 20094ca commit 3cf0e09
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Make.defaults
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ INCLUDES = -nostdinc \
override DEFAULT_FEATUREFLAGS = \
-std=gnu11 \
-ggdb \
-ggdb -gdwarf-4 -gstrict-dwarf \
-ffreestanding \
$(shell $(CC) -fmacro-prefix-map=./=./ -E -x c /dev/null >/dev/null 2>&1 && echo -fmacro-prefix-map='$(TOPDIR)/=$(DEBUGSRC)') \
-fno-stack-protector \
Expand Down

0 comments on commit 3cf0e09

Please sign in to comment.