- To: James Ingham <jingham at cygnus dot com>, insight at sourceware dot gygnus dot com
- Subject: Re: No C++ Source Code
- From: Paul Van Belinghen <pvanbell at cloud9 dot net>
- Date: Sat, 06 Nov 1999 14:45:11 -0800
- References: <3823AD16.F526063C@cloud9.net> <14371.34429.9606.764967@leda.cygnus.com>
>
> 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
>