summaryrefslogtreecommitdiff
path: root/gdb/testsuite
diff options
context:
space:
mode:
authorMichael Chastain <mec.gnu@mindspring.com>2004-01-08 08:18:35 +0000
committerMichael Chastain <mec.gnu@mindspring.com>2004-01-08 08:18:35 +0000
commit94472af8b1304a7115bd6b21311869ccca0df774 (patch)
treebafa3aec0524c3db5d3d6bc1d38906054b4b73a7 /gdb/testsuite
parent7e4c7d7fb499270cb8006dfb810ce1aa376f9730 (diff)
downloadgdb-94472af8b1304a7115bd6b21311869ccca0df774.tar.gz
2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
* gdb.cp/bs15503.cc: Add copyright notice. * gdb.cp/bs15503.exp: Adjust line number.
Diffstat (limited to 'gdb/testsuite')
-rw-r--r--gdb/testsuite/ChangeLog5
-rw-r--r--gdb/testsuite/gdb.cp/bs15503.cc21
-rw-r--r--gdb/testsuite/gdb.cp/bs15503.exp4
3 files changed, 28 insertions, 2 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index b4d8beca7a3..c978d54b304 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,5 +1,10 @@
2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
+ * gdb.cp/bs15503.cc: Add copyright notice.
+ * gdb.cp/bs15503.exp: Adjust line number.
+
+2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
+
* gdb.hp/gdb.defects/bs15503.exp: Renamed to gdb.cp/bs15503.exp.
* gdb.hp/gdb.defects/bs15503.cc: Renamed to gdb.cp/bs15503.cc.
diff --git a/gdb/testsuite/gdb.cp/bs15503.cc b/gdb/testsuite/gdb.cp/bs15503.cc
index 759bc0f8943..13f4377275a 100644
--- a/gdb/testsuite/gdb.cp/bs15503.cc
+++ b/gdb/testsuite/gdb.cp/bs15503.cc
@@ -1,3 +1,24 @@
+/* This testcase is part of GDB, the GNU debugger.
+
+ Copyright 1992 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 */
+
#include <string>
#include <iostream.h>
diff --git a/gdb/testsuite/gdb.cp/bs15503.exp b/gdb/testsuite/gdb.cp/bs15503.exp
index ef249516bd6..c6700fc0ff1 100644
--- a/gdb/testsuite/gdb.cp/bs15503.exp
+++ b/gdb/testsuite/gdb.cp/bs15503.exp
@@ -79,8 +79,8 @@ gdb_start
gdb_reinitialize_dir $srcdir/$subdir
gdb_load $binfile
-gdb_test "break 32" \
- "Breakpoint $decimal at $hex: file .*bs15503.cc, line 32." \
+gdb_test "break 53" \
+ "Breakpoint $decimal at $hex: file .*bs15503.cc, line 53." \
"break point on line in function"
gdb_test "run" \