* 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 433dd9bc6c57c39fd22eb7812ff0bf0451a8e9ae..2a04ca84aca7f71ff2aea1fc37b375ea415233df 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 34333b5748a53a9ef2008a4fe6000c94c35e9fcc..1f4879f1ed88bee2555a2a312692ce1dd6bcf2b3 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"
             }
         }