2004-01-07 Michael Chastain <mec.gnu@mindspring.com>

* gdb.cp/bs15503.cc: Add copyright notice.
	* gdb.cp/bs15503.exp: Adjust line number.
This commit is contained in:
Michael Chastain 2004-01-08 08:18:35 +00:00
parent 0fd3b50324
commit 207574861e
3 changed files with 28 additions and 2 deletions

View File

@ -1,3 +1,8 @@
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.

View File

@ -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>

View File

@ -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" \