This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: GCC version


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


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