public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
From: Simon Marchi <simon.marchi@ericsson.com>
To: Luis Machado <lgustavo@codesourcery.com>, <gdb-patches@sourceware.org>
Subject: Re: [PATCH] Add "thread-group id" and "id in thread-group" info to -thread-info output
Date: Thu, 19 Jan 2017 14:57:00 -0000	[thread overview]
Message-ID: <8a7845f6-62fc-e626-a2fb-f76f4ad418f2@ericsson.com> (raw)
In-Reply-To: <b9c2d26c-d745-df26-4c8d-83138bf7df01@codesourcery.com>

On 17-01-19 09:54 AM, Luis Machado wrote:
> On 01/19/2017 08:41 AM, Simon Marchi wrote:
>> diff --git a/gdb/testsuite/gdb.mi/mi-qualified-thread-id.exp b/gdb/testsuite/gdb.mi/mi-qualified-thread-id.exp
>> new file mode 100644
>> index 0000000000..43c1409786
>> --- /dev/null
>> +++ b/gdb/testsuite/gdb.mi/mi-qualified-thread-id.exp
>> @@ -0,0 +1,76 @@
>> +# Copyright 2017 Free Software Foundation, Inc.
>> +
>> +# This program is free software; you can redistribute it and/or modify
>> +# it under the terms of the GNU General Public License as published by
>> +# the Free Software Foundation; either version 3 of the License, or
>> +# (at your option) any later version.
>> +#
>> +# This program is distributed in the hope that it will be useful,
>> +# but WITHOUT ANY WARRANTY; without even the implied warranty of
>> +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
>> +# GNU General Public License for more details.
>> +#
>> +# You should have received a copy of the GNU General Public License
>> +# along with this program.  If not, see <http://www.gnu.org/licenses/>.
>> +
>> +load_lib mi-support.exp
>> +set MIFLAGS "-i=mi"
>> +
>> +standard_testfile
>> +
>> +if {[use_gdb_stub]} {
>> +    # There is no point in testing inferior-qualified thread ids if we can't
>> +    # have multiple inferiors.
>> +    untested "multi-inferior not supported"
>> +    return
>> +}
>> +
>> +if  { [gdb_compile_pthreads "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {debug}] != "" } {
>> +     untested ${testfile}
> 
> untested "failed to compile"

Whoops, bad practice I copied before your cleanup.  Thanks for your vigilance!

  reply	other threads:[~2017-01-19 14:57 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-01-19 14:42 Simon Marchi
2017-01-19 14:55 ` Luis Machado
2017-01-19 14:57   ` Simon Marchi [this message]
2017-02-20 16:18 ` Simon Marchi
2017-02-23 19:50   ` Pedro Alves
2017-02-24 20:22     ` Simon Marchi
2017-02-24 20:32       ` Simon Marchi
2017-03-15 21:36       ` Simon Marchi
2017-03-17 15:27         ` Pedro Alves
2017-03-17 15:26       ` Pedro Alves

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=8a7845f6-62fc-e626-a2fb-f76f4ad418f2@ericsson.com \
    --to=simon.marchi@ericsson.com \
    --cc=gdb-patches@sourceware.org \
    --cc=lgustavo@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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).