This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [RFA] py-value.exp: Use different names for C/C++ .o files.


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]