This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB 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: RFA: auto-retry TCP connections for "target remote"


> 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


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