This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: serial.c problem !!
- From: Gary Thomas <gary at mlbassoc dot com>
- To: Dinesh Kumar <mljangir at yahoo dot co dot in>
- Cc: eCos Discussion <ecos-discuss at sources dot redhat dot com>
- Date: 22 Sep 2003 06:31:27 -0600
- Subject: Re: [ECOS] serial.c problem !!
- Organization: MLB Associates
- References: <20030922115040.90918.qmail@web8002.mail.in.yahoo.com>
On Mon, 2003-09-22 at 05:50, Dinesh Kumar wrote:
> thread simple_prog doesn't exit properly in example
> file serial.c The function simple_prog executes
> properly but I lose gdb control after it calls
> thread->exit(). The system keeps on working (I can
> still ping to target) but I can't give Ctrl-C fromm
> gdb prompt.
>
This is a known problem - if you run the serial device driver
(devs/serial/...) on the same port as is used by GDB, then
control-C doesn't work. It has to do with how ^C is detected
and no good solution has yet come forward.
In your case, probably it would be a good thing to set a
breakpoint at exit().
--
Gary Thomas <gary@mlbassoc.com>
MLB Associates
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss