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]
Other format: [Raw text]

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


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


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