From: Joel Brobecker <brobecker@adacore.com>
To: Marc Khouzam <marc.khouzam@ericsson.com>
Cc: Tom Tromey <tromey@redhat.com>,
"'gdb-patches@sourceware.org'" <gdb-patches@sourceware.org>
Subject: Re: [MI] Duplicate --thread-group flag not detected
Date: Mon, 06 Dec 2010 11:04:00 -0000 [thread overview]
Message-ID: <20101206110417.GC3031@adacore.com> (raw)
In-Reply-To: <F7CE05678329534C957159168FA70DEC572E0C0DDE@EUSAACMS0703.eamcs.ericsson.se>
> You make it hard to say no :-)
:-D
> So here's my attempt at new tests for these cases. I wasn't sure
> where to put it so I created a new mi-general.exp test which should
> eventually test the parsing of general MI syntax, including the
> --thread-group, --thread, --frame, --all, --reverse, flags.
OK. I propose we treat this patch as separate. Please just go ahead
with the code part, while we review the testing part.
> The problem is that there is another bug that makes the new tests
> fail, so I had to temporarily comment them out:
> http://sourceware.org/ml/gdb-patches/2010-11/msg00436.html
Let's not comment them out, but mark them KFAIL instead, if we can.
> 2010-12-05 Marc Khouzam <marc.khouzam@ericsson.com>
>
> * gdb.mi/mi-general.exp: New file.
Overal, the test seems fine, but I have limited experimence with
MI testcases.
> +set testfile "basics"
> +set srcfile ${testfile}.c
> +set binfile ${objdir}/${subdir}/mi-basics
I believe we decided in the past that it was a bad idea to share the same
example program between testcases. One reason is that, if we split the
gdb.mi testcase in multiple groups to allow more parallel testing, we
might run into troubles. However, I am just saying that for your info.
It's not your problem, and I know that you have little time for this
testcase, and I already appreciate the effort you put into it. So it's
fine to leave it as is.
> + mi_gdb_test "18-break-insert --thread-group i1 bogus" \
> + "18\\^error,msg=\"Function \\\\\"bogus\\\\\" not defined.\"" \
> + "Valid --thread-group flag"
Do we want to test the MI command with a sequence number. I know that
they are allowed, but aren't they obsolete?
Other than that, I don't have any other recommendation.
--
Joel
next prev parent reply other threads:[~2010-12-06 11:04 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
2010-12-04 18:47 ` Joel Brobecker
2010-12-05 19:27 ` Marc Khouzam
2010-12-06 11:04 ` Joel Brobecker [this message]
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=20101206110417.GC3031@adacore.com \
--to=brobecker@adacore.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