mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-09 04:21:49 +08:00
* gdb.base/completion.exp: Recognize the more detailed error
messages produced by the macro expander's lexical analyzer.
This commit is contained in:
parent
40cd92ad2f
commit
f617d2b61f
@ -1,3 +1,8 @@
|
||||
2002-05-17 Jim Blandy <jimb@redhat.com>
|
||||
|
||||
* gdb.base/completion.exp: Recognize the more detailed error
|
||||
messages produced by the macro expander's lexical analyzer.
|
||||
|
||||
2002-05-14 Elena Zannoni <ezannoni@redhat.com>
|
||||
|
||||
* gdb.arch/altivec-abi.c: New file.
|
||||
|
@ -414,7 +414,7 @@ gdb_expect {
|
||||
-re "^p 'a\\\x07$"\
|
||||
{ send_gdb "\n"
|
||||
gdb_expect {
|
||||
-re "Invalid character constant\\..*$gdb_prompt $"\
|
||||
-re "(Invalid character constant\\.|Unmatched single quote\\.).*$gdb_prompt $"\
|
||||
{ pass "complete 'p \'a'"}
|
||||
-re ".*$gdb_prompt $" { fail "complete 'p \'a'"}
|
||||
timeout {fail "(timeout) complete 'p \'a'"}
|
||||
@ -433,7 +433,7 @@ gdb_expect {
|
||||
-re ".*argv.*$gdb_prompt p .a$" {
|
||||
send_gdb "\n"
|
||||
gdb_expect {
|
||||
-re "Invalid character constant\\..*$gdb_prompt $" {
|
||||
-re "(Invalid character constant\\.|Unmatched single quote\\.).*$gdb_prompt $" {
|
||||
pass "complete (2) 'p \'a'"
|
||||
}
|
||||
-re ".*$gdb_prompt $" { fail "complete (2) 'p \'a'" }
|
||||
@ -446,7 +446,7 @@ gdb_expect {
|
||||
-re "\\(gdb\\) p 'a$" {
|
||||
send_gdb "\n"
|
||||
gdb_expect {
|
||||
-re "Invalid character constant\\..*$gdb_prompt $" {
|
||||
-re "(Invalid character constant\\.|Unmatched single quote\\.).*$gdb_prompt $" {
|
||||
pass "complete (2) 'p \'a'"
|
||||
}
|
||||
-re ".*$gdb_prompt $" {
|
||||
|
Loading…
Reference in New Issue
Block a user