Index: gdb/testsuite/gdb.cp/mb-inline.exp |
diff --git a/gdb/testsuite/gdb.cp/mb-inline.exp b/gdb/testsuite/gdb.cp/mb-inline.exp |
index d223bae869898a5eed4c6e233edd5ce0d2b4d7a1..501127bf05da5845e8f54dfe03fdec789986aa9c 100644 |
--- a/gdb/testsuite/gdb.cp/mb-inline.exp |
+++ b/gdb/testsuite/gdb.cp/mb-inline.exp |
@@ -1,4 +1,4 @@ |
-# Copyright 2008-2012 Free Software Foundation, Inc. |
+# Copyright 2008-2013 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 |
@@ -40,6 +40,11 @@ gdb_test "break $hdrfile:$bp_location" \ |
"Breakpoint.*at.*: $hdrfile:$bp_location. \\(2 locations\\).*" \ |
"set breakpoint" |
+# Do "info break" now so we can easily compare it with the later "info break" |
+# if problems arise. |
+gdb_test "info break" \ |
+ "\[\r\n\]1\.1.* y .* at .*$hdrfile:$bp_location.*\[\r\n\]1\.2.* y .* at .*$hdrfile:$bp_location.*" |
+ |
gdb_run_cmd |
gdb_expect { |
-re "Breakpoint \[0-9\]+,.*foo \\(i=0\\).*$gdb_prompt $" { |