This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: Problem with hello ... entry point
- To: Carlo Agostini <carlo dot agostini at yacme dot com>
- Subject: Re: [ECOS] Problem with hello ... entry point
- From: Jonathan Larmour <jlarmour at redhat dot com>
- Date: Fri, 07 Sep 2001 07:48:03 +0100
- Cc: ecos-discuss at sources dot redhat dot com
- References: <3B939F4F.D15734D4@yacme.com>
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