This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: debugging timer dependent programs thru gdb
- To: Bart Veer <bartv at redhat dot com>
- Subject: Re: [ECOS] debugging timer dependent programs thru gdb
- From: Gary Thomas <gthomas at redhat dot com>
- Date: Wed, 15 Aug 2001 08:02:29 -0600 (MDT)
- Cc: ecos-discuss at sources dot redhat dot com, rajeev at inablers dot net
- Organization: Red Hat, Inc.
On 15-Aug-2001 Bart Veer wrote:
> One extra piece of information: pretty much any form of debugging on
> real hardware is going to interfere with real-time responsiveness and
> the like. If you have stopped the application on a breakpoint then it
> can no longer respond to external events - there are some games that
> can be played so that some threads continue running while other
> threads are being debugged, but debugging on real hardware is
> intrinsicaly intrusive to some extent.
>
To be clear though, GDB and eCos do not currently support this notion
(debug one thread while letting the rest of the world run merrily on).
Once GDB takes control, i.e. to debug a thread, *all* other eCos
processing stops until the thread execution is continued.