From e62b8c7ea4e47e447df774f45308f9539cd99fd6 Mon Sep 17 00:00:00 2001 From: Keith Seitz Date: Thu, 25 Mar 2010 22:12:07 +0000 Subject: [PATCH] * gdb.java/jprint.exp: XFAIL printing of static class members because of GCC debuginfo problem. --- gdb/testsuite/ChangeLog | 5 +++++ gdb/testsuite/gdb.java/jprint.exp | 3 +++ 2 files changed, 8 insertions(+) diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 33652d13bdd..3ee9fb5fbe5 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2010-03-25 Keith Seitz + + * gdb.java/jprint.exp: XFAIL printing of static class members + because of GCC debuginfo problem. + 2010-03-25 Jan Kratochvil * gdb.base/dup-sect.exp, gdb.base/dup-sect.S: New. diff --git a/gdb/testsuite/gdb.java/jprint.exp b/gdb/testsuite/gdb.java/jprint.exp index 447ca73495a..2e33af413e5 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" } -- 2.30.2