Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Marc Khouzam <marc.khouzam@ericsson.com>
To: Joel Brobecker <brobecker@adacore.com>, Tom Tromey <tromey@redhat.com>
Cc: "'gdb-patches@sourceware.org'" <gdb-patches@sourceware.org>
Subject: RE: [MI] Duplicate --thread-group flag not detected
Date: Sat, 04 Dec 2010 18:10:00 -0000	[thread overview]
Message-ID: <F7CE05678329534C957159168FA70DEC572E0C0DDC@EUSAACMS0703.eamcs.ericsson.se> (raw)
In-Reply-To: <20101202170954.GA3031@adacore.com>


> > I think in this case the patch is simple and obvious enough that we can
> > go forward without waiting.
> >
> > What do you think of that?
> 
> Agreed. I am also OK for the 7.2 branch, even if it's not exactly
> a critical bug.

So, I can commit to both branches?  Even without the new test?
I apologize, but I just don't have time to write new tests, because I know
that if I start, I'll make sure every case is tested, and that will take
more time than I have for a bug that is not really that important.

I'll wait for you go/no-go to commit.

> > I was curious about this -- is this sort of transition something people
> > would want to see done?  Would it help MI users?  (It would help Python
> > if we ever implemented the automatic MI wrapping... but I am not sure
> > whether we really want to do that.)
> 
> I hope others have enough experience with MI that we can have some
> useful answers. I don't have much experience with MI myself...

I'm personally not familiar with what you mean with "new style argv commands",
so I can't and anything to that.


2010-12-04  Marc Khouzam  <marc.khouzam@ericsson.com>

	* mi/mi-parse.c (mi_parse): Missing else.

### Eclipse Workspace Patch 1.0
#P src
Index: gdb/mi/mi-parse.c
===================================================================
RCS file: /cvs/src/src/gdb/mi/mi-parse.c,v
retrieving revision 1.21
diff -u -r1.21 mi-parse.c
--- gdb/mi/mi-parse.c   17 May 2010 20:49:39 -0000      1.21
+++ gdb/mi/mi-parse.c   25 Nov 2010 20:43:31 -0000
@@ -319,7 +319,7 @@
          chp += 1;
          parse->thread_group = strtol (chp, &chp, 10);
        }
-      if (strncmp (chp, "--thread ", ts) == 0)
+      else if (strncmp (chp, "--thread ", ts) == 0)
        {
          if (parse->thread != -1)
            error (_("Duplicate '--thread' option"));


  reply	other threads:[~2010-12-04 18:10 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-11-25 20:56 Marc Khouzam
2010-11-26 16:39 ` Joel Brobecker
2010-12-02 16:40   ` Tom Tromey
2010-12-02 17:10     ` Joel Brobecker
2010-12-04 18:10       ` Marc Khouzam [this message]
2010-12-04 18:47         ` Joel Brobecker
2010-12-05 19:27           ` Marc Khouzam
2010-12-06 11:04             ` Joel Brobecker
2010-12-06 14:26               ` Marc Khouzam
2010-12-06 15:02               ` [MI] --thread-group test (was: RE: [MI] Duplicate --thread-group flag not detected) Marc Khouzam
2010-12-10 12:15                 ` Joel Brobecker

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=F7CE05678329534C957159168FA70DEC572E0C0DDC@EUSAACMS0703.eamcs.ericsson.se \
    --to=marc.khouzam@ericsson.com \
    --cc=brobecker@adacore.com \
    --cc=gdb-patches@sourceware.org \
    --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