From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27045 invoked by alias); 6 Oct 2006 18:31:29 -0000 Received: (qmail 27037 invoked by uid 22791); 6 Oct 2006 18:31:28 -0000 X-Spam-Check-By: sourceware.org Received: from mx2.palmsource.com (HELO mx2.palmsource.com) (12.7.175.14) by sourceware.org (qpsmtpd/0.31) with ESMTP; Fri, 06 Oct 2006 18:31:23 +0000 Received: from localhost (localhost [127.0.0.1]) by localhost.domain.tld (Postfix) with ESMTP id 13FB425F65; Fri, 6 Oct 2006 11:31:22 -0700 (PDT) Received: from mx2.palmsource.com ([127.0.0.1]) by localhost (mx2.palmsource.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 22669-01-20; Fri, 6 Oct 2006 11:31:21 -0700 (PDT) Received: from ussunex01.palmsource.com (unknown [192.168.101.9]) by mx2.palmsource.com (Postfix) with ESMTP id 1E6CD25C4A; Fri, 6 Oct 2006 11:31:21 -0700 (PDT) Received: from 192.168.92.75 ([192.168.92.75]) by ussunex01.palmsource.com ([192.168.101.9]) via Exchange Front-End Server owa.palmsource.com ([10.0.20.17]) with Microsoft Exchange Server HTTP-DAV ; Fri, 6 Oct 2006 18:31:18 +0000 Received: from svmsnyderlnx by owa.palmsource.com; 06 Oct 2006 11:31:17 -0700 Subject: Re: PING Re: [RFC] thread tests, linux/gdbserver From: Michael Snyder To: Mark Kettenis Cc: GDB Patches ML , Daniel Jacobowitz In-Reply-To: <20713.192.87.1.22.1160132019.squirrel@webmail.xs4all.nl> References: <1159223190.24808.52.camel@localhost.localdomain> <1160084737.9761.89.camel@localhost.localdomain> <20713.192.87.1.22.1160132019.squirrel@webmail.xs4all.nl> Content-Type: text/plain Content-Transfer-Encoding: 7bit Date: Fri, 06 Oct 2006 18:31:00 -0000 Message-Id: <1160159477.9761.124.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.4.1 X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2006-10/txt/msg00062.txt.bz2 On Fri, 2006-10-06 at 12:53 +0200, Mark Kettenis wrote: > > Any objections to this patch? > > Hmm, I must have missed the origional mail, but I think we should actually > fix our code to print these things in a more consistent manner. It comes from target_pid_to_str, which is a target method. We don't officially control what it looks like, since a target is free to say anything it likes. Of course, we do control the remote target, which is all I'm immediately concerned with here. It would be a one-line change, I think, to capitalize it... > > > On Mon, 2006-09-25 at 15:26 -0700, Michael Snyder wrote: > > > Several thread tests contain patterns that explicitly look > > > for the string "Thread" (capitalized) in the info threads > > > output. > > > > > > But target remote prints it as "thread" (lower case), and > > > so even though these tests can be run against gdbserver, > > > they will fail. > > > > > > This patch just substitutes a pattern "\[Tt\]hread". > > > > > > Seem OK? > > > > > > > > > >