From 84c1570c4ac2bf3fb192b05659b67b404fb07631 Mon Sep 17 00:00:00 2001 From: Vitus Birkmeir <8407328+Schafwolle@users.noreply.github.com> Date: Tue, 4 Jan 2022 19:08:42 +0100 Subject: [PATCH] show filename and linenumber in valgrind output use "-g3" to build the binary with debug option to allow valgrind to resolve the address --- test-in-docker/src/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test-in-docker/src/CMakeLists.txt b/test-in-docker/src/CMakeLists.txt index 1c8d795..b50d3b2 100644 --- a/test-in-docker/src/CMakeLists.txt +++ b/test-in-docker/src/CMakeLists.txt @@ -18,7 +18,7 @@ include_directories( include(${LWIP_DIR}/src/Filelists.cmake) -add_compile_options(-Wall -Wextra -Werror) +add_compile_options(-Wall -Wextra -Werror -g3) add_executable(lwip-runner ${CMAKE_CURRENT_SOURCE_DIR}/main.c