This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Building GCC with the -g option


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]