From: Keith Seitz Date: Fri, 17 Mar 2017 17:49:56 +0000 (-0700) Subject: Update copyrights, add "untested" messages for runto_main. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f00e5f470d85443f4841dbca897103c18e70a118;p=thirdparty%2Fbinutils-gdb.git Update copyrights, add "untested" messages for runto_main. --- diff --git a/gdb/testsuite/gdb.compile/cp-namespace-template.exp b/gdb/testsuite/gdb.compile/cp-namespace-template.exp index 19eabe97595..08e7071adb3 100644 --- a/gdb/testsuite/gdb.compile/cp-namespace-template.exp +++ b/gdb/testsuite/gdb.compile/cp-namespace-template.exp @@ -30,6 +30,7 @@ if {[prepare_for_testing $testfile $testfile $srcfile \ } if {![runto_main]} { + untested "could not run to main" return -1 } diff --git a/gdb/testsuite/gdb.compile/cp-simple-anonymous.cc b/gdb/testsuite/gdb.compile/cp-simple-anonymous.cc index 19b9fc85b7b..d604339feb6 100644 --- a/gdb/testsuite/gdb.compile/cp-simple-anonymous.cc +++ b/gdb/testsuite/gdb.compile/cp-simple-anonymous.cc @@ -1,4 +1,4 @@ -/* Copyright 2015 Free Software Foundation, Inc. +/* Copyright 2015-2017 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/gdb/testsuite/gdb.compile/cp-simple-anonymous.exp b/gdb/testsuite/gdb.compile/cp-simple-anonymous.exp index 094c07be0c8..259caebc425 100644 --- a/gdb/testsuite/gdb.compile/cp-simple-anonymous.exp +++ b/gdb/testsuite/gdb.compile/cp-simple-anonymous.exp @@ -1,4 +1,4 @@ -# Copyright 2015-2016 Free Software Foundation, Inc. +# Copyright 2015-2017 Free Software Foundation, Inc. # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -30,6 +30,7 @@ if {[prepare_for_testing $testfile $testfile $srcfile \ } if {![runto_main]} { + untested "could not run to main" return -1 } diff --git a/gdb/testsuite/gdb.compile/cp-simple-inherit.cc b/gdb/testsuite/gdb.compile/cp-simple-inherit.cc index 3e445dffc34..c2cf6d97828 100644 --- a/gdb/testsuite/gdb.compile/cp-simple-inherit.cc +++ b/gdb/testsuite/gdb.compile/cp-simple-inherit.cc @@ -1,4 +1,4 @@ -/* Copyright 2015 Free Software Foundation, Inc. +/* Copyright 2015-2017 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/gdb/testsuite/gdb.compile/cp-simple-inherit.exp b/gdb/testsuite/gdb.compile/cp-simple-inherit.exp index 64c89064269..31ed7bd013f 100644 --- a/gdb/testsuite/gdb.compile/cp-simple-inherit.exp +++ b/gdb/testsuite/gdb.compile/cp-simple-inherit.exp @@ -1,4 +1,4 @@ -# Copyright 2015, 2016, 2017 Free Software Foundation, Inc. +# Copyright 2015-2017 Free Software Foundation, Inc. # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -30,6 +30,7 @@ if {[prepare_for_testing $testfile $testfile $srcfile \ } if {![runto_main]} { + untested "could not run to main" return -1 } diff --git a/gdb/testsuite/gdb.compile/cp-simple-member.cc b/gdb/testsuite/gdb.compile/cp-simple-member.cc index 9278088468c..38d723003f5 100644 --- a/gdb/testsuite/gdb.compile/cp-simple-member.cc +++ b/gdb/testsuite/gdb.compile/cp-simple-member.cc @@ -1,4 +1,4 @@ -/* Copyright 2015 Free Software Foundation, Inc. +/* Copyright 2015-2017 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/gdb/testsuite/gdb.compile/cp-simple-member.exp b/gdb/testsuite/gdb.compile/cp-simple-member.exp index c9320d7c2f2..9877956177c 100644 --- a/gdb/testsuite/gdb.compile/cp-simple-member.exp +++ b/gdb/testsuite/gdb.compile/cp-simple-member.exp @@ -1,4 +1,4 @@ -# Copyright 2015-2016 Free Software Foundation, Inc. +# Copyright 2015-2017 Free Software Foundation, Inc. # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -30,6 +30,7 @@ if {[prepare_for_testing $testfile $testfile $srcfile \ } if {![runto_main]} { + untested "could not run to main" return -1 } @@ -71,6 +72,5 @@ gdb_test "compile code get_values ()" \ gdb_test "compile code ATYPE i;" \ ".*.ATYPE. was not declared in this scope$failed" -# !!keiths; The "to ..." part depends on how we name anonymous types. gdb_test "compile code N::ANON_E nse = E_A" \ - ".*cannot convert .myenum. to .N::anonymous enum.*$failed" + ".*cannot convert.*$failed" diff --git a/gdb/testsuite/gdb.compile/cp-simple-method.cc b/gdb/testsuite/gdb.compile/cp-simple-method.cc index c3c99696df6..0f9e6749857 100644 --- a/gdb/testsuite/gdb.compile/cp-simple-method.cc +++ b/gdb/testsuite/gdb.compile/cp-simple-method.cc @@ -1,4 +1,4 @@ -/* Copyright 2015, 2016 Free Software Foundation, Inc. +/* Copyright 2015-2017 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/gdb/testsuite/gdb.compile/cp-simple-method.exp b/gdb/testsuite/gdb.compile/cp-simple-method.exp index ebb1273b6ce..e6437f4b37d 100644 --- a/gdb/testsuite/gdb.compile/cp-simple-method.exp +++ b/gdb/testsuite/gdb.compile/cp-simple-method.exp @@ -30,6 +30,7 @@ if {[prepare_for_testing $testfile $testfile $srcfile \ } if {![runto_main]} { + untested "could not run to main" return -1 } diff --git a/gdb/testsuite/gdb.compile/cp-simple-nested.cc b/gdb/testsuite/gdb.compile/cp-simple-nested.cc index 50db34f1494..2f61007c3f0 100644 --- a/gdb/testsuite/gdb.compile/cp-simple-nested.cc +++ b/gdb/testsuite/gdb.compile/cp-simple-nested.cc @@ -1,4 +1,4 @@ -/* Copyright 2015-2016 Free Software Foundation, Inc. +/* Copyright 2015-2017 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/gdb/testsuite/gdb.compile/cp-simple-nested.exp b/gdb/testsuite/gdb.compile/cp-simple-nested.exp index be3619740f4..ad64c0b6ccb 100644 --- a/gdb/testsuite/gdb.compile/cp-simple-nested.exp +++ b/gdb/testsuite/gdb.compile/cp-simple-nested.exp @@ -1,4 +1,4 @@ -# Copyright 2015-2016 Free Software Foundation, Inc. +# Copyright 2015-2017 Free Software Foundation, Inc. # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -30,6 +30,7 @@ if {[prepare_for_testing $testfile $testfile $srcfile \ } if {![runto_main]} { + untested "could not run to main" return -1 } diff --git a/gdb/testsuite/gdb.compile/cp-simple-ns.cc b/gdb/testsuite/gdb.compile/cp-simple-ns.cc index 56923edba14..85b83e4f080 100644 --- a/gdb/testsuite/gdb.compile/cp-simple-ns.cc +++ b/gdb/testsuite/gdb.compile/cp-simple-ns.cc @@ -1,3 +1,18 @@ +/* Copyright 2015-2017 Free Software Foundation, Inc. + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . */ + namespace N1 { namespace N2 diff --git a/gdb/testsuite/gdb.compile/cp-simple-ns.exp b/gdb/testsuite/gdb.compile/cp-simple-ns.exp index 5d51a3d3d61..1798c0e3fe0 100644 --- a/gdb/testsuite/gdb.compile/cp-simple-ns.exp +++ b/gdb/testsuite/gdb.compile/cp-simple-ns.exp @@ -1,4 +1,4 @@ -# Copyright 2015, 2016, 2017 Free Software Foundation, Inc. +# Copyright 2015-2017 Free Software Foundation, Inc. # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -28,6 +28,7 @@ if {[prepare_for_testing $testfile $testfile $srcfile \ } if {![runto_main]} { + untested "could not run to main" return -1 } diff --git a/gdb/testsuite/gdb.compile/cp-simple-template.cc b/gdb/testsuite/gdb.compile/cp-simple-template.cc index ec46694757b..f9bae7437d6 100644 --- a/gdb/testsuite/gdb.compile/cp-simple-template.cc +++ b/gdb/testsuite/gdb.compile/cp-simple-template.cc @@ -1,4 +1,4 @@ -/* Copyright 2016 Free Software Foundation, Inc. +/* Copyright 2016-2017 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -13,9 +13,6 @@ You should have received a copy of the GNU General Public License along with this program. If not, see . */ -// NOTE: We cannot currently use namespaces until namespace-qualified -// symbol lookups are fixed in gdb - template T mytemplate (int a) { diff --git a/gdb/testsuite/gdb.compile/cp-simple-template.exp b/gdb/testsuite/gdb.compile/cp-simple-template.exp index 7261eed332a..bb7af67f8b3 100644 --- a/gdb/testsuite/gdb.compile/cp-simple-template.exp +++ b/gdb/testsuite/gdb.compile/cp-simple-template.exp @@ -1,4 +1,4 @@ -# Copyright 2016 Free Software Foundation, Inc. +# Copyright 2016-2017 Free Software Foundation, Inc. # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -30,6 +30,7 @@ if {[prepare_for_testing $testfile $testfile $srcfile \ } if {![runto_main]} { + untested "could not run to main" return -1 } diff --git a/gdb/testsuite/gdb.compile/cp-simple-virtual.cc b/gdb/testsuite/gdb.compile/cp-simple-virtual.cc index f778d70a9b3..22fea4dd38d 100644 --- a/gdb/testsuite/gdb.compile/cp-simple-virtual.cc +++ b/gdb/testsuite/gdb.compile/cp-simple-virtual.cc @@ -1,4 +1,4 @@ -/* Copyright 2015 Free Software Foundation, Inc. +/* Copyright 2015-2017 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/gdb/testsuite/gdb.compile/cp-simple-virtual.exp b/gdb/testsuite/gdb.compile/cp-simple-virtual.exp index 44bb3dd7250..2a67a8ad347 100644 --- a/gdb/testsuite/gdb.compile/cp-simple-virtual.exp +++ b/gdb/testsuite/gdb.compile/cp-simple-virtual.exp @@ -1,4 +1,4 @@ -# Copyright 2015, 2016 Free Software Foundation, Inc. +# Copyright 2015-2017 Free Software Foundation, Inc. # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -30,6 +30,7 @@ if {[prepare_for_testing $testfile $testfile $srcfile \ } if {![runto_main]} { + untested "could not run to main" return -1 } diff --git a/gdb/testsuite/gdb.compile/cp-special-function.cc b/gdb/testsuite/gdb.compile/cp-special-function.cc index 6bb5ea596c5..52cbd0650f6 100644 --- a/gdb/testsuite/gdb.compile/cp-special-function.cc +++ b/gdb/testsuite/gdb.compile/cp-special-function.cc @@ -1,4 +1,4 @@ -/* Copyright 2015 Free Software Foundation, Inc. +/* Copyright 2015-2017 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/gdb/testsuite/gdb.compile/cp-special-function.exp b/gdb/testsuite/gdb.compile/cp-special-function.exp index fcbbfcea65e..41f8dbd913f 100644 --- a/gdb/testsuite/gdb.compile/cp-special-function.exp +++ b/gdb/testsuite/gdb.compile/cp-special-function.exp @@ -1,4 +1,4 @@ -# Copyright 2015, 2016 Free Software Foundation, Inc. +# Copyright 2015-2017 Free Software Foundation, Inc. # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -30,6 +30,7 @@ if {[prepare_for_testing $testfile $testfile $srcfile \ } if {![runto_main]} { + untested "could not run to main" return -1 }