mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-29 08:24:05 +08:00
* gdb.base/interp.exp: Always consume both prompts.
This commit is contained in:
@ -1,3 +1,7 @@
|
|||||||
|
2008-08-20 Daniel Jacobowitz <dan@codesourcery.com>
|
||||||
|
|
||||||
|
* gdb.base/interp.exp: Always consume both prompts.
|
||||||
|
|
||||||
2008-08-20 Pedro Alves <pedro@codesourcery.com>
|
2008-08-20 Pedro Alves <pedro@codesourcery.com>
|
||||||
|
|
||||||
* gdb.base/pending.exp: Test pending breakpoints without symbols
|
* gdb.base/pending.exp: Test pending breakpoints without symbols
|
||||||
|
@ -21,7 +21,16 @@ if $tracelevel then {
|
|||||||
|
|
||||||
gdb_start
|
gdb_start
|
||||||
|
|
||||||
gdb_test "interpreter-exec mi \"-var-update *\"" "\\^done,changelist=[].*"
|
# Do not use gdb_test for this test, since it has two prompts.
|
||||||
|
set cmd "interpreter-exec mi \"-var-update *\""
|
||||||
|
gdb_test_multiple $cmd $cmd {
|
||||||
|
-re "\\^done,changelist=\\\[\\\]\r\n$gdb_prompt " {
|
||||||
|
pass "$cmd"
|
||||||
|
gdb_expect 1 {
|
||||||
|
-re "\r\n$gdb_prompt $" { }
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
gdb_test "interpreter-exec console \"show version\"" "GNU gdb .*"
|
gdb_test "interpreter-exec console \"show version\"" "GNU gdb .*"
|
||||||
|
|
||||||
gdb_exit
|
gdb_exit
|
||||||
|
Reference in New Issue
Block a user