Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Pedro Alves <pedro@codesourcery.com>
To: Jan Kratochvil <jan.kratochvil@redhat.com>
Cc: gdb-patches@sourceware.org, Daniel Jacobowitz <dan@codesourcery.com>
Subject: Re: [patch] [gdbserver] Fix multi-GB error log files
Date: Tue, 15 Mar 2011 18:48:00 -0000	[thread overview]
Message-ID: <201103151836.02729.pedro@codesourcery.com> (raw)
In-Reply-To: <20110315180423.GA28968@host1.jankratochvil.net>

On Tuesday 15 March 2011 18:04:23, Jan Kratochvil wrote:
> On Tue, 15 Mar 2011 18:42:56 +0100, Pedro Alves wrote:
> > I'm worried about whether this breaks use
> > cases.  E.g., as is, you can spawn several instances of
> > gdbserver + connect, while only needing to open one port in
> > your firewall.  Or perhaps IDEs are relying on that when
> > spawning the second (and nth) connections to the same
> > board (while leaving the previous sessions still running).
> 
> In such case we can make --once default:

I don't think that's a good idea.  When the user does
"disconnect" (, or gdb crashes), we don't want gdbserver to
exit.

> 
> On Sun, 06 Mar 2011 12:55:36 +0100, Jan Kratochvil wrote:
> # Also when --once is already introduced it could be made default (that is
> # introduce an option "--permanent" to keep the current behavior).  But this
> # changes the behavior of gdbserver which the users may be used to.
> 
> It was not made the default just for backward compatibility which you state
> got broken anyway.

I'm confused.  Backwards compatibility would be broken by the listen
socket change.  But that socket change looked orthogonal
to the --once stuff?  Won't either of the changes fix the problem?

-- 
Pedro Alves


  reply	other threads:[~2011-03-15 18:36 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-06 14:23 Jan Kratochvil
2011-03-15 17:48 ` Pedro Alves
2011-03-15 18:04   ` Daniel Jacobowitz
2011-03-15 18:35   ` Jan Kratochvil
2011-03-15 18:48     ` Pedro Alves [this message]
2011-03-15 19:28       ` Jan Kratochvil
2011-03-15 20:06         ` Pedro Alves
2011-03-16 10:20           ` Jan Kratochvil
2011-03-16 11:44             ` Pedro Alves
2011-04-17 14:05               ` [patch] [gdbserver] Fix multi-GB error log files [doc review] Jan Kratochvil
2011-04-17 16:31                 ` Eli Zaretskii
2011-04-22 21:42                   ` Jan Kratochvil
2011-04-23  6:16                     ` Eli Zaretskii
2011-04-23  8:00                       ` Jan Kratochvil
2011-04-23 11:09                         ` Eli Zaretskii
2011-04-24  8:24                           ` Jan Kratochvil
2011-04-24  7:35                             ` Eli Zaretskii
2011-04-24  8:04                               ` [commit] " Jan Kratochvil

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=201103151836.02729.pedro@codesourcery.com \
    --to=pedro@codesourcery.com \
    --cc=dan@codesourcery.com \
    --cc=gdb-patches@sourceware.org \
    --cc=jan.kratochvil@redhat.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