diff options
author | Daniel Jacobowitz <drow@false.org> | 2009-11-02 15:59:01 +0000 |
---|---|---|
committer | Daniel Jacobowitz <drow@false.org> | 2009-11-02 15:59:01 +0000 |
commit | bcf71277606f177627b97d050cf45aa74e799b1c (patch) | |
tree | cecdf2fcda6b1af9c857c7d9d606ba9782757eb1 /gdb | |
parent | 0105cee2bed30b7db6f337c824a16055daaadf65 (diff) | |
download | gdb-bcf71277606f177627b97d050cf45aa74e799b1c.zip gdb-bcf71277606f177627b97d050cf45aa74e799b1c.tar.gz gdb-bcf71277606f177627b97d050cf45aa74e799b1c.tar.bz2 |
* gdb.base/opaque.exp: Remove duplicate tests and xyz from test name.
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/testsuite/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/testsuite/gdb.base/opaque.exp | 25 |
2 files changed, 5 insertions, 24 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index c7579af..190be51 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,5 +1,9 @@ 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. 2009-11-02 Jan Kratochvil <jan.kratochvil@redhat.com> diff --git a/gdb/testsuite/gdb.base/opaque.exp b/gdb/testsuite/gdb.base/opaque.exp index e0c0f09..e8984a5 100644 --- a/gdb/testsuite/gdb.base/opaque.exp +++ b/gdb/testsuite/gdb.base/opaque.exp @@ -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" |