* 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
* Re: ARM Simulator Bug?
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
0 siblings, 1 reply; 4+ messages in thread
From: Richard Earnshaw @ 2003-09-03 13:53 UTC (permalink / raw)
To: mckennad; +Cc: Richard Earnshaw, 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?
Not really. Does "arm-elf-objdump -xd exe-file" display something
sensible?
R.
^ permalink raw reply [flat|nested] 4+ messages in thread
* gdb run command
2003-09-03 13:53 ` Richard Earnshaw
@ 2003-09-03 13:59 ` Raja Saleru
2003-09-03 14:02 ` Tim Combs
0 siblings, 1 reply; 4+ messages in thread
From: Raja Saleru @ 2003-09-03 13:59 UTC (permalink / raw)
To: gdb
Hello, I am asking very poor question.
The gdb "run" command does it ment only for debugging the application on
stand alone machine or can be used while remote debugging ?
while remote debugging, by using the "run" command I observer the following
message, even I didnot started running.
The program being debugged has been started already.
Start it from the beginning? (y or n)
- regards
raja
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: gdb run command
2003-09-03 13:59 ` gdb run command Raja Saleru
@ 2003-09-03 14:02 ` Tim Combs
0 siblings, 0 replies; 4+ messages in thread
From: Tim Combs @ 2003-09-03 14:02 UTC (permalink / raw)
To: Raja Saleru; +Cc: gdb
Typically with remote debugging, use the "continue" command.
Tim
On Wed, Sep 03, 2003 at 10:59:32PM +0900, Raja Saleru wrote:
> Hello, I am asking very poor question.
>
> The gdb "run" command does it ment only for debugging the application on
> stand alone machine or can be used while remote debugging ?
>
> while remote debugging, by using the "run" command I observer the following
> message, even I didnot started running.
>
> The program being debugged has been started already.
> Start it from the beginning? (y or n)
>
> - regards
> raja
>
^ 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