Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* handling async stop condition correctly
@ 2002-11-25 11:56 Nick Kelsey
  0 siblings, 0 replies; only message in thread
From: Nick Kelsey @ 2002-11-25 11:56 UTC (permalink / raw)
  To: gdb

Hi all,

Quick question...

When working with the serial API (specifically TCP) and the user presses the
STOP button in Insight the serial_readchar function returns SERIAL_ERROR.

How do I gracefully recover from this and keep using the TCP connection?

If I try to call serial_readchar again it segfaults :-(

I would appreciate your advice.

Thanks

Nick



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2002-11-25 19:56 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-11-25 11:56 handling async stop condition correctly Nick Kelsey

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox