summaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.python/py-explore.exp
diff options
context:
space:
mode:
authorAndrew Burgess <aburgess@broadcom.com>2013-07-08 11:16:01 +0000
committerAndrew Burgess <aburgess@broadcom.com>2013-07-08 11:16:01 +0000
commit1953058fe9068211402501410df1eece86b514e7 (patch)
tree5a90ab0192a014f29a6ab01c02cae9c645c131b2 /gdb/testsuite/gdb.python/py-explore.exp
parentad0f030310315704eeb4651460edb548fad21a02 (diff)
downloadbinutils-gdb-1953058fe9068211402501410df1eece86b514e7.tar.gz
Add $gdb_prompt to test regexp.
http://sourceware.org/ml/gdb-patches/2013-07/msg00173.html * gdb.python/py-explore.exp: Add $gdb_prompt to test regexp.
Diffstat (limited to 'gdb/testsuite/gdb.python/py-explore.exp')
-rw-r--r--gdb/testsuite/gdb.python/py-explore.exp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.python/py-explore.exp b/gdb/testsuite/gdb.python/py-explore.exp
index 1f4879f1ed8..9e515314164 100644
--- a/gdb/testsuite/gdb.python/py-explore.exp
+++ b/gdb/testsuite/gdb.python/py-explore.exp
@@ -119,7 +119,7 @@ gdb_test_multiple "explore darray_ref" "" {
-re ".*Returning to parent value.*Enter the index of the element you want to explore in 'darray_ref':.*" {
pass "end explore_as_array_index_2"
gdb_test_multiple "\0" "end explore_as_array" {
- -re "\[\n\r\]+" {
+ -re "\[\n\r\]+$gdb_prompt" {
pass "end explore_as_array"
}
}