aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDoug Evans <dje@google.com>2012-09-11 21:37:04 +0000
committerDoug Evans <dje@google.com>2012-09-11 21:37:04 +0000
commit3a0ed5d7793f9f38c56423531ab0a32f559bb5b2 (patch)
treedf9e0617b0ee3514661d1adfdb81fa42b4396857
parentd9eaeb59a428f57acfe2877e3d21df5fac59fbe3 (diff)
downloadfsf-binutils-gdb-3a0ed5d7793f9f38c56423531ab0a32f559bb5b2.zip
fsf-binutils-gdb-3a0ed5d7793f9f38c56423531ab0a32f559bb5b2.tar.gz
fsf-binutils-gdb-3a0ed5d7793f9f38c56423531ab0a32f559bb5b2.tar.bz2
* gdb.cp/mb-inline.exp: Do "info break" after setting multi-location
breakpoint.
-rw-r--r--gdb/testsuite/ChangeLog3
-rw-r--r--gdb/testsuite/gdb.cp/mb-inline.exp5
2 files changed, 8 insertions, 0 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index 047017e..b3395ad 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,5 +1,8 @@
2012-09-11 Doug Evans <dje@google.com>
+ * gdb.cp/mb-inline.exp: Do "info break" after setting multi-location
+ breakpoint.
+
* gdb.dwarf2/fission-base.S: Include gdb.dwarf2/ in dwo_name.
* gdb.dwarf2/fission-reread.S: Ditto.
* gdb.dwarf2/fission-base.exp: Remove setting of debug-file-directory.
diff --git a/gdb/testsuite/gdb.cp/mb-inline.exp b/gdb/testsuite/gdb.cp/mb-inline.exp
index d223bae..1e594a9 100644
--- a/gdb/testsuite/gdb.cp/mb-inline.exp
+++ b/gdb/testsuite/gdb.cp/mb-inline.exp
@@ -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 $" {