aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2013-01-25 17:59:29 +0000
committerTom Tromey <tromey@redhat.com>2013-01-25 17:59:29 +0000
commit86700f009f2effc71da8d0ab35bdf487362f5612 (patch)
tree75545fbc70b2ce4493f841e772da7f5c133a8dac /gdb/testsuite
parent4d4ec4e5654dac6d8ba9277271b76e837447aeff (diff)
downloadgdb-86700f009f2effc71da8d0ab35bdf487362f5612.zip
gdb-86700f009f2effc71da8d0ab35bdf487362f5612.tar.gz
gdb-86700f009f2effc71da8d0ab35bdf487362f5612.tar.bz2
* gdb.python/py-explore.exp: Expect the gdb prompt.
Diffstat (limited to 'gdb/testsuite')
-rw-r--r--gdb/testsuite/ChangeLog4
-rw-r--r--gdb/testsuite/gdb.python/py-explore.exp2
2 files changed, 5 insertions, 1 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index 433dd9b..2a04ca8 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,3 +1,7 @@
+2013-01-25 Tom Tromey <tromey@redhat.com>
+
+ * gdb.python/py-explore.exp: Expect the gdb prompt.
+
2013-01-25 Andrew Burgess <aburgess@broadcom.com>
* gdb.base/gnu_vector.c: New variable for use in tests.
diff --git a/gdb/testsuite/gdb.python/py-explore.exp b/gdb/testsuite/gdb.python/py-explore.exp
index 34333b5..1f4879f 100644
--- a/gdb/testsuite/gdb.python/py-explore.exp
+++ b/gdb/testsuite/gdb.python/py-explore.exp
@@ -96,7 +96,7 @@ gdb_test_multiple "explore ss_ptr" "" {
-re "[pointer_description {ss_ptr} $SS].*" {
pass "explore ss_ptr"
gdb_test_multiple "y" "explore_as_single_value_pointer" {
- -re "$SS_fields" {
+ -re "$SS_fields.*$gdb_prompt" {
pass "explore ss_ptr as single value pointer"
}
}