From 790f763d3d36da9e675f7e3a4cdcc1e2e6124dcc Mon Sep 17 00:00:00 2001 From: Martine Lenders Date: Sat, 26 Jan 2019 13:33:34 +0100 Subject: [PATCH] native: use -g3 instead of -g --- boards/native/Makefile.include | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/boards/native/Makefile.include b/boards/native/Makefile.include index 974effb341..91b4c84b1f 100644 --- a/boards/native/Makefile.include +++ b/boards/native/Makefile.include @@ -118,15 +118,15 @@ debug-valgrind-server: export VALGRIND_FLAGS ?= --vgdb=yes --vgdb-error=0 -v \ --read-var-info=yes term-cachegrind: export CACHEGRIND_FLAGS += --tool=cachegrind term-gprof: TERMPROG = GMON_OUT_PREFIX=gmon.out $(ELFFILE) -all-valgrind: export CFLAGS += -DHAVE_VALGRIND_H -g +all-valgrind: export CFLAGS += -DHAVE_VALGRIND_H -g3 all-valgrind: export NATIVEINCLUDES += $(shell pkg-config valgrind --cflags) -all-debug: export CFLAGS += -g -all-cachegrind: export CFLAGS += -g +all-debug: export CFLAGS += -g3 +all-cachegrind: export CFLAGS += -g3 all-gprof: export CFLAGS += -pg all-gprof: export LINKFLAGS += -pg -all-asan: export CFLAGS += -fsanitize=address -fno-omit-frame-pointer -g +all-asan: export CFLAGS += -fsanitize=address -fno-omit-frame-pointer -g3 all-asan: export CFLAGS += -DNATIVE_IN_CALLOC -all-asan: export LINKFLAGS += -fsanitize=address -fno-omit-frame-pointer -g +all-asan: export LINKFLAGS += -fsanitize=address -fno-omit-frame-pointer -g3 export INCLUDES += $(NATIVEINCLUDES)