2004-03-17 David Carlton <carlton@kealia.com>

* gdb.cp/classes.exp (test_enums): Refer to PR c++/1588 instead of
	PR c++/826.
This commit is contained in:
David Carlton 2004-03-17 20:11:22 +00:00
parent fb8a10fd06
commit 23c73aa3b7
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2004-03-17 David Carlton <carlton@kealia.com>
* gdb.cp/classes.exp (test_enums): Refer to PR c++/1588 instead of
PR c++/826.
2004-03-16 Roland McGrath <roland@redhat.com>
* gdb.base/auxv.exp: New file.

View File

@ -703,7 +703,7 @@ proc test_enums {} {
}
# I'll do this test two different ways, because of a parser bug.
# See PR gdb/826.
# See PR gdb/1588.
gdb_test_multiple "print (ClassWithEnum::PrivEnum) 42" "print (ClassWithEnum::PrivEnum) 42" {
-re "\\$\[0-9\]+ = yellow$nl$gdb_prompt $" {
@ -712,7 +712,7 @@ proc test_enums {} {
-re "A (parse|syntax) error in expression, near `42'.$nl$gdb_prompt $" {
# "parse error" is bison 1.35.
# "syntax error" is bison 1.875.
kfail "gdb/826" "print (ClassWithEnum::PrivEnum) 42"
kfail "gdb/1588" "print (ClassWithEnum::PrivEnum) 42"
}
}