-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"
}
}