From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jonathan Larmour To: Carlo Agostini Cc: ecos-discuss@sources.redhat.com Subject: Re: [ECOS] Problem with hello ... entry point Date: Thu, 06 Sep 2001 23:47:00 -0000 Message-id: <3B986DA3.F6670068@redhat.com> References: <3B939F4F.D15734D4@yacme.com> X-SW-Source: 2001-09/msg00164.html 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