Debug problem

Ian Lance Taylor iant@google.com
Tue Jul 10 14:26:00 GMT 2007


"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



More information about the Gcc-help mailing list