This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
Re: about the i386-elf-gdb.exe
- From: Andrew Lunn <andrew at lunn dot ch>
- To: xiaolu zhao <deerxiaolu at gmail dot com>
- Cc: ecos-discuss <ecos-discuss at ecos dot sourceware dot org>
- Date: Fri, 29 Jun 2007 15:18:45 +0200
- Subject: Re: [ECOS] about the i386-elf-gdb.exe
- References: <b48951870706290557v3f1cd741ub740e2b606d909ec@mail.gmail.com>
On Fri, Jun 29, 2007 at 02:57:51PM +0200, xiaolu zhao wrote:
> hi,
>
> When I want to use Insight GUI to do the debugging, why I can not get
> the graphic UI GDB, only the command-line interface?
Insight was removed from the build to make the distribution
smaller. Just compile gdb from source and it will include Insight by
default.
> And I also tried the command-line GDB. When I load the hello example
> to the target and implement the "continue" command, I can see the
> result "Hello, world!", but the program seem stop somewhere, I can not
> go back to the gdb> prompt. Thus I can not do the things like setting
> the breakpoints.
Embedded systems don't exit. They run until the power goes off or they
crash. Hello world is doing exactly what you would expect. Try using
^C to break in. Or set your breakpoints before doing continue.
Andrew
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss