Building GCC with the -g option
Ian Lance Taylor
iant@google.com
Sun Feb 12 19:32:00 GMT 2012
Amittai Aviram <amittai.aviram@yale.edu> writes:
> GDB says "No source file named omp-low.c." I also tried entering the whole absolute path instead of just the file name and got the same result. :-( All this was both before and after rebuilding with
>
> make -j BOOT_CFLAGS='-g'
>
> to avoid optimization.
>
> Does this breakpoint work on your machine?
What exactly did you do, starting from the command line?
Have you read http://gcc.gnu.org/wiki/DebuggingGCC ?
Ian
More information about the Gcc-help
mailing list