ARM Simulator Bug?
Richard Earnshaw
rearnsha@arm.com
Wed Sep 3 13:53:00 GMT 2003
> Hi Richard,
>
> I think I have gotten closer to solving my problem. It relates to the linker
> script I use with compilation of gcc.
>
> If I take the standard armelf.x from the ldscripts directory and link against
> it my problem disappears. My problem is that I wish to place my reset vectors
> at 0x00 not the standard 0x8000. So I change the line:
>
> /* Read-only sections, merged into text segment: */
> . = 0x8000;
>
> to
>
> /* Read-only sections, merged into text segment: */
> . = 0x00;
>
> and my problem resurfaces. At a quick check of my memory contents from gdb at
> 0x00 I get 0x01 as opposed to what I get when I "download" the program using
> Run->Download of 0xEA000015.
>
> Any ideas?
Not really. Does "arm-elf-objdump -xd exe-file" display something
sensible?
R.
More information about the Gdb
mailing list