This is the mail archive of the ecos-discuss@sourceware.org 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: Stack question


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


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