From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19469 invoked by alias); 29 Mar 2012 14:24:08 -0000 Received: (qmail 19459 invoked by uid 22791); 29 Mar 2012 14:24:07 -0000 X-SWARE-Spam-Status: No, hits=-1.7 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from relay1.mentorg.com (HELO relay1.mentorg.com) (192.94.38.131) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 29 Mar 2012 14:23:55 +0000 Received: from svr-orw-fem-01.mgc.mentorg.com ([147.34.98.93]) by relay1.mentorg.com with esmtp id 1SDGGZ-0004BX-3f from Hui_Zhu@mentor.com ; Thu, 29 Mar 2012 07:23:55 -0700 Received: from SVR-ORW-FEM-04.mgc.mentorg.com ([147.34.97.41]) by svr-orw-fem-01.mgc.mentorg.com over TLS secured channel with Microsoft SMTPSVC(6.0.3790.4675); Thu, 29 Mar 2012 07:23:54 -0700 Received: from [127.0.0.1] (147.34.91.1) by svr-orw-fem-04.mgc.mentorg.com (147.34.97.41) with Microsoft SMTP Server id 14.1.289.1; Thu, 29 Mar 2012 07:23:25 -0700 Message-ID: <4F747058.9070504@mentor.com> Date: Thu, 29 Mar 2012 14:24:00 -0000 From: Hui Zhu User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:11.0) Gecko/20120310 Thunderbird/11.0 MIME-Version: 1.0 To: Pedro Alves CC: Subject: Re: [PATCH] testsuite: let find_gdbserver call which before return "" References: <4F73EE77.50907@mentor.com> <4F742E54.3040506@redhat.com> <4F743382.2020003@mentor.com> <4F743454.4000502@redhat.com> In-Reply-To: <4F743454.4000502@redhat.com> Content-Type: text/plain; charset="ISO-8859-1"; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2012-03/txt/msg00993.txt.bz2 On 03/29/12 18:07, Pedro Alves wrote: > Please don't top post. Sorry about that. > > On 03/29/2012 11:03 AM, Hui Zhu wrote: > >> Hi Pedro, >> >> I agree with what you said. >> >> But my patch didn't affect what you want to test, because if ${GDB} is a built gdb binary, which will not return anything, find_gdbserver will keep return "". >> >> So only when ${GDB} is gdb, it will works. > > > Sorry, I don't understand what you mean. > My means is, what you way to use testsuite, the ${GDB} is a dir, when call "which ${GDB}server", it will not get anything, so it didn't affect your way to use the testsuite. And it make the other way OK to work. Thanks, Hui