From: Daniel Jacobowitz <dan@codesourcery.com>
To: Pedro Alves <pedro@codesourcery.com>
Cc: gdb-patches@sourceware.org, Jan Kratochvil <jan.kratochvil@redhat.com>
Subject: Re: [patch] [gdbserver] Fix multi-GB error log files
Date: Tue, 15 Mar 2011 18:04:00 -0000 [thread overview]
Message-ID: <20110315174813.GW25422@caradoc.them.org> (raw)
In-Reply-To: <201103151742.56925.pedro@codesourcery.com>
On Tue, Mar 15, 2011 at 05:42:56PM +0000, Pedro Alves wrote:
> On Sunday 06 March 2011 11:55:36, Jan Kratochvil wrote:
> > This change introduces the listening port to remain open during the default
> > gdbserver run for users (when "--once" is not used). This is a change where
> > the user can mistakenly connect to the "dead" but still listening port.
>
> It seems that this change stands on its own independently from
> the --once stuff. 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).
>
> Daniel, do you have an opinion?
I don't have much of an opinion on this. The current behavior is
somewhat useful; if gdbserver is running, you can't connect to it.
Jan has correctly identified a potential problem if something "steals"
the port while gdbserver is still running, but nothing hits it in
practice except the testsuite.
--
Daniel Jacobowitz
Mentor Graphics
next prev parent reply other threads:[~2011-03-15 17:48 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 [this message]
2011-03-15 18:35 ` Jan Kratochvil
2011-03-15 18:48 ` Pedro Alves
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=20110315174813.GW25422@caradoc.them.org \
--to=dan@codesourcery.com \
--cc=gdb-patches@sourceware.org \
--cc=jan.kratochvil@redhat.com \
--cc=pedro@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