summaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.base/structs.exp
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2004-06-10 21:38:03 +0000
committerAndrew Cagney <cagney@redhat.com>2004-06-10 21:38:03 +0000
commit338e05af82a4ff4aef3bccd51572206734c411cb (patch)
treeef5fb08bcbce0cb0dcd683a3ecd15e764fdeb6ce /gdb/testsuite/gdb.base/structs.exp
parentd6fd015d6e56f31566d6c754a103693912abcb5c (diff)
downloadbinutils-gdb-338e05af82a4ff4aef3bccd51572206734c411cb.tar.gz
2004-06-10 Andrew Cagney <cagney@gnu.org>
* lib/compiler.cc, lib/compiler.c: Append either __GNUC_PATCHLEVEL__, or "unknown" to the compiler_info. * gdb.base/structs.exp (test_struct_calls): Check for gcc-3-3-* instead of gcc-3-3.
Diffstat (limited to 'gdb/testsuite/gdb.base/structs.exp')
-rw-r--r--gdb/testsuite/gdb.base/structs.exp8
1 files changed, 4 insertions, 4 deletions
diff --git a/gdb/testsuite/gdb.base/structs.exp b/gdb/testsuite/gdb.base/structs.exp
index e1f256fee6e..84435df84f1 100644
--- a/gdb/testsuite/gdb.base/structs.exp
+++ b/gdb/testsuite/gdb.base/structs.exp
@@ -218,8 +218,8 @@ proc test_struct_calls { n } {
set tests "call $n ${testfile}"
# Call fun${n}, checking the printed return-value.
- setup_compiler_kfails structs-tc-tll gcc-3-3 "DWARF 2" i*86-*-* gdb/1455
- setup_compiler_kfails structs-tc-td gcc-3-3 "DWARF 2" i*86-*-* gdb/1455
+ setup_compiler_kfails structs-tc-tll gcc-3-3-* "DWARF 2" i*86-*-* gdb/1455
+ setup_compiler_kfails structs-tc-td gcc-3-3-* "DWARF 2" i*86-*-* gdb/1455
gdb_test "p/c fun${n}()" "[foo ${n}]" "p/c fun<n>(); ${tests}"
# Check that GDB can always pass a structure to an inferior function.
@@ -230,8 +230,8 @@ proc test_struct_calls { n } {
# examining that global to confirm that the value is as expected.
gdb_test "call Fun${n}(foo${n})" "" "call Fun<n>(foo<n>); ${tests}"
- setup_compiler_kfails structs-tc-tll gcc-3-3 "DWARF 2" i*86-*-* gdb/1455
- setup_compiler_kfails structs-tc-td gcc-3-3 "DWARF 2" i*86-*-* gdb/1455
+ setup_compiler_kfails structs-tc-tll gcc-3-3-* "DWARF 2" i*86-*-* gdb/1455
+ setup_compiler_kfails structs-tc-td gcc-3-3-* "DWARF 2" i*86-*-* gdb/1455
gdb_test "p/c L${n}" [foo ${n}] "p/c L<n>; ${tests}"
}