aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/lib/compiler.c
AgeCommit message (Collapse)AuthorFilesLines
2018-01-02Update copyright year range in all GDB filesJoel Brobecker1-1/+1
gdb/ChangeLog: Update copyright year range in all GDB files
2017-01-01update copyright year range in GDB filesJoel Brobecker1-1/+1
This applies the second part of GDB's End of Year Procedure, which updates the copyright year range in all of GDB's files. gdb/ChangeLog: Update copyright year range in all GDB files.
2016-04-18testsuite: Support detection of Intel compilers via test_compiler_version.Bernhard Heckel1-0/+12
Add Intel specific preprocessor macros to query the version of the compiler. 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com> gdb/Testsuite/Changelog: * lib/compiler.c: Add Intel specific preprocessor macros. * lib/compiler.cc: Likewise.
2016-01-01GDB copyright headers update after running GDB's copyright.py script.Joel Brobecker1-1/+1
gdb/ChangeLog: Update year range in copyright notice of all files.
2015-12-21Remove references to HP CC/aCC compiler from testsuiteSimon Marchi1-23/+2
The HP CC/aCC compiler is exclusive to HP-UX, for which support has been explicitly removed. Therefore, It does not make sense to keep tests for these compilers' quirks. gdb/testsuite/ChangeLog: * gdb.base/break.exp: Remove references to HP CC/aCC compilers. * gdb.base/call-ar-st.exp: Likewise. * gdb.base/callfuncs.exp: Likewise. * gdb.base/condbreak.exp: Likewise. * gdb.base/constvars.exp: Likewise. * gdb.base/hbreak2.exp: Likewise. * gdb.base/langs.exp: Likewise. * gdb.base/list.exp: Likewise. * gdb.base/long_long.exp: Likewise. * gdb.base/ptype.exp: Likewise. * gdb.base/scope.exp: Likewise. * gdb.base/signals.exp: Likewise. * gdb.base/so-impl-ld.exp: Likewise. * gdb.base/varargs.exp: Likewise. * gdb.base/volatile.exp: Likewise. * gdb.base/whatis.exp: Likewise. * gdb.cp/cplusfuncs.exp: Likewise. * gdb.cp/inherit.exp: Likewise. * gdb.cp/local.exp: Likewise. * gdb.cp/member-ptr.exp: Likewise. * gdb.cp/method.exp: Likewise. * gdb.cp/overload.exp: Likewise. * gdb.cp/templates.exp: Likewise. * gdb.stabs/weird.exp: Likewise. * lib/compiler.c: Likewise. * lib/compiler.cc: Likewise. * lib/cp-support.exp: Likewise. * lib/gdb.exp: Likewise.
2015-01-01Update year range in copyright notice of all files owned by the GDB project.Joel Brobecker1-1/+1
gdb/ChangeLog: Update year range in copyright notice of all files.
2014-04-07Add support to recognize clang.Doug Evans1-0/+4
* lib/compiler.c: Identify the clang compiler. * lib/compiler.cc: Ditto.
2014-01-01Update Copyright year range in all files maintained by GDB.Joel Brobecker1-1/+1
2013-01-01Update years in copyright notice for the GDB files.Joel Brobecker1-2/+1
Two modifications: 1. The addition of 2013 to the copyright year range for every file; 2. The use of a single year range, instead of potentially multiple year ranges, as approved by the FSF.
2012-01-04Copyright year update in most files of the GDB Project.Joel Brobecker1-2/+2
gdb/ChangeLog: Copyright year update in most files of the GDB Project.
2011-01-01run copyright.sh for 2011.Joel Brobecker1-1/+1
2010-01-01Update copyright year in most headers.Joel Brobecker1-1/+1
Automatic update by copyright.sh.
2009-01-03 Updated copyright notices for most files.Joel Brobecker1-1/+1
2008-01-01 Updated copyright notices for most files.Daniel Jacobowitz1-1/+2
2007-08-23 Switch the license of all .c files to GPLv3.Joel Brobecker1-4/+3
Switch the license of all .h files to GPLv3. Switch the license of all .cc files to GPLv3.
2007-01-09Copyright updates for 2007.Daniel Jacobowitz1-1/+1
2006-03-072006-03-07 Paul Brook <paul@codesourcery.com>Paul Brook1-0/+4
* lib/compiler.c: Extract armcc version number. * lib/compiler.cc: Ditto.
2005-03-07fix obvious problem with compiler.c and compiler.cc: for xlc, used 'regsub',Paul Gilliam1-1/+1
but for get_compiler_info, line must start with 'set'.
2005-03-042004-03-03 Paul Gilliam <pgilliam@us.ibm.com>Paul Gilliam1-0/+6
* lib/compiler.c: Add test for IBM's xlc compiler. * lib/compiler.cc: Likewise.
2004-08-232004-08-23 Michael Chastain <mec.gnu@mindspring.com>Michael Chastain1-10/+2
* lib/gdb.exp: Remove signed_keyword_not_used. * lib/compiler.c: Likewise. * lib/compiler.cc: Likewise.
2004-07-022004-07-02 Michael Chastain <mec.gnu@mindspring.com>Michael Chastain1-0/+6
* lib/compiler.c: Accept __HP_CXD_SPP for old hp ansi c compiler. * lib/compiler.cc: Likewise.
2004-06-302004-06-30 Michael Chastain <mec.gnu@mindspring.com>Michael Chastain1-1/+8
* lib/compiler.cc: Work around string preprocessing problem with old hp c++ compiler. * lib/compiler.c: Likewise.
2004-06-142004-06-14 Michael Chastain <mec.gnu@mindspring.com>Michael Chastain1-10/+1
* lib/compiler.c: Remove gcc_compiled, hp_cc_compiler, hp_aCC_compiler. * lib/compiler.cc: Likewise. * lib/gdb.exp (get_compiler_info): Eval lines only if they are 'set' commands. Log diagnostics for other lines. Set gcc_compiled, hp_cc_compiler, and hp_aCC_compiler.
2004-06-102004-06-10 Andrew Cagney <cagney@gnu.org>Andrew Cagney1-1/+6
* lib/compiler.cc, lib/compiler.c: Append either __GNUC_PATCHLEVEL__, or "unknown" to the compiler_info. * gdb.base/structs.exp (test_struct_calls): Check for gcc-3-3-* instead of gcc-3-3.
2004-01-242004-01-24 Michael Chastain <mec.gnu@mindspring.com>Michael Chastain1-23/+34
* lib/compiler.c: Add hp_cc_compiler and hp_aCC_compiler. * lib/compiler.cc: Likewise. * lib/gdb.exp (get_compiler_info): Always call gdb_compile to get the right preprocessor. Eval the output directly. Remove special tests for hp_cc_compiler and hp_aCC_compiler. Remove hp_f77_compiler and hp_f90_compiler completely. (gdb_preprocess): Delete. (get_compiler): Delete.
2003-11-172003-11-17 Andrew Cagney <cagney@redhat.com>Andrew Cagney1-0/+23
* lib/gdb.exp (compiler_info): New global. (test_compiler_info): New function. (get_compiler_info): Set compiler_info. * lib/compiler.c, lib/compiler.cc: Add copyright. When GNUC, set "compiler_info" to gcc-<major>-<minor>.
1999-11-17import gdb-1999-11-16 snapshotJason Molenda1-0/+31