[ECOS] GDB Remote Debugging

Trenton D. Adams tadams@extremeeng.com
Mon Jun 11 10:18:00 GMT 2001


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).



More information about the Ecos-discuss mailing list