From: Tom Tromey Date: Fri, 25 Jan 2013 17:59:29 +0000 (+0000) Subject: * gdb.python/py-explore.exp: Expect the gdb prompt. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=86700f009f2effc71da8d0ab35bdf487362f5612;p=binutils-gdb.git * gdb.python/py-explore.exp: Expect the gdb prompt. --- diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 433dd9bc6c5..2a04ca84aca 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2013-01-25 Tom Tromey + + * gdb.python/py-explore.exp: Expect the gdb prompt. + 2013-01-25 Andrew Burgess * 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 34333b5748a..1f4879f1ed8 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" } }