aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.java
diff options
context:
space:
mode:
authorKeith Seitz <keiths@redhat.com>2010-03-25 22:12:07 +0000
committerKeith Seitz <keiths@redhat.com>2010-03-25 22:12:07 +0000
commite62b8c7ea4e47e447df774f45308f9539cd99fd6 (patch)
treea7993cbf0a92c605c9c30ecff98febecb9202432 /gdb/testsuite/gdb.java
parent40b365969f7fd035dfa0c6ffe729fd2501b5f11d (diff)
downloadgdb-e62b8c7ea4e47e447df774f45308f9539cd99fd6.zip
gdb-e62b8c7ea4e47e447df774f45308f9539cd99fd6.tar.gz
gdb-e62b8c7ea4e47e447df774f45308f9539cd99fd6.tar.bz2
* gdb.java/jprint.exp: XFAIL printing of static class members
because of GCC debuginfo problem.
Diffstat (limited to 'gdb/testsuite/gdb.java')
-rw-r--r--gdb/testsuite/gdb.java/jprint.exp3
1 files changed, 3 insertions, 0 deletions
diff --git a/gdb/testsuite/gdb.java/jprint.exp b/gdb/testsuite/gdb.java/jprint.exp
index 447ca73..2e33af4 100644
--- a/gdb/testsuite/gdb.java/jprint.exp
+++ b/gdb/testsuite/gdb.java/jprint.exp
@@ -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"
}