[ECOS] arm-elf-gdb Cannot access memory at address ...[IXDP425]

Mark Salter msalter@redhat.com
Fri Sep 24 16:56:00 GMT 2004


On Fri, 2004-09-24 at 11:38, Antonello Lombardinilo wrote:
> This is the output of command:
> --------------------------------------------------
> $ arm-elf-objdump -f thread0
> 
> thread0:     file format elf32-littlearm
> architecture: arm, flags 0x00000112:
> EXEC_P, HAS_SYMS, D_PAGED
> start address 0x00080040
> --------------------------------------------------
> 
> If the arm-elf-gdb is assuming LE, what's the problem?
> Why gdb display following message, when I connect to the remote target ?
> "Cannot access memory at address 0xbcfefc0f "

The board is running in big-endian mode, so you can only run big-endian
applications. The error message is because gdb is getting the endianess
wrong for an address passed back from the big-endian stub on the board.

--Mark



-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss



More information about the Ecos-discuss mailing list