Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Pedro Alves <pedro@codesourcery.com>
To: Marc Khouzam <marc.khouzam@ericsson.com>
Cc: "'gdb-patches@sourceware.org'" <gdb-patches@sourceware.org>,
	"'Tom Tromey'" <tromey@redhat.com>
Subject: Re: [MI][patch] broken -target-detach
Date: Fri, 12 Nov 2010 16:43:00 -0000	[thread overview]
Message-ID: <201011121643.34464.pedro@codesourcery.com> (raw)
In-Reply-To: <F7CE05678329534C957159168FA70DEC572E5B317B@EUSAACMS0703.eamcs.ericsson.se>

On Friday 12 November 2010 16:01:20, Marc Khouzam wrote:

> > Unfortunately, 7.2 was released accepting the PID form only,
> > so we may be better off continue accepting it...
> 
> If we put this fix in the 7.2 branch, could we get rid of the
> PID form or is it too late?

IMO, it's too late for 7.2.  Having 7.2 and 7.2.1 handle this
command's argument incompatibly would cause pain for frontends
already passing it an argument, and we can avoid causing that pain.
So IMO, since it's quite easy to do so, we should continue handling it.
We can consider mentioning in the manual that the PID form
is deprecated, and that it may be removed in a later release.
Then we can consider removing it in the future if it ever causes
trouble.  (I'm not suggesting you do that.)

> I knew someone was going to call me on that :-).  Here is the new
> patch which still accepts PID.  

Sorry about that.  :-)

> I have to apologize, I just don't
> have the time to get a test case for it.  I hope the patch is useful
> enough as it is.

It sure is, thanks for persevering.

> Good for the 7.2 branch too?

IMO, yes.

You've just given me a new chance to nit on formatting, though! :-)

> +      /* First see if we are dealing with a thread-group id */

Period and double space at end of sentence, like:

 /* First see if we are dealing with a thread-group id.  */


> +      if (*(argv[0]) == 'i')

     if (*argv[0] == 'i')

Okay with those changes.

-- 
Pedro Alves


  reply	other threads:[~2010-11-12 16:43 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-09-28  9:21 Marc Khouzam
2010-09-30 10:25 ` Marc Khouzam
2010-10-12 22:51   ` Tom Tromey
2010-10-15 23:47 ` Pedro Alves
2010-11-12 16:02   ` Marc Khouzam
2010-11-12 16:43     ` Pedro Alves [this message]
2010-11-12 19:07       ` Marc Khouzam

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=201011121643.34464.pedro@codesourcery.com \
    --to=pedro@codesourcery.com \
    --cc=gdb-patches@sourceware.org \
    --cc=marc.khouzam@ericsson.com \
    --cc=tromey@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