This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
RE: GDB Remote Debugging
- To: "'Gary Thomas'" <gthomas at cambridge dot redhat dot com>
- Subject: RE: [ECOS] GDB Remote Debugging
- From: "Trenton D. Adams" <tadams at extremeeng dot com>
- Date: Mon, 11 Jun 2001 11:16:31 -0600
- Cc: "'eCos Discussion'" <ecos-discuss at sourceware dot cygnus dot com>
- Organization: Extreme Engineering
Thanks for the reply, that's exactly what I expected. Normally programs
would be developed to continue running anyhow! :)
-----Original Message-----
From: gary@chez-thomas.org [mailto:gary@chez-thomas.org] On Behalf Of
Gary Thomas
Sent: Monday, June 11, 2001 11:15 AM
To: Trenton D. Adams
Cc: eCos Discussion
Subject: RE: [ECOS] GDB Remote Debugging
On 11-Jun-2001 Trenton D. Adams wrote:
> I have a simple question I'm sure one of you SMART people can answer!
>:-)
>
> I've run the examples/hello.exe program from the RedHat eCos install
> directory. It hangs right after it's completed. I assume this is
> normal since the CPU doesn't know what to do after the program is
> complete. Is this correct?
eCos programs don't "terminate" since they are designed for embedded
systems. They simply "stop".
If you want control back to GDB when the program is done, set a
breakpoint at the exit point (differs depending on the program).