aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Jacobowitz <drow@false.org>2003-01-14 04:34:46 +0000
committerDaniel Jacobowitz <drow@false.org>2003-01-14 04:34:46 +0000
commitb00234725ecd0bffb5af0f782f31d85a4f91a01e (patch)
tree6a20c1dfb7a41ac0a1f5888acd9e5b21fab91794
parent1bac305b7206372b7f2266851d6cc1ee2cb9d7ca (diff)
downloadgdb-b00234725ecd0bffb5af0f782f31d85a4f91a01e.zip
gdb-b00234725ecd0bffb5af0f782f31d85a4f91a01e.tar.gz
gdb-b00234725ecd0bffb5af0f782f31d85a4f91a01e.tar.bz2
* gdb.base/printcmds.exp: Enable setup_kfail for gdb/538
(ptype &*"foo"). * gdb.c++/local.exp: Enable setup_kfail for gdb/482.
-rw-r--r--gdb/testsuite/ChangeLog6
-rw-r--r--gdb/testsuite/gdb.base/printcmds.exp4
-rw-r--r--gdb/testsuite/gdb.c++/local.exp6
3 files changed, 11 insertions, 5 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index cd9fa21..3dab6a2 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,3 +1,9 @@
+2003-01-13 Daniel Jacobowitz <drow@mvista.com>
+
+ * gdb.base/printcmds.exp: Enable setup_kfail for gdb/538
+ (ptype &*"foo").
+ * gdb.c++/local.exp: Enable setup_kfail for gdb/482.
+
2002-01-13 Daniel Jacobowitz <drow@mvista.com>
* gdb.mi/mi-console.exp: Remove extra "(known bug)".
diff --git a/gdb/testsuite/gdb.base/printcmds.exp b/gdb/testsuite/gdb.base/printcmds.exp
index b0232dd..8f3ba89 100644
--- a/gdb/testsuite/gdb.base/printcmds.exp
+++ b/gdb/testsuite/gdb.base/printcmds.exp
@@ -1,4 +1,4 @@
-# Copyright 1992, 1994, 1995, 1996, 1997, 1999, 2000, 2002 Free
+# Copyright 1992, 1994, 1995, 1996, 1997, 1999, 2000, 2002, 2003 Free
# Software Foundation, Inc.
# This program is free software; you can redistribute it and/or modify
@@ -627,7 +627,7 @@ proc test_print_string_constants {} {
gdb_test "p *\"foo\"" " = 102 'f'"
gdb_test "ptype *\"foo\"" " = char"
gdb_test "p &*\"foo\"" " = \"foo\""
- # setup_kfail "gdb/538"
+ setup_kfail "gdb/538" *-*-*
gdb_test "ptype &*\"foo\"" "type = char \\*"
gdb_test "p (char *)\"foo\"" " = \"foo\""
}
diff --git a/gdb/testsuite/gdb.c++/local.exp b/gdb/testsuite/gdb.c++/local.exp
index 3ec2d5e..971567d 100644
--- a/gdb/testsuite/gdb.c++/local.exp
+++ b/gdb/testsuite/gdb.c++/local.exp
@@ -1,4 +1,4 @@
-# Copyright 1998, 1999, 2000, 2001, 2002 Free Software Foundation, Inc.
+# Copyright 1998, 1999, 2000, 2001, 2002, 2003 Free Software Foundation, Inc.
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -190,8 +190,8 @@ gdb_expect {
-re "type = class InnerLocal::NestedInnerLocal \{\[\r\n\t \]*public:\[\r\n\t \]*int nil;\[\r\n\t \]*int nil_foo\\(int\\);\[\r\n\t \]*\}.*$gdb_prompt $" { pass "ptype InnerLocal::NestedInnerLocal" }
-re "type = class InnerLocal::NestedInnerLocal \{\[\r\n\t \]*public:\[\r\n\t \]*int nil;\[\r\n\t \]*NestedInnerLocal *& *operator *= *\\((main${sep}::|)InnerLocal::NestedInnerLocal const *&\\);\[\r\n\t \]*NestedInnerLocal\\((main${sep}::|)InnerLocal::NestedInnerLocal const *&\\);\[\r\n\t \]*NestedInnerLocal\\((void|)\\);\[\r\n\t \]*int nil_foo\\(int\\);\[\r\n\t \]*\}.*$gdb_prompt $" { pass "ptype InnerLocal::NestedInnerLocal" }
-re "There is no field named NestedInnerLocal.*$gdb_prompt $" {
- # setup_kfail "gdb/482"
- fail "ptype InnerLocal::NestedInnerLocal (gdb/482)"
+ setup_kfail "gdb/482" *-*-*
+ fail "ptype InnerLocal::NestedInnerLocal"
}
-re "No symbol .*NestedInnerLocal.* in current context.*$gdb_prompt $" { fail "ptype InnerLocal::NestedInnerLocal (bogus symbol lookup)" }
-re ".*$gdb_prompt $" { fail "ptype InnerLocal::NestedInnerLocal" }