RFA: auto-retry TCP connections for "target remote"

Joel Brobecker brobecker@adacore.com
Mon Dec 29 04:38:00 GMT 2008


> Sandra's patch has both an on/off switch and a total retry time.
> I think that's a little more user-friendly than a retry count;
> "try for 30 seconds" instead "try 5 times".  I'm not sure how we'd do
> that if it wasn't implemented in ser-tcp.c, though...

Aha, I see. Being able to control the maximum wait is nice too.
In that case, I wonder if we should change the name of the settings
to show that they apply to the TCP transport layer only. I think
the question to ask ourselves is whether we're planning on reusing
the same settings for other transport layers - I think there's value
in having separate settings for separate layers as each medium has
different qualities, and different values might make better sense.

I glanced at the ser-tcp changes. I'm a little uncomfortable reviewing
them, particularly because of Windows. Would you be in a better position
to review them? Otherwise, I'll do some homework and take a look.

-- 
Joel



More information about the Gdb-patches mailing list