From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3443 invoked by alias); 4 Sep 2013 16:53:49 -0000 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 Received: (qmail 3430 invoked by uid 89); 4 Sep 2013 16:53:48 -0000 Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 04 Sep 2013 16:53:48 +0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-4.4 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD autolearn=ham version=3.3.2 X-HELO: mx1.redhat.com Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id r84GrcSS001684 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Wed, 4 Sep 2013 12:53:38 -0400 Received: from host2.jankratochvil.net (ovpn-116-29.ams2.redhat.com [10.36.116.29]) by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id r84GrYmD027543 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Wed, 4 Sep 2013 12:53:37 -0400 Date: Wed, 04 Sep 2013 16:53:00 -0000 From: Jan Kratochvil To: Yufeng Zhang Cc: gdb-patches@sourceware.org Subject: Re: [patch] [7.6.1] Fix argv[0] symlink regression (PR 15415) Message-ID: <20130904165334.GA22458@host2.jankratochvil.net> References: <20130826182111.GA19509@host2.jankratochvil.net> <522763CF.7060105@arm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <522763CF.7060105@arm.com> User-Agent: Mutt/1.5.21 (2010-09-15) X-IsSubscribed: yes X-SW-Source: 2013-09/txt/msg00137.txt.bz2 On Wed, 04 Sep 2013 18:46:07 +0200, Yufeng Zhang wrote: > On 08/26/13 19:21, Jan Kratochvil wrote: > >gdb/testsuite/ > >2013-08-26 Jan Kratochvil > > > > PR gdb/15415 > > * gdb.base/argv0-symlink.c: New file. > > * gdb.base/argv0-symlink.exp: New file. > > I wonder if the tests shall be skipped in the remote environment > where gdb has no control over argv[0]. The testcase runs gdbserver (even in gdbserver mode) so it has control over argv[0]. The testcase PASSes for me both with gdbserver and with gdbserver in extended mode running on localhost (Fedora Rawhide x86_64). If one runs gdbserver on remote host with different filesystem I believe the testcase still should work as I test there only the latest filename component (and latest directory component). Could you post your FAIL gdb.log or do you have just theoretical objectives? Thanks, Jan