[PATCH] W/ Clang, compile/link C++ test programs with "-x c++"
Gary Benson
gbenson@redhat.com
Thu Jul 2 09:58:43 GMT 2020
Pedro Alves wrote:
> 2020-06-24 Pedro Alves <palves@redhat.com>
>
> * gdb.arch/amd64-entry-value-paramref.exp: Use
> prepare_for_testing_full and don't pass "c++" for the .S file
> build spec.
> * gdb.compile/compile-cplus.exp: Don't compile $srcfile3 with
> $options, since it's an assembly file. Remove -Wno-deprecated.
> * lib/gdb.exp (gdb_compile): Pass "-x c++" explicitly when
> compiling C++ programs.
Thanks Pedro, I ran the full testsuite with this last week and it's
working well.
Cheers,
Gary
--
Gary Benson - he / him / his
Principal Software Engineer, Red Hat
More information about the Gdb-patches
mailing list