This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] Add "thread-group id" and "id in thread-group" info to -thread-info output
- From: Simon Marchi <simon dot marchi at ericsson dot com>
- To: Luis Machado <lgustavo at codesourcery dot com>, <gdb-patches at sourceware dot org>
- Date: Thu, 19 Jan 2017 09:56:35 -0500
- Subject: Re: [PATCH] Add "thread-group id" and "id in thread-group" info to -thread-info output
- Authentication-results: sourceware.org; auth=none
- Authentication-results: spf=none (sender IP is ) smtp.mailfrom=simon dot marchi at ericsson dot com;
- References: <20170119144130.4341-1-simon.marchi@ericsson.com> <b9c2d26c-d745-df26-4c8d-83138bf7df01@codesourcery.com>
- Spamdiagnosticmetadata: NSPM
- Spamdiagnosticoutput: 1:99
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!