From e36d075ac4876b7c3d8cabf37ef19a7424217d02 Mon Sep 17 00:00:00 2001 From: Michael Chastain Date: Fri, 9 Jan 2004 05:41:06 +0000 Subject: [PATCH] 2004-01-08 Michael Chastain * gdb.cp/exception.cc: Add copyright notice. * gdb.cp/exception.exp: Add a notice that this file is broken because of line number changes caused by addition of copyright notice. --- gdb/testsuite/ChangeLog | 7 +++++++ gdb/testsuite/gdb.cp/exception.cc | 21 +++++++++++++++++++++ gdb/testsuite/gdb.cp/exception.exp | 6 +++++- 3 files changed, 33 insertions(+), 1 deletion(-) diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index f69c9b8ed09..57f7237643e 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,10 @@ +2004-01-08 Michael Chastain + + * gdb.cp/exception.cc: Add copyright notice. + * gdb.cp/exception.exp: Add a notice that this file is broken + because of line number changes caused by addition of copyright + notice. + 2004-01-08 Michael Chastain * gdb.cp/exception.cc: Renamed from gdb.hp/gdb.aCC/exception.cc. diff --git a/gdb/testsuite/gdb.cp/exception.cc b/gdb/testsuite/gdb.cp/exception.cc index 27459329a8b..c1edfbf6785 100644 --- a/gdb/testsuite/gdb.cp/exception.cc +++ b/gdb/testsuite/gdb.cp/exception.cc @@ -1,3 +1,24 @@ +/* This testcase is part of GDB, the GNU debugger. + + Copyright 1997, 1998 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 2 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, write to the Free Software + Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + Please email any bugs, comments, and/or additions to this file to: + bug-gdb@prep.ai.mit.edu */ + // Test file for exception handling support. #include diff --git a/gdb/testsuite/gdb.cp/exception.exp b/gdb/testsuite/gdb.cp/exception.exp index a0914ae5ba4..90503247ad1 100644 --- a/gdb/testsuite/gdb.cp/exception.exp +++ b/gdb/testsuite/gdb.cp/exception.exp @@ -1,4 +1,4 @@ -# Copyright (C) 1997, 1998 Free Software Foundation, Inc. +# Copyright 1997, 1998, 2004 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 @@ -17,6 +17,10 @@ # Please email any bugs, comments, and/or additions to this file to: # bug-gdb@prep.ai.mit.edu +# Note: every line number in this file is too low by 21, +# because I added a copyright notice to exception.cc. +# -- chastain 2004-01-08 + # # tests for exception-handling support # Written by Satish Pai 1997-07-23 -- 2.30.2