Browse Source

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

* gdb.cp/bs15503.cc: Add copyright notice.
	* gdb.cp/bs15503.exp: Adjust line number.
cagney_bigcore-20040122-branch
Michael Chastain 23 years ago
parent
commit
207574861e
  1. 5
      gdb/testsuite/ChangeLog
  2. 21
      gdb/testsuite/gdb.cp/bs15503.cc
  3. 4
      gdb/testsuite/gdb.cp/bs15503.exp

5
gdb/testsuite/ChangeLog

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

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

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

Loading…
Cancel
Save