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]

Re: GDB doesn't stop


Yes, it was all my fault.
I had the serial port in my eCos configuration enabled so redboot could not catch the Ctrl-C.
Now (with disabled serial port) everything works fine.
Thanks to everybody (especially Laurent Gonzales) for the helpful answers.

Regards,
Dirk Eibach

> 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


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