This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: debugging network apps using remote network GDB connection
- To: "Trenton D. Adams" <tadams at extremeeng dot com>
- Subject: Re: [ECOS] debugging network apps using remote network GDB connection
- From: Jonathan Larmour <jlarmour at redhat dot com>
- Date: Thu, 26 Jul 2001 20:32:48 +0100
- Cc: 'eCos mailing list' <ecos-discuss at sources dot redhat dot com>
- Organization: Red Hat UK Ltd.
- References: <001901c11606$0ffda320$090110ac@TRENT>
"Trenton D. Adams" wrote:
>
> Can I debug apps that use the TCP/IP stack over the RedBoot GDB network
> connection? I haven't actually tried it yet, just checking first.
Yes, but there are some known difficulties due to the lack of any locking
between the two uses (at the very least imagine what happens if you stop it
actually within the ethernet driver); and what happens to timeouts, and
incoming packets destined for the eCos side that will get received even
though the system is ostensibly meant to be stopped.
If you do do this, it's best not to let the eCos stack be particularly
active at the time.
Jifl
--
Red Hat, Rustat House, Clifton Road, Cambridge, UK. Tel: +44 (1223) 271062
Maybe this world is another planet's Hell -Aldous Huxley || Opinions==mine