X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=gdb%2Ftestsuite%2Fgdb.cp%2Fmb-inline.exp;h=c8f90d0ad5393952fc2d8ef26d5453119a1dfcb9;hb=fda326dd1d341f03a75a36c8331b8cc8d1f637fa;hp=4f0cc94b9d51e41b48633b8ec7fd556be159fb7c;hpb=4c38e0a4fcb69f8586d8db0b9cdb8dbab5980811;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/testsuite/gdb.cp/mb-inline.exp b/gdb/testsuite/gdb.cp/mb-inline.exp index 4f0cc94b9d..c8f90d0ad5 100644 --- a/gdb/testsuite/gdb.cp/mb-inline.exp +++ b/gdb/testsuite/gdb.cp/mb-inline.exp @@ -1,4 +1,4 @@ -# Copyright 2008, 2009, 2010 Free Software Foundation, Inc. +# Copyright 2008, 2009, 2010, 2011 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 @@ -24,8 +24,6 @@ if $tracelevel then { if { [skip_cplus_tests] } { continue } -set prms_id 0 -set bug_id 0 set testfile "mb-inline" set hdrfile "${testfile}.h" @@ -88,7 +86,7 @@ gdb_test "continue" \ # that at least in simple cases, the enable/disable # state of locations survive "run". # Early bug would disable 1.1 and enable 1.2 when program is run. -gdb_test "disable 1.2" "" "disabling location: disable" +gdb_test_no_output "disable 1.2" "disabling location: disable" gdb_run_cmd gdb_expect { @@ -103,9 +101,7 @@ gdb_expect { } } -gdb_test "continue" \ - ".*Program exited normally.*" \ - "continue with disabled breakpoint 1.2" +gdb_continue_to_end "disabled breakpoint 1.2" # Make sure we can set a breakpoint on a source statement that spans # multiple lines.