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]

Re: Problem with hello ... entry point


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


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