* gdb.java/jprint.exp: XFAIL printing of static class members
because of GCC debuginfo problem.
This commit is contained in:
parent
40b365969f
commit
e62b8c7ea4
2 changed files with 8 additions and 0 deletions
|
@ -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"
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue