From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18192 invoked by alias); 7 Aug 2013 19:11:38 -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 18164 invoked by uid 89); 7 Aug 2013 19:11:38 -0000 X-Spam-SWARE-Status: No, score=-5.9 required=5.0 tests=AWL,BAYES_00,RCVD_IN_HOSTKARMA_W,RCVD_IN_HOSTKARMA_WL,RDNS_NONE,SPF_HELO_PASS,SPF_PASS autolearn=no version=3.3.1 Received: from Unknown (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.84/v0.84-167-ge50287c) with ESMTP; Wed, 07 Aug 2013 19:11:37 +0000 Received: from int-mx02.intmail.prod.int.phx2.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id r77JBTpe001010 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Wed, 7 Aug 2013 15:11:29 -0400 Received: from host2.jankratochvil.net (ovpn-116-36.ams2.redhat.com [10.36.116.36]) by int-mx02.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id r77JBPC3027937 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO); Wed, 7 Aug 2013 15:11:28 -0400 Date: Wed, 07 Aug 2013 19:11:00 -0000 From: Jan Kratochvil To: Doug Evans Cc: gdb-patches@sourceware.org Subject: Re: [RFA] py-value.exp: Use different names for C/C++ .o files. Message-ID: <20130807191125.GA25275@host2.jankratochvil.net> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) X-IsSubscribed: yes X-SW-Source: 2013-08/txt/msg00207.txt.bz2 On Thu, 01 Aug 2013 23:10:10 +0200, Doug Evans wrote: > Awhile ago I submitted this patch: > > http://sourceware.org/ml/gdb-patches/2012-05/msg00553.html > > Jan requested I do things differently: > > http://sourceware.org/ml/gdb-patches/2012-05/msg00568.html [...] > * gdb.python/py-value-cc.cc: Renamed from py-value.cc. > * gdb.python/py-value-cc.exp: Update. > * gdb.python/py-value.exp: Use different names for .o files for > C and C++. Only perform C++ tests if !skip_cplus_tests. I am fine with your patch: runtest CC_FOR_TARGET=gcc\ -gsplit-dwarf CXX_FOR_TARGET=g++\ -gsplit-dwarf gdb.python/py-value.exp -> py-value-cxx py-value-cxx.o py-value-cxx.dwo py-value py-value.o py-value.dwo DWP=.../binutils/gold/dwp runtest CC_FOR_TARGET=/bin/sh\ $PWD/../contrib/cc-with-tweaks.sh\ -p\ gcc\ -gsplit-dwarf CXX_FOR_TARGET=/bin/sh\ $PWD/../contrib/cc-with-tweaks.sh\ -p\ g++\ -gsplit-dwarf gdb.python/py-value.exp -> py-value-cxx.dwp py-value-cxx py-value-cxx.o py-value.dwp py-value py-value.o Thanks, Jan