aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorMichael Chastain <mec@google.com>2004-01-09 05:41:06 +0000
committerMichael Chastain <mec@google.com>2004-01-09 05:41:06 +0000
commite36d075ac4876b7c3d8cabf37ef19a7424217d02 (patch)
treeb6be90221e6fd15e4cf4a99af1fab130a2f11052 /gdb
parent8349035256b45f96828cf6e6f7ed6e44c1289668 (diff)
downloadgdb-e36d075ac4876b7c3d8cabf37ef19a7424217d02.zip
gdb-e36d075ac4876b7c3d8cabf37ef19a7424217d02.tar.gz
gdb-e36d075ac4876b7c3d8cabf37ef19a7424217d02.tar.bz2
2004-01-08 Michael Chastain <mec.gnu@mindspring.com>
* 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.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/testsuite/ChangeLog7
-rw-r--r--gdb/testsuite/gdb.cp/exception.cc21
-rw-r--r--gdb/testsuite/gdb.cp/exception.exp6
3 files changed, 33 insertions, 1 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index f69c9b8..57f7237 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,5 +1,12 @@
2004-01-08 Michael Chastain <mec.gnu@mindspring.com>
+ * 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 <mec.gnu@mindspring.com>
+
* gdb.cp/exception.cc: Renamed from gdb.hp/gdb.aCC/exception.cc.
* gdb.cp/exception.exp: Renamed from gdb.hp/gdb.aCC/exception.exp.
diff --git a/gdb/testsuite/gdb.cp/exception.cc b/gdb/testsuite/gdb.cp/exception.cc
index 2745932..c1edfbf 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 <iostream.h>
diff --git a/gdb/testsuite/gdb.cp/exception.exp b/gdb/testsuite/gdb.cp/exception.exp
index a0914ae..9050324 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 <pai@apollo.hp.com> 1997-07-23