[PATCH 2/2] Fix gdb.base/print-file-var.exp with Clang

Gary Benson gbenson@redhat.com
Mon Nov 2 14:24:08 GMT 2020


Pedro Alves wrote:
> On 10/13/20 6:26 PM, Gary Benson via Gdb-patches wrote:
> > The C++ parts of gdb.base/print-file-var.exp failed to build with
> > Clang because the "-x c++" option added by gdb_compile caused the
> > compiler to attempt to parse .so files as C++.  This patch splits
> > the compiler and linker options into separate lists, and switches
> > to building via build_executable_from_specs which can accomodate
> 
> accomodate -> accommodate
> 
> > this separation.
> > 
> > gdb/testsuite/ChangeLog:
> > 
> > 	* gdb.base/print-file-var.exp (test): Separate compiler and
> > 	linker options, and build using build_executable_from_specs
> > 	to accomodate this.
> 
> OK.

Thanks.  I've updated the spelling of "accommodate" and pushed this.

Cheers,
Gary

-- 
Gary Benson - he / him / his
Principal Software Engineer, Red Hat



More information about the Gdb-patches mailing list