ARM Simulator Bug?
David Mc Kenna
mckennad@esatclear.ie
Wed Sep 3 10:36: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?
Thanks,
Dave
--
http://www.iol.ie
More information about the Gdb
mailing list