This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: GDB doesn't stop
- From: Laurent GONZALEZ <laurent dot gonzalez at silicomp dot fr>
- To: ecos-discuss at sources dot redhat dot com
- Date: Tue, 2 Sep 2003 16:39:10 +0200
- Subject: Re: [ECOS] GDB doesn't stop
- Organization: SILICOMP RESEARCH INSTITUTE
- References: <DIIE.000009C700057F5C@gdproxy2.gdsys.de>
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