Add $gdb_prompt to test regexp.
[deliverable/binutils-gdb.git] / gdb / testsuite / gdb.python / py-explore.exp
index 1f4879f1ed88bee2555a2a312692ce1dd6bcf2b3..9e515314164f3ca0cc379c29962c492fcf88becf 100644 (file)
@@ -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"
                                             }
                                         }
This page took 0.024839 seconds and 4 git commands to generate.