This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: gdb_module.bin on SA1110
- To: wjasper at tx dot ncsu dot edu
- Subject: Re: [ECOS] gdb_module.bin on SA1110
- From: Jonathan Larmour <jlarmour at redhat dot com>
- Date: Fri, 22 Jun 2001 22:10:24 +0100
- Cc: ecos-discuss at sources dot redhat dot com
- Organization: Red Hat UK Ltd.
- References: <3B320B16.A9D34DDC@tx.ncsu.edu>
Warren Jasper wrote:
>
> I am trying to port eCos to a StrongARM SA1110.
> After makeing and loading the gdb stubs monitor, I get the following
> when trying to load my
> program:
>
> (gdb) target remote /dev/ttyS0
> Remote debugging using /dev/ttyS0
> 0x8001548 in ?? ()
> (gdb) load
> Loading section .rom_vectors, size 0x40 lma 0x10000
> Loading section .text, size 0xafb8 lma 0x10040
> Ignoring packet error, continuing...
>
> Any ideas what might cause this? I then did
>
> set debug remote 1
>
> And I think the offending line looks like:
>
> r +$T0a0f:000000e8;0d:0300000a;#6a
That means it hit an exception. Potentially the .text section is getting
load to invalid memory. Or perhaps the GDB stubs are larger than the
0x10000 that your program assumes.
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
Come to the Red Hat TechWorld open source conference in Brussels!
Keynotes, techie talks and exhibitions http://www.redhat-techworld.com/