This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Debug problem
"Arora Yogesh-a22623" <yogesh.arora@motorola.com> writes:
> I am facing a problem related to debug
> I have a large set of code, which I build using makefile
> When I debug the code (built with -g option ) , the symbols are linked
> to wrong files. For example if a symbol ABC::ABC() is in ABC.cpp , At
> the time of debugging it show ABC::ABC() in XYZ.cpp.
>
> Due to this I am not able to debug properly
>
> Can any one give me some pointers what could be the reason for this ,
Your description of the problem is too vague. What precisely do you
see? What do you mean by "At the time of debugging it show ABC::ABC()
in XYZ.cpp"? Can you give a small example showing the problem?
Ian