* gdb.java/jprint.exp: XFAIL printing of static class members

because of GCC debuginfo problem.
This commit is contained in:
Keith Seitz 2010-03-25 22:12:07 +00:00
parent 40b365969f
commit e62b8c7ea4
2 changed files with 8 additions and 0 deletions

View file

@ -1,3 +1,8 @@
2010-03-25 Keith Seitz <keiths@redhat.com>
* gdb.java/jprint.exp: XFAIL printing of static class members
because of GCC debuginfo problem.
2010-03-25 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.base/dup-sect.exp, gdb.base/dup-sect.S: New.

View file

@ -86,5 +86,8 @@ if ![set_lang_java] then {
gdb_test "call x.addk(44)" "adding k gives 121\r\n.*= 121.*" "inherited virtual fn call"
# Regression test for a crasher.
# GCC does not output location information for static class members,
# so GDB will report these as "optimized out". See gcc/43260.
setup_xfail *-*-* gcc/43260
gdb_test "print *jprint.props" " = .*" "print a java.util.Properties"
}