Mail Archives: djgpp/1997/08/13/15:48:55
Robert Hoehne (Robert DOT Hoehne AT Mathematik DOT TU-Chemnitz DOT DE) writes:
> Paul Derbyshire wrote:
>>
>> Well, debuggers don't trace into C++ functions in .h's because they're
>> inlined and have no separate existence as functions at run time. Move a
>
> That's wrong. The debuggers (at least gdb and RHIDE/RHGDB) can trace
> into inlined functions from header files!!
They can't...at least the copies I have can't. They will if it is moved
into a .cc implementation file and only prototyped in the .h definition
file. And yes, I do compile with debugging information for anything other
than a final, distribution release, as in
gcc this.c that.c -o those.exe -g -lalleg
^^^^
I was given to understand this is the correct syntax to put debug data in
the .exe. And I was not using -fomit-frame-pointer, which I know can
affect debugging, curtail stack trace info and so forth.
--
.*. Where feelings are concerned, answers are rarely simple [GeneDeWeese]
-() < When I go to the theater, I always go straight to the "bag and mix"
`*' bulk candy section...because variety is the spice of life... [me]
Paul Derbyshire ao950 AT freenet DOT carleton DOT ca, http://chat.carleton.ca/~pderbysh
- Raw text -