This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFA] py-value.exp: Use different names for C/C++ .o files.
- From: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- To: Doug Evans <dje at google dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Wed, 7 Aug 2013 21:11:25 +0200
- Subject: Re: [RFA] py-value.exp: Use different names for C/C++ .o files.
- References: <yjt2d2px3yod dot fsf at ruffy dot mtv dot corp dot google dot com>
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