mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-23 11:39:26 +08:00

The file lib/future.exp contains an override of dejagnu's default_target_compile. The override is activated if dejagnu's default_target_compile is missing support for one or more languages. However, if the override is activated, it's active for all languages. This unnecessarily extends the scope of potential problems in the override to languages that don't need the override. Fix this by limiting the scope of the override. Also add a note stating for which languages the override is active, as a reminder that support for those languages needs to be ported to dejagnu. With my system dejagnu 1.6.1, as well as with current dejagnu trunk, that gives us: ... NOTE: Dejagnu's default_target_compile is missing support for Go, using \ local override NOTE: Dejagnu's default_target_compile is missing support for Rust, using \ local override ... Tested on x86_64-linux. gdb/testsuite/ChangeLog: 2020-06-19 Tom de Vries <tdevries@suse.de> * lib/gdb.exp (gdb_note): New proc. * lib/future.exp (gdb_default_target_compile_1): Factor out of ... (gdb_default_target_compile): ... here. Only call gdb_default_target_compile_1 if use_gdb_compile(<lang>) is set. (use_gdb_compile): Change to array. (toplevel): Update sets of use_gdb_compile to specify language. Warn about default_target_compile override. Store dejagnu's version of default_target_compile in dejagnu_default_target_compile.
…
…
…
…
…
…
…
…
…
…
README for GNU development tools This directory contains various GNU compilers, assemblers, linkers, debuggers, etc., plus their support routines, definitions, and documentation. If you are receiving this as part of a GDB release, see the file gdb/README. If with a binutils release, see binutils/README; if with a libg++ release, see libg++/README, etc. That'll give you info about this package -- supported targets, how to use it, how to report bugs, etc. It is now possible to automatically configure and build a variety of tools with one command. To build all of the tools contained herein, run the ``configure'' script here, e.g.: ./configure make To install them (by default in /usr/local/bin, /usr/local/lib, etc), then do: make install (If the configure script can't determine your type of computer, give it the name as an argument, for instance ``./configure sun4''. You can use the script ``config.sub'' to test whether a name is recognized; if it is, config.sub translates it to a triplet specifying CPU, vendor, and OS.) If you have more than one compiler on your system, it is often best to explicitly set CC in the environment before running configure, and to also set CC when running make. For example (assuming sh/bash/ksh): CC=gcc ./configure make A similar example using csh: setenv CC gcc ./configure make Much of the code and documentation enclosed is copyright by the Free Software Foundation, Inc. See the file COPYING or COPYING.LIB in the various directories, for a description of the GNU General Public License terms under which you can copy the files. REPORTING BUGS: Again, see gdb/README, binutils/README, etc., for info on where and how to report problems.
Description
Languages
C
51.8%
Makefile
22.4%
Assembly
12.3%
C++
6%
Roff
1.4%
Other
5.4%