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.
This commit is contained in:
parent
ad0f030310
commit
1953058fe9
|
@ -1,3 +1,7 @@
|
|||
2013-07-08 Andrew Burgess <aburgess@broadcom.com>
|
||||
|
||||
* gdb.python/py-explore.exp: Add $gdb_prompt to test regexp.
|
||||
|
||||
2013-07-07 Yao Qi <yao@codesourcery.com>
|
||||
|
||||
* boards/native-gdbserver.exp: Move invoke of
|
||||
|
|
|
@ -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"
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue