Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* Re: ARM Simulator Bug?
@ 2003-09-03 10:36 David Mc Kenna
  2003-09-03 13:53 ` Richard Earnshaw
  0 siblings, 1 reply; 4+ messages in thread
From: David Mc Kenna @ 2003-09-03 10:36 UTC (permalink / raw)
  To: Richard Earnshaw, mckennad, Richard Earnshaw, gdb, insight,
	Richard.Earnshaw
  Cc: gdb, insight, Richard.Earnshaw

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


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2003-09-03 14:02 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-09-03 10:36 ARM Simulator Bug? David Mc Kenna
2003-09-03 13:53 ` Richard Earnshaw
2003-09-03 13:59   ` gdb run command Raja Saleru
2003-09-03 14:02     ` Tim Combs

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox