From: Daniel Jacobowitz <drow@false.org>
To: Joel Brobecker <brobecker@adacore.com>
Cc: Sandra Loosemore <sandra@codesourcery.com>, gdb-patches@sourceware.org
Subject: Re: RFA: auto-retry TCP connections for "target remote"
Date: Mon, 29 Dec 2008 03:55:00 -0000 [thread overview]
Message-ID: <20081229035505.GA10882@caradoc.them.org> (raw)
In-Reply-To: <20081228110831.GB4216@adacore.com>
On Sun, Dec 28, 2008 at 03:08:31PM +0400, Joel Brobecker wrote:
> I wonder if it wouldn't be both simpler and more general to do everything
> at the remote.c level.Something like replacing the call to serial_open ()
> by a loop that calls serial_open a few times until we either succeed or
> exceed the number of retries. What do others think?
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...
--
Daniel Jacobowitz
CodeSourcery
next prev parent reply other threads:[~2008-12-29 3:55 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-12-26 20:20 Sandra Loosemore
2008-12-26 20:58 ` Eli Zaretskii
2008-12-28 11:09 ` Joel Brobecker
2008-12-28 17:51 ` Sandra Loosemore
2008-12-29 3:26 ` Joel Brobecker
2008-12-29 3:55 ` Daniel Jacobowitz [this message]
2008-12-29 4:38 ` Joel Brobecker
2008-12-29 13:49 ` Daniel Jacobowitz
2008-12-29 14:13 ` Joel Brobecker
2008-12-29 14:57 ` Sandra Loosemore
2008-12-29 19:31 ` Daniel Jacobowitz
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20081229035505.GA10882@caradoc.them.org \
--to=drow@false.org \
--cc=brobecker@adacore.com \
--cc=gdb-patches@sourceware.org \
--cc=sandra@codesourcery.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox