[ECOS] Stack question

Andrew Lunn andrew@lunn.ch
Mon Feb 25 15:18:00 GMT 2008


On Mon, Feb 25, 2008 at 03:41:05PM +0100, Tom Deconinck wrote:
> Hi,
> 
> Is there an easy way to know where in memory (exact address) the stack
> is located?

Which stack? There is the interrupt stack and the idle stack, which
could be the same. If you don't have your own main() function there is
also a system main() which has a stack. Plus all your threads have
stacks.

arm-elf-objdump --syms myprog.elf

or

arm-elf-nm myprog.elf

will show you the symbol table with addresses for all symbols.

     Andrew

-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss



More information about the Ecos-discuss mailing list