[ECOS] Problem with hello ... entry point

Jonathan Larmour jlarmour@redhat.com
Thu Sep 6 23:47:00 GMT 2001


Carlo Agostini wrote:
> 
> load -v -r -m xmodem 0x00088680
> 
> file loaded 0x00088680-0x00163f80
> 
> Subsequently in memory I find
> 
> du -b 0x00088680 -l 0xff
> 
> 0x00088680: 7F45 4C46 0101 0100  0000 0000 0000 0000
> |.ELF............|
[snip] 
> How I make to understand where is the entry point of the program hello ?

You should use the binary version of the file, i.e. convert to binary with:

i386-elf-objcopy -O binary hello hello.bin

But perhaps it would be easier to use i386-elf-gdb to download, debug and
run your test executables, unless you deliberately wanted to use redboot
for some particular reason?

Jifl
-- 
Red Hat, Rustat House, Clifton Road, Cambridge, UK. Tel: +44 (1223) 271062
Maybe this world is another planet's Hell -Aldous Huxley || Opinions==mine



More information about the Ecos-discuss mailing list