This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

AW: 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]