This is the mail archive of the insight@sourceware.cygnus.com mailing list for the Insight project.


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

[Fwd: No C++ Source Code]








>
> What error did you get?
>

I didn't see any error displayed.

>
> If you just saw assembly, and no source files, that usually means that
> the executible was compiled without debugging information.  Could this
> be the case?  Maybe, for instance, you have CFLAGS with a -g in them,
> but CXXFLAGS without the -g?
>

Both the C and C++ hello files were compiled with the exact same source line.
I am using PcGrasp and selected the Cygnus C/C++ debug option for both C and
C++ files.
Actually, if I take the C++ hello.cpp file and change the printf to cout and
the <iostream> to <stdio.h>, I also get assembly code rather than source code
in the debugger window.
There is definitely something about the C++ language the debugger can't seem
to understand.
Both files compile, link, and execute fine.
I thought that it may have something to do with the version of Insight that
the builder used (Mumit Kahn).

>
> It should work, and does for me, so it is either some simple error
> like this, or some installation problem.
>
> Jim
>




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