Re: g++ -g and included files

2009-05-15 Thread Lisa Kachold
Check out:: http://tombarta.wordpress.com/ *Great stuff, *GCC Compiler-Defined Macroshttp://tombarta.wordpress.com/2008/08/09/gcc-compiler-defined-macros/ * * (Search forward for the instanti and find the reference that matches your situation?) For instance: __FILE__, __LINE__, __func__,

g++ -g and included files

2009-05-14 Thread Jerry Davis
and now for something completely off topic ... other than rules for posting and such. I am just now having to learn c++ : I haven't done any C work since the middle 80's. I am being forced to move from Rational clearcase and clearquest to svn and teamtrack. TeamTrack is UGLY, don't get me

Re: g++ -g and included files

2009-05-14 Thread Chris Gehlker
On May 14, 2009, at 5:45 AM, Jerry Davis wrote: I have the following situation: I have a source file, which has a bunch of #includes which are .h files of the other classes used. I have full source. IOW, I can see in the source/ directory every .h and .C file of all the #includes. I

Re: g++ -g and included files

2009-05-14 Thread Ted Gould
On Thu, 2009-05-14 at 05:45 -0700, Jerry Davis wrote: I am just now having to learn c++ : I haven't done any C work since the middle 80's. I am being forced to move from Rational clearcase and clearquest to svn and teamtrack. TeamTrack is UGLY, don't get me started. But suffice it to say, that

Re: g++ -g and included files

2009-05-14 Thread Jerry Davis
On Thu, 14 May 2009 14:13:02 + Ted Gould t...@gould.cx wrote: Off topic, but if you're switching version control systems right now I wouldn't be switching to SVN. Basically it's a generation old in version control thinking. I'd be switching to something more modern like a DVCS. yep.

Re: g++ -g and included files

2009-05-14 Thread Jerry Davis
On Thu, 14 May 2009 05:45:29 -0700 Jerry Davis jdaw...@cox.net wrote: ok, not sure this was the right way to do it. Seems like swatting a gnat with a sledgehammer, but I brought in the .C file that used to be as an include, into my source, and compiled. I was able to debug it with GDB. Maybe