* gdb.python/py-explore.exp: Expect the gdb prompt.
authorTom Tromey <tromey@redhat.com>
Fri, 25 Jan 2013 17:59:29 +0000 (17:59 +0000)
committerTom Tromey <tromey@redhat.com>
Fri, 25 Jan 2013 17:59:29 +0000 (17:59 +0000)
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.python/py-explore.exp

index 433dd9b..2a04ca8 100644 (file)
@@ -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.
index 34333b5..1f4879f 100644 (file)
@@ -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"
             }
         }