This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[rfc] gdb.c++/*.exp: remove CLLbs* references


This patch removes references to "CLLbs*" bug reports from gdb.c++/*.exp.
These are references to an external defect tracking system which is
not accessible to the GNU project.  The references probably came in from
a previous merge.

Testing: I am running this through my testbed this evening: native
i686-pc-linux-gnu, v2 and v3, dwarf-2 and stabs+.

Andrew C, I think I understand you now.  Is this what you are looking for?

I will commit this if the test run shows no regressions and
if Andrew C likes it.

Michael C

2003-01-17  Michael Chastain  <mec@shout.net>

	* gdb.c++/local.exp: Remove references to CLLbs* bug reports.
	gdb.c++/member-ptr.exp: Likewise.
	gdb.c++/namespace.exp: Likewise.
	gdb.c++/overload.exp: Likewise.
	gdb.c++/templates.exp: Likewise.
	gdb.c++/virtfunc.exp: Likewise.

Index: local.exp
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/gdb.c++/local.exp,v
retrieving revision 1.10
diff -u -r1.10 local.exp
--- local.exp	14 Jan 2003 04:34:46 -0000	1.10
+++ local.exp	17 Jan 2003 21:08:51 -0000
@@ -111,14 +111,11 @@
   timeout             { fail "(timeout) ptype Local" }
 }
 
-# DTS CLLbs14316 and CLLbs17058
 # coulter - I added a clause for HP's aCC compiler.  We print out the type
 #   as xx instead of const unsigned char, but we still have an expected failure
 #   because of two reasons:
-#   There is a number at the end of InnerLocal4 which should not be there,
-#       DTS CLLbs14316
-#   The line number for the class 
-# setup_xfail "hppa*-*-*" CLLbs14316
+#     There is a number at the end of InnerLocal4 which should not be there
+#     The line number for the class 
 
 # ---
 # Pattern 1:
@@ -172,12 +169,11 @@
 
 # gdb incorrectly interprets the NestedInnerLocal in
 # InnerLocal::NestedInnerLocal as field name instead of a type name;
-# See CLLbs14784.
 
 #---
 # Pattern 3:
 # FAIL
-# The comment above, about CLLbs14784, is still correct.
+# The comment above is still correct.
 #   dwarf-2
 #     gcc 2.95.3, 2.96-rh, 3.0.4, gcc-3_1-branch, HEAD
 #   stabs+
Index: member-ptr.exp
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/gdb.c++/member-ptr.exp,v
retrieving revision 1.2
diff -u -r1.2 member-ptr.exp
--- member-ptr.exp	6 Mar 2001 08:21:53 -0000	1.2
+++ member-ptr.exp	17 Jan 2003 21:08:51 -0000
@@ -1,4 +1,4 @@
-# Copyright 1998, 1999 Free Software Foundation, Inc.
+# Copyright 1998, 1999, 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
@@ -105,7 +105,7 @@
 
 # print pointer to data member
 
-setup_xfail "hppa*-*-*" CLLbs16901
+setup_xfail "hppa*-*-*"
 send_gdb "print pmi\n"
 gdb_expect {
    -re "\\$\[0-9\]* = \\(int \\( A::\\*\\)\\) &A::j\r\n$gdb_prompt $" {
@@ -118,7 +118,7 @@
 
 # print dereferenced pointer to data member
 
-setup_xfail "hppa*-*-*" CLLbs16901
+setup_xfail "hppa*-*-*"
 send_gdb "print a.*pmi\n"
 gdb_expect {
    -re "\\$\[0-9\]* = 121\r\n$gdb_prompt $" {
@@ -131,7 +131,7 @@
 # print dereferenced pointer to data member
 # this time, dereferenced through a pointer
 
-setup_xfail "hppa*-*-*" CLLbs16901
+setup_xfail "hppa*-*-*"
 send_gdb "print a_p->*pmi\n"
 gdb_expect {
    -re "\\$\[0-9\]* = 121\r\n$gdb_prompt $" {
@@ -217,7 +217,7 @@
 }
 
 # Double-check by printing a.
-setup_xfail "hppa*-*-*" CLLbs16901
+setup_xfail "hppa*-*-*"
 send_gdb "print a\n"
 gdb_expect {
    -re "\\$\[0-9\]* = \{c = 120 'x', j = 33, jj = 1331, static s = 10, Virtual table at $hex\}\r\n$gdb_prompt $" {
@@ -250,7 +250,7 @@
 }
 
 # Double-check by printing a.
-setup_xfail "hppa*-*-*" CLLbs16901
+setup_xfail "hppa*-*-*"
 send_gdb "print a\n"
 gdb_expect {
    -re "\\$\[0-9\]* = \{c = 120 'x', j = 44, jj = 1331, static s = 10, Virtual table at $hex\}\r\n$gdb_prompt $" {
@@ -297,7 +297,7 @@
 
 # Ptype a pointer to a method.
 
-setup_xfail "hppa*-*-*" CLLbs16901
+setup_xfail "hppa*-*-*"
 send_gdb "ptype pmf\n"
 gdb_expect {
    -re "type = int \\( A::\\*\\)\\(\\.\\.\\.\\)\r\n$gdb_prompt $" {
@@ -309,7 +309,7 @@
 
 # print a pointer to a method
 
-setup_xfail "hppa*-*-*" CLLbs16901
+setup_xfail "hppa*-*-*"
 send_gdb "print pmf\n"
 gdb_expect {
    -re "\\$\[0-9\]* = \\(int \\( A::\\*\\)\\(\\.\\.\\.\\)\\) \\?\\? <not supported with HP aCC>\r\n$gdb_prompt $" {
@@ -322,7 +322,7 @@
 
 # Ptype a pointer to a pointer to a method
 
-setup_xfail "hppa*-*-*" CLLbs16901
+setup_xfail "hppa*-*-*"
 send_gdb "ptype pmf_p\n"
 gdb_expect {
    -re "type = int \\( A::\\*\\*\\)\\(\\.\\.\\.\\)\r\n$gdb_prompt $" {
@@ -334,7 +334,7 @@
 
 # print a pointer to a pointer to a method
 
-setup_xfail "hppa*-*-*" CLLbs16901
+setup_xfail "hppa*-*-*"
 send_gdb "print pmf_p\n"
 gdb_expect {
    -re "\\$\[0-9\]* = \\(int \\( A::\\*\\*\\)\\(\\.\\.\\.\\)\\) $hex\r\n$gdb_prompt $" {
@@ -346,7 +346,7 @@
 
 # print dereferenced pointer to method
 
-setup_xfail "hppa*-*-*" CLLbs16901
+setup_xfail "hppa*-*-*"
 send_gdb "print a.*pmf\n"
 gdb_expect {
    -re "Pointers to methods not supported with HP aCC\r\n$gdb_prompt $" {
@@ -358,7 +358,7 @@
 
 # print dereferenced pointer to method, using ->*
 
-setup_xfail "hppa*-*-*" CLLbs16901
+setup_xfail "hppa*-*-*"
 send_gdb "print a_p->*pmf\n"
 gdb_expect {
    -re "Pointers to methods not supported with HP aCC\r\n$gdb_prompt $" {
@@ -382,7 +382,7 @@
 
 # Try to dereference the pointer to method without any object
 
-setup_xfail "hppa*-*-*" CLLbs16901
+setup_xfail "hppa*-*-*"
 send_gdb "print *pmf\n"
 gdb_expect {
    -re "Attempt to dereference pointer to member without an object\r\n$gdb_prompt $" {
@@ -404,7 +404,7 @@
 }
 
 # Check cast of pointer to member to integer
-setup_xfail "hppa*-*-*" CLLbs16901
+setup_xfail "hppa*-*-*"
 send_gdb "print (int) pmi\n"
 gdb_expect {
    -re "\\$\[0-9\]* = 8\r\n$gdb_prompt $" {
@@ -415,7 +415,7 @@
 }
 
 # Check cast of pointer to method to integer
-setup_xfail "hppa*-*-*" CLLbs16901
+setup_xfail "hppa*-*-*"
 send_gdb "print (int) pmf\n"
 gdb_expect {
    -re "Pointers to methods not supported with HP aCC\r\n$gdb_prompt $" {
@@ -426,7 +426,7 @@
 }
 
 # Try to invoke a function through a pointer to data member
-setup_xfail "hppa*-*-*" CLLbs16901
+setup_xfail "hppa*-*-*"
 send_gdb "print (a.*pmi)(3)\n"
 gdb_expect {
    -re "Not implemented: function invocation through pointer to method with HP aCC\r\n$gdb_prompt $" {
@@ -437,7 +437,7 @@
 }
 
 # Try to invoke a function through a pointer to a method
-setup_xfail "hppa*-*-*" CLLbs16901
+setup_xfail "hppa*-*-*"
 send_gdb "print (a.*pmf)(3)\n"
 gdb_expect {
    -re "Not implemented: function invocation through pointer to method with HP aCC\r\n$gdb_prompt $" {
@@ -449,7 +449,7 @@
 
 
 # Go past assignment of NULL to pmi
-setup_xfail "hppa*-*-*" CLLbs16901
+setup_xfail "hppa*-*-*"
 send_gdb "next\n"
 gdb_expect {
    -re "\r\n85\[ \t\]*k = \\(a.\\*pmf\\)\\(3\\);\r\n$gdb_prompt $" {
@@ -469,7 +469,7 @@
 #}
 
 # Dereference the null pointer to member
-setup_xfail "hppa*-*-*" CLLbs16901
+setup_xfail "hppa*-*-*"
 send_gdb "print a.*pmi\n"
 gdb_expect {
    -re "Attempted dereference of null pointer-to-member\r\n$gdb_prompt $" {
@@ -490,7 +490,7 @@
     timeout { fail "(timeout) set break at 91" }
 }
 
-setup_xfail "hppa*-*-*" CLLbs16901
+setup_xfail "hppa*-*-*"
 send_gdb "continue\n"
 gdb_expect {
    -re "Continuing\\.\r\n\r\nBreakpoint.*at.*member-ptr\\.cc:91\r\n91\[ \t]*k = \\(a.\\*pmf\\)\\(4\\);\r\n$gdb_prompt $" {
@@ -504,7 +504,7 @@
 # Now check again that pmi works even when not set to
 # something that's at the beginning of the object
 
-setup_xfail "hppa*-*-*" CLLbs16901
+setup_xfail "hppa*-*-*"
 send_gdb "print pmi\n"
 gdb_expect {
    -re "\\$\[0-9\]* = \\(int \\( A::\\*\\)\\) &A::jj\r\n$gdb_prompt $" {
@@ -517,7 +517,7 @@
 
 # print dereferenced pointer to data member
 
-setup_xfail "hppa*-*-*" CLLbs16901
+setup_xfail "hppa*-*-*"
 send_gdb "print a.*pmi\n"
 gdb_expect {
    -re "\\$\[0-9\]* = 1331\r\n$gdb_prompt $" {
@@ -530,7 +530,7 @@
 # print dereferenced pointer to data member
 # this time, dereferenced through a pointer
 
-setup_xfail "hppa*-*-*" CLLbs16901
+setup_xfail "hppa*-*-*"
 send_gdb "print a_p->*pmi\n"
 gdb_expect {
    -re "\\$\[0-9\]* = 1331\r\n$gdb_prompt $" {
Index: namespace.exp
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/gdb.c++/namespace.exp,v
retrieving revision 1.12
diff -u -r1.12 namespace.exp
--- namespace.exp	10 Jan 2002 20:46:16 -0000	1.12
+++ namespace.exp	17 Jan 2003 21:08:51 -0000
@@ -1,4 +1,4 @@
-# Copyright 1997, 1998, 2000, 2001, 2002 Free Software Foundation, Inc.
+# Copyright 1997, 1998, 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
@@ -107,7 +107,7 @@
 
 # Check all functions are known to GDB
 
-setup_xfail hppa*-*-*11* CLLbs14869
+setup_xfail hppa*-*-*11*
 send_gdb "info func xyzq\n"
 gdb_expect {
    -re "All functions.*File.*namespace.cc:\r\nint AAA::A_xyzq\\(int\\);\r\nint BBB::B_xyzq\\(int\\);\r\nchar AAA::xyzq\\(char\\);\r\nchar BBB::xyzq\\(char\\);\r\nchar BBB::CCC::xyzq\\(char\\);\r\nchar BBB::Class::xyzq\\(char\\);\r\n$gdb_prompt $" {
Index: overload.exp
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/gdb.c++/overload.exp,v
retrieving revision 1.9
diff -u -r1.9 overload.exp
--- overload.exp	13 Jan 2003 20:09:33 -0000	1.9
+++ overload.exp	17 Jan 2003 21:08:52 -0000
@@ -78,7 +78,7 @@
   }
 
 
-setup_xfail "hppa*-*-*" CLLbs16901
+setup_xfail "hppa*-*-*"
 send_gdb "ptype foo_instance1\n"
 gdb_expect {
   -re "type = class foo \{.*public:.*int ifoo;.*const char \\*ccpfoo;.*foo\\(int\\);.*foo\\(int, (const char|char const) \\*\\);.*foo\\(foo &\\);.*~foo\\(void\\);.*void foofunc\\(int\\);.*void foofunc\\(int, signed char \\*\\);.*int overload1arg\\(void\\);.*int overload1arg\\(char\\);.*int overload1arg\\(signed char\\);.*int overload1arg\\(unsigned char\\);.*int overload1arg\\(short\\);.*int overload1arg\\(unsigned short\\);.*int overload1arg\\(int\\);.*int overload1arg\\(unsigned int\\);.*int overload1arg\\(long\\);.*int overload1arg\\(unsigned long\\);.*int overload1arg\\(float\\);.*int overload1arg\\(double\\);.*int overloadargs\\(int\\);.*int overloadargs\\(int, int\\);.*int overloadargs\\(int, int, int\\);.*int overloadargs\\(int, int, int, int\\);.*int overloadargs\\(int, int, int, int, int\\);.*int overloadargs\\(int, int, int, int, int, int\\);.*int overloadargs\\(int, int, int, int, int, int, int\\);.*int overloadargs\\(int, int, int, int, int, int, int, int\\);.*i!
nt overloadargs\\(int, int, int, int, int, int, int, int, int\\);.*int overloadargs\\(int, int, int, int, int, int, int, int, int, int\\);.*int overloadargs\\(int, int, int, int, int, int, int, int, int, int, int\\);\r\n\}\r\n$gdb_prompt $" {
Index: templates.exp
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/gdb.c++/templates.exp,v
retrieving revision 1.12
diff -u -r1.12 templates.exp
--- templates.exp	23 Feb 2002 20:57:10 -0000	1.12
+++ templates.exp	17 Jan 2003 21:08:52 -0000
@@ -1,4 +1,4 @@
-# Copyright 1992, 1994, 1995, 1996, 1997, 1999, 2000, 2002
+# 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
@@ -123,8 +123,7 @@
 	default { fail "constructor breakpoint (timeout)" }
     }
     
-# See CLLbs14792
-    if {$hp_aCC_compiler} {setup_xfail hppa*-*-* CLLbs14792}
+    if {$hp_aCC_compiler} {setup_xfail hppa*-*-*}
     gdb_test "break T5<int>::~T5" \
 	"Breakpoint.*at.* file .*${testfile}.cc, line.*" \
 	"destructor breakpoint"    
@@ -158,7 +157,7 @@
 	    fail "print t5i.value()"
 	}
         -re "Cannot resolve .* to any overloaded instance.*$gdb_prompt $" {
-	    setup_xfail hppa*-*-* CLLbs16899
+	    setup_xfail hppa*-*-*
             xfail "print t5i.value"
 	}
 	-re ".*$gdb_prompt $" { fail "print t5i.value()" }
@@ -253,7 +252,7 @@
 
 # Template Foo<T>
 
-setup_xfail hppa64-*-* CLLbs16092
+setup_xfail hppa64-*-*
 # g++ can't do the template instantiation in debug info trick, so we
 # fail this because it's not a real type.
 if {!$hp_aCC_compiler} { setup_xfail *-*-* }
@@ -303,7 +302,7 @@
 
 # Template Bar<T, int>
 
-setup_xfail hppa64-*-* CLLbs16092
+setup_xfail hppa64-*-*
 # same as Foo for g++
 if {!$hp_aCC_compiler} { setup_xfail *-*-* }
 send_gdb "ptype Bar\n"   
@@ -335,7 +334,7 @@
 
 # Template Baz<T, char>
 
-setup_xfail hppa64-*-* CLLbs16092
+setup_xfail hppa64-*-*
 # Same as Foo, for g++
 if {!$hp_aCC_compiler} { setup_xfail *-*-* }
 send_gdb "ptype Baz\n"   
@@ -398,7 +397,7 @@
 
 # Template Spec<T1, T2>
 
-setup_xfail hppa64-*-* CLLbs16092
+setup_xfail hppa64-*-*
 # Same as Foo for g++
 if {!$hp_aCC_compiler} { setup_xfail *-*-* }
 send_gdb "ptype Spec\n"   
Index: virtfunc.exp
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/gdb.c++/virtfunc.exp,v
retrieving revision 1.11
diff -u -r1.11 virtfunc.exp
--- virtfunc.exp	14 Jan 2003 18:42:38 -0000	1.11
+++ virtfunc.exp	17 Jan 2003 21:08:53 -0000
@@ -756,7 +756,7 @@
 	    return 0
 	}
         -re "Cannot resolve .* to any overloaded instance.*$gdb_prompt $" {
-	    setup_xfail hppa*-*-* CLLbs16899
+	    setup_xfail hppa*-*-*
             fail "print pAe->f()"
 	}
 	-re ".*$gdb_prompt $" { fail "print pAe->f()" }
@@ -768,7 +768,7 @@
     gdb_expect {
 	-re ".* = 1$nl$gdb_prompt $" { pass "print pAa->f()" }
         -re "Cannot resolve .* to any overloaded instance.*$gdb_prompt $" {
-	    setup_xfail hppa*-*-*  CLLbs16899
+	    setup_xfail hppa*-*-* 
 	    fail "print pAa->f()"
 	}
 	-re ".*$gdb_prompt $" { fail "print pAa->f()" }
@@ -780,7 +780,7 @@
     gdb_expect {
 	-re ".* = 202$nl$gdb_prompt $" { pass "print pDe->vg()" }
         -re "Cannot resolve .* to any overloaded instance.*$gdb_prompt $" {
-	    setup_xfail hppa*-*-*  CLLbs16899
+	    setup_xfail hppa*-*-*
 	    fail "print pDe->vg()"
 	}
 	-re ".*$gdb_prompt $" { fail "print pDe->vg()" }
@@ -792,7 +792,7 @@
     gdb_expect {
 	-re ".* = 202$nl$gdb_prompt $" { pass "print pADe->vg()" }
         -re "Cannot resolve .* to any overloaded instance.*$gdb_prompt $" {
-	    setup_xfail hppa*-*-*  CLLbs16899
+	    setup_xfail hppa*-*-*
 	    fail "print pADe->vg()"
 	}
 	-re ".*$gdb_prompt $" { fail "print pADe->vg()" }
@@ -804,7 +804,7 @@
     gdb_expect {
 	-re ".* = 101$nl$gdb_prompt $" { pass "print pDd->vg()" }
         -re "Cannot resolve .* to any overloaded instance.*$gdb_prompt $" {
-	    setup_xfail hppa*-*-*  CLLbs16899
+	    setup_xfail hppa*-*-*
 	    fail "print pDd->vg()"
 	}
 	-re ".*$gdb_prompt $" { fail "print pDd->vg()" }
@@ -816,7 +816,7 @@
     gdb_expect {
 	-re ".* = 411$nl$gdb_prompt $" { pass "print pEe->vvb()" }
         -re "Cannot resolve .* to any overloaded instance.*$gdb_prompt $" {
-	    setup_xfail hppa*-*-*  CLLbs16899
+	    setup_xfail hppa*-*-*
 	    fail "print pEe->vvb()"
 	}
 	-re ".*$gdb_prompt $" { fail "print pEe->vvb()" }
@@ -828,7 +828,7 @@
     gdb_expect {
 	-re ".* = 407$nl$gdb_prompt $" { pass "print pVB->vvb()" }
         -re "Cannot resolve .* to any overloaded instance.*$gdb_prompt $" {
-	    setup_xfail hppa*-*-*  CLLbs16899
+	    setup_xfail hppa*-*-*
 	    fail "print pVB->vvb()"
 	}
 	-re ".*$gdb_prompt $" { fail "print pVB->vvb()" }
@@ -840,7 +840,7 @@
     gdb_expect {
 	-re ".* = 411$nl$gdb_prompt $" { pass "print pBe->vvb()" }
         -re "Cannot resolve .* to any overloaded instance.*$gdb_prompt $" {
-	    setup_xfail hppa*-*-*  CLLbs16899
+	    setup_xfail hppa*-*-*
 	    fail "print pBe->vvb()"
 	}
 	-re ".*$gdb_prompt $" { fail "print pBe->vvb()" }
@@ -852,7 +852,7 @@
     gdb_expect {
 	-re ".* = 411$nl$gdb_prompt $" { pass "print pDe->vvb()" }
         -re "Cannot resolve .* to any overloaded instance.*$gdb_prompt $" {
-	    setup_xfail hppa*-*-*  CLLbs16899
+	    setup_xfail hppa*-*-*
 	    fail "print pDe->vvb()"
 	}
 	-re ".*$gdb_prompt $" { fail "print pDe->vvb()" }
@@ -864,7 +864,7 @@
     gdb_expect {
 	-re ".* = 282$nl$gdb_prompt $" { pass "print pEe->vd()" }
         -re "Cannot resolve .* to any overloaded instance.*$gdb_prompt $" {
-	    setup_xfail hppa*-*-*  CLLbs16899
+	    setup_xfail hppa*-*-*
 	    fail "print pEe->vd()"
 	}
 	-re ".*$gdb_prompt $" { fail "print pEe->vd()" }
@@ -876,7 +876,7 @@
     gdb_expect {
 	-re ".* = 311$nl$gdb_prompt $" { pass "print pEe->fvb()" }
         -re "Cannot resolve .* to any overloaded instance.*$gdb_prompt $" {
-	    setup_xfail hppa*-*-*  CLLbs16899
+	    setup_xfail hppa*-*-*
 	    fail "print pEe->fvb()"
 	}
 	-re ".*$gdb_prompt $" { fail "print pEe->fvb()" }


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]