GDB testsuite: Re-enable -fdiagnostics-color=never
authorAndreas Arnez <arnez@linux.vnet.ibm.com>
Thu, 18 Jan 2018 18:42:46 +0000 (19:42 +0100)
committerAndreas Arnez <arnez@linux.vnet.ibm.com>
Thu, 18 Jan 2018 18:42:46 +0000 (19:42 +0100)
commitdcc069254040954ee72b3ed65b772d48cdff93df
treebb13ac3dfb997cae8af8f808f8c2b6191b5b86d1
parent25d4fd80936744adfa49f133524e3f342604a1cb
GDB testsuite: Re-enable -fdiagnostics-color=never

In August 2017 the GDB test suite was changed to always add the compile
option "-fdiagnostics-color=never", see:

  https://sourceware.org/ml/gdb-patches/2017-08/msg00150.html

Since this option is not understood by rustc, a commit from 09/2017
dropped its use in that case:

  https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;a=commit;h=5eb5f850
  ("Don't use -fdiagnostics-color=never for rustc")

But that change goes overboard and stops using the option for other
languages as well.  Thus compiler diagnostics written into gdb.log may
contain colored output again.  This is fixed.

gdb/testsuite/ChangeLog:

* lib/gdb.exp (gdb_compile): Re-enable use of
universal_compile_options for languages other than Rust.
gdb/testsuite/ChangeLog
gdb/testsuite/lib/gdb.exp
This page took 0.042732 seconds and 4 git commands to generate.