This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
AW: several remote gdb questions/problems
- From: "Neundorf, Alexander" <Alexander dot Neundorf at jenoptik dot com>
- To: <ecos-discuss at sources dot redhat dot com>
- Date: Tue, 10 Aug 2004 10:21:43 +0200
- Subject: AW: [ECOS] several remote gdb questions/problems
...
> Ok, I opened /dev/ttydiag in my app and this seems to have
> the effect that the break events don't get through. So I
> added manually the check for ctrl-c (0x03) when reading from
> /dev/ttydiag and call cyg_hal_user_break() when this happens.
> Seems to work perfectly :-)
More important: both "Work with ROM monitor" and "Inherit console settings from ROM monitor" must be enabled with configtool for the application.
> Adding a "write-only" mode to cutecom (http://cutecom.sf.net)
> solved the problem for me :-). Now I can debug with gdb and
> enter commands through cutecom.
Ok, next version of cutecom (0.10.1) will work correctly, in 0.10.0 there is a bug with this feature.
Bye
Alex
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss