This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: GDB Problem
- From: Andrew Lunn <andrew dot lunn at ascom dot ch>
- To: Sébastien Bouthillier <sebouthillier at hotmail dot com>
- Cc: ecos-discuss at sources dot redhat dot com
- Date: Mon, 11 Feb 2002 17:58:03 +0100
- Subject: Re: [ECOS] GDB Problem
- References: <F156FRaqbC8wSA1XvpF00018a76@hotmail.com>
On Mon, Feb 11, 2002 at 11:49:36AM -0500, Sébastien Bouthillier wrote:
>
> Hi,
>
> I have built the hello.c example using the
> makefile in the same directory. The program has
> been compiled for a i386 pc target.
>
> Now when I try to run the .exe file with GDB, I get
> this error message : "Don't know how to run".
You need to start thinking about host-target systems. You need to load
the image onto the target and then execute it. Run tries to run it on
the local host system.
look at the documentation for the following gdb commands
target
load
continue
typical commands i use for an StrongARM board are
set remotespeed 38400
target remote com2
load
continue
Andrew
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss