* ARM-simulator problem (undefined target)
@ 2005-04-02 17:04 Ferenc Kovacs
2005-04-02 17:20 ` Daniel Jacobowitz
0 siblings, 1 reply; 3+ messages in thread
From: Ferenc Kovacs @ 2005-04-02 17:04 UTC (permalink / raw)
To: gdb
Hello!
I need to test some ARM/THUMB executables in GDB but i
have some problems building a working simulator. I configured
GDB-6.3 with these command line options:
./configure --target=arm-unknown-linux --prefix=$INSTALL_DIR
When i enter "target sim" on GDB's prompt, i get the
following message:
Undefined target command: "sim". Try "help target".
The "help target" lists only exec, remote, async, etc. but
no sim. I think my target ("arm-unknown-linux") matches
the "arm*-*-*" pattern in gdb-6.3/sim/configure and i have the
libarm-unknown-linux-sim.a in the $INSTALL_DIR/lib directory,
but it's still not working...
Could somebody tell me what can be the problem??
Thank you!
Feri
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: ARM-simulator problem (undefined target)
2005-04-02 17:04 ARM-simulator problem (undefined target) Ferenc Kovacs
@ 2005-04-02 17:20 ` Daniel Jacobowitz
2005-04-02 21:10 ` Ferenc Kovacs
0 siblings, 1 reply; 3+ messages in thread
From: Daniel Jacobowitz @ 2005-04-02 17:20 UTC (permalink / raw)
To: Ferenc Kovacs; +Cc: gdb
[Sorry about resending; I failed to copy the list the first time.]
On Sat, Apr 02, 2005 at 07:05:52PM +0000, Ferenc Kovacs wrote:
> Hello!
>
> I need to test some ARM/THUMB executables in GDB but i
> have some problems building a working simulator. I configured
> GDB-6.3 with these command line options:
>
> ./configure --target=arm-unknown-linux --prefix=$INSTALL_DIR
>
> When i enter "target sim" on GDB's prompt, i get the
> following message:
>
> Undefined target command: "sim". Try "help target".
>
> The "help target" lists only exec, remote, async, etc. but
> no sim. I think my target ("arm-unknown-linux") matches
> the "arm*-*-*" pattern in gdb-6.3/sim/configure and i have the
> libarm-unknown-linux-sim.a in the $INSTALL_DIR/lib directory,
> but it's still not working...
>
> Could somebody tell me what can be the problem??
The simulator doesn't get linked in for arm-linux. I'm not sure if
this is a bug or a feature, to be honest. Try arm-elf.
If folks think arm-linux should include the simulator, I have a patch
around here somewhere to add it...
--
Daniel Jacobowitz
CodeSourcery, LLC
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: ARM-simulator problem (undefined target)
2005-04-02 17:20 ` Daniel Jacobowitz
@ 2005-04-02 21:10 ` Ferenc Kovacs
0 siblings, 0 replies; 3+ messages in thread
From: Ferenc Kovacs @ 2005-04-02 21:10 UTC (permalink / raw)
To: Daniel Jacobowitz; +Cc: gdb
Daniel Jacobowitz wrote:
>[Sorry about resending; I failed to copy the list the first time.]
>
>On Sat, Apr 02, 2005 at 07:05:52PM +0000, Ferenc Kovacs wrote:
>
>
>>Hello!
>>
>>I need to test some ARM/THUMB executables in GDB but i
>>have some problems building a working simulator. I configured
>>GDB-6.3 with these command line options:
>>
>>./configure --target=arm-unknown-linux --prefix=$INSTALL_DIR
>>
>>When i enter "target sim" on GDB's prompt, i get the
>>following message:
>>
>>Undefined target command: "sim". Try "help target".
>>
>>The "help target" lists only exec, remote, async, etc. but
>>no sim. I think my target ("arm-unknown-linux") matches
>>the "arm*-*-*" pattern in gdb-6.3/sim/configure and i have the
>>libarm-unknown-linux-sim.a in the $INSTALL_DIR/lib directory,
>>but it's still not working...
>>
>>Could somebody tell me what can be the problem??
>>
>>
>
>The simulator doesn't get linked in for arm-linux. I'm not sure if
>this is a bug or a feature, to be honest. Try arm-elf.
>
>If folks think arm-linux should include the simulator, I have a patch
>around here somewhere to add it...
>
The arm-elf simulator works ok and i think it'll do the job, but if you
find that arm-linux patch could you send it??
Thanks!
Feri
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2005-04-02 21:10 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-04-02 17:04 ARM-simulator problem (undefined target) Ferenc Kovacs
2005-04-02 17:20 ` Daniel Jacobowitz
2005-04-02 21:10 ` Ferenc Kovacs
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox