* Cross compiling gdb-5.1.1 for ppc405
@ 2002-04-22 13:09 Felix Radensky
2002-04-22 15:31 ` Felix Radensky
0 siblings, 1 reply; 2+ messages in thread
From: Felix Radensky @ 2002-04-22 13:09 UTC (permalink / raw)
To: linuxppc-embedded
Hi,
I've managed to cross-compile gdb-5.1.1 for 405GP using
Monta Vista HHL 2.0 toolchain. Gdb runs, I can load the executable
and set breakpoints. However, when i try to run the program from gdb,
I get the following message:
Starting program: /tmp/hello
Don't know how to run. Try "help target".
The same program runs fine in gdb-5.0 from Monta Vista
HHL 2.0.
Any ideas ?
Thanks a lot.
Felix.
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Cross compiling gdb-5.1.1 for ppc405
2002-04-22 13:09 Cross compiling gdb-5.1.1 for ppc405 Felix Radensky
@ 2002-04-22 15:31 ` Felix Radensky
0 siblings, 0 replies; 2+ messages in thread
From: Felix Radensky @ 2002-04-22 15:31 UTC (permalink / raw)
To: Felix Radensky; +Cc: linuxppc-embedded
Hi,
I've found the problem: I was running configure like this:
configure --prefix=/usr --host=i386-unknown-linux
--target=powerpc-unknown-linux
It should really be:
configure --prefix=/usr powerpc-unknown-linux
Felix.
Felix Radensky wrote:
>
> Hi,
>
> I've managed to cross-compile gdb-5.1.1 for 405GP using
> Monta Vista HHL 2.0 toolchain. Gdb runs, I can load the executable
> and set breakpoints. However, when i try to run the program from gdb,
> I get the following message:
>
> Starting program: /tmp/hello
> Don't know how to run. Try "help target".
>
> The same program runs fine in gdb-5.0 from Monta Vista
> HHL 2.0.
>
> Any ideas ?
>
> Thanks a lot.
>
> Felix.
>
>
>
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2002-04-22 15:31 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-04-22 13:09 Cross compiling gdb-5.1.1 for ppc405 Felix Radensky
2002-04-22 15:31 ` Felix Radensky
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).