]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
* gdb.base/opaque.exp: Remove duplicate tests and xyz from test name.
authorDaniel Jacobowitz <drow@false.org>
Mon, 2 Nov 2009 15:59:01 +0000 (15:59 +0000)
committerDaniel Jacobowitz <drow@false.org>
Mon, 2 Nov 2009 15:59:01 +0000 (15:59 +0000)
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.base/opaque.exp

index c7579af246f8860dd3dc5cf1f151f8a0d6a853df..190be519f41c99139132f7307f8fa149a0d71dae 100644 (file)
@@ -1,3 +1,7 @@
+2009-11-02  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * gdb.base/opaque.exp: Remove duplicate tests and xyz from test name.
+
 2009-11-02  Daniel Jacobowitz  <dan@codesourcery.com>
 
        * gdb.cp/ctti.exp: Correct return values for unsigned char functions.
index e0c0f0981142312cc596e6566314c801d7d52b0e..e8984a5c9aca70756c40ab3532c32731e714f0c4 100644 (file)
@@ -181,7 +181,7 @@ gdb_test "whatis afoo" \
 
 gdb_test "ptype afoo" \
     "type = struct foo \{\[\r\n\]+    int a;\[\r\n\]+    int b;\[\r\n\]+\}" \
-    "ptype on opaque struct instance (dynamically) xyz 1"
+    "ptype on opaque struct instance (dynamically) 1"
 
 
 # Ensure that we know the form of an explicit struct foo.
@@ -220,29 +220,6 @@ gdb_test "whatis foop" \
 # Ensure that we know the form of the thing foop points to.
 
 setup_xfail_on_opaque_pointer
-if {!$gcc_compiled} then { setup_xfail "rs6000-*-*" }
-gdb_test "ptype foop" \
-    "type = struct foo \{\[\r\n\]+    int a;\[\r\n\]+    int b;\[\r\n\]+\} \[*\]+" \
-    "ptype on opaque struct pointer (dynamically) 2"
-
-gdb_test "whatis afoo" \
-    "type = struct foo" \
-    "whatis on opaque struct instance (dynamically) 1"
-
-
-# Ensure that we know the form of afoo, an instance of a struct foo.
-
-gdb_test "ptype afoo" \
-    "type = struct foo \{\r\n    int a;\r\n    int b;\r\n\}" \
-    "ptype on opaque struct instance (dynamically) 1"
-
-gdb_test "ptype afoo" \
-    "type = struct foo \{\[\r\n\]*.*int a;\[\r\n\]*.*int b;\[\r\n\]*}\[\r\n\]*" \
-    "ptype on opaque struct instance (dynamically) pqr 1"
-
-
-# Ensure that we know the form of an explicit struct foo.
-
 gdb_test "ptype foop" \
     "type = struct foo \{\[\r\n\]+    int a;\[\r\n\]+    int b;\[\r\n\]+\} \[*\]+" \
     "ptype on opaque struct pointer (dynamically) 2"