PREV INDEX NEXT

Author: Stan Eisenstat
Subject: Line numbers from valgrind?
Date: Tuesday, 25 Feb 2020, 16:14:03


If you want valgrind to give you line numbers, you must
compile with the -g3 flag, as in

  CFLAGS=-std=c99 -Wall -pedantic -g3

or

  gcc -g3 -std=c99 -pedantic -Wall -o strwrs strwrs.c

Otherwise it gives only the filename, which is not very
useful.

--Stan-
PREV INDEX NEXT