[ECOS] GCC version
Jonathan Larmour
jifl@eCosCentric.com
Fri Jun 13 05:51:00 GMT 2003
Bob Koninckx wrote:
> On Mon, 2003-06-09 at 05:40, David Brennan wrote:
>
>>I have just started testing my ported application. I found an annoying
>>little "feature" in gcc 3.2.1, or insight 5.3. Inlined functions do not
>>report to the call stack.
>
> [snip]
> Go for the compiler. Prevent it from inlining functions and gdb will
> show them in the call stack. I am not sure with gcc, but it could be as
> simple as turning off the optimizer.
It is. Remove -O2 and you're done.
Jifl
--
eCosCentric http://www.eCosCentric.com/ The eCos and RedBoot experts
--[ "You can complain because roses have thorns, or you ]--
--[ can rejoice because thorns have roses." -Lincoln ]-- Opinions==mine
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss
More information about the Ecos-discuss
mailing list