mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-22 19:09:31 +08:00
* gdb.base/completion.exp: Clarify indentation.
This commit is contained in:
@ -1,3 +1,7 @@
|
||||
2001-12-04 Jim Blandy <jimb@redhat.com>
|
||||
|
||||
* gdb.base/completion.exp: Clarify indentation.
|
||||
|
||||
2001-12-03 Jim Blandy <jimb@redhat.com>
|
||||
|
||||
* gdb.asm/s390.inc (gdbasm_datavar): Use `.long' to create `int'
|
||||
|
@ -471,17 +471,26 @@ gdb_expect {
|
||||
send_gdb "p b-a\t"
|
||||
sleep 1
|
||||
gdb_expect {
|
||||
-re "^p b-a\\\x07$"\
|
||||
{ send_gdb "\n"
|
||||
-re "^p b-a\\\x07$" {
|
||||
send_gdb "\n"
|
||||
gdb_expect {
|
||||
-re "No symbol \"b\" in current context\\..*$gdb_prompt $"\
|
||||
{ pass "complete 'p b-a'"}
|
||||
-re ".*$gdb_prompt $" { fail "complete 'p b-a'"}
|
||||
timeout {fail "(timeout) complete 'p b-a'"}
|
||||
-re "No symbol \"b\" in current context\\..*$gdb_prompt $" {
|
||||
pass "complete 'p b-a'"
|
||||
}
|
||||
-re ".*$gdb_prompt $" {
|
||||
fail "complete 'p b-a'"
|
||||
}
|
||||
timeout {
|
||||
fail "(timeout) complete 'p b-a'"
|
||||
}
|
||||
}
|
||||
-re ".*$gdb_prompt $" { fail "complete 'p b-a'" }
|
||||
timeout { fail "(timeout) complete 'p b-a'" }
|
||||
}
|
||||
-re ".*$gdb_prompt $" {
|
||||
fail "complete 'p b-a'"
|
||||
}
|
||||
timeout {
|
||||
fail "(timeout) complete 'p b-a'"
|
||||
}
|
||||
}
|
||||
|
||||
send_gdb "p b-a\t"
|
||||
|
Reference in New Issue
Block a user