Browse Source

show filename and linenumber in valgrind output

use "-g3" to build the  binary with debug option
to allow valgrind to resolve the address
pull/28/head
Vitus Birkmeir 3 years ago
parent
commit
84c1570c4a
  1. 2
      test-in-docker/src/CMakeLists.txt

2
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

Loading…
Cancel
Save