[ECOS] GDB doesn't stop

Laurent GONZALEZ laurent.gonzalez@silicomp.fr
Tue Sep 2 14:34:00 GMT 2003


On 02 Sep 2003 09:40:49 UT
eibach@gdsys.de wrote:

> (gdb) cont
> Continuing.
> rx_thread: resumed
> thread_int: resumed
> Interrupted while waiting for the program.
> Give up (and stop debugging it)? (y or n) y
> 
> When I try breaking via Ctrl-C nothing happens. After pushing Ctrl-C again I get an error message (see above).

Gdb bypasses the first CTRL-C and catch the second. That's ok.

Is the serial line enabled in your application configuration ? If it is the case, it is impossible for redboot to catch any char from you. The line used for debugging shall not be used for application through the /dev/serX device. Only /dev/haldiag (or /dev/ttydiag) can be used.

asuuming com2 is connected to serial B (/dev/ser1) , AFAIK, this device is enabled by default in ecos.ecc.

regards.

-- 
GONZALEZ Laurent
Silicomp Research Institute
Tel: 04 76 41 66 98

-- 
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss



More information about the Ecos-discuss mailing list