From 935c2760265bad810b3e0e549176b6389b088884 Mon Sep 17 00:00:00 2001 From: Jeff Johnston Date: Thu, 8 Jul 2004 21:00:45 +0000 Subject: [PATCH] 2004-07-08 Jeff Johnston * gdb.java/jmain.exp: Fix expected line number for main to break at. Set XFAIL for break at main test since gcj does not provide line number info for first statement in main. --- gdb/testsuite/ChangeLog | 6 ++++++ gdb/testsuite/gdb.java/jmain.exp | 3 ++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index abe15423b1b..a59e2594049 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2004-07-08 Jeff Johnston + + * gdb.java/jmain.exp: Fix expected line number for main to + break at. Set XFAIL for break at main test since gcj does not + provide line number info for first statement in main. + 2004-07-08 Andrew Cagney * gdb.base/attach.exp: Cleanup copyright. Re-indent. diff --git a/gdb/testsuite/gdb.java/jmain.exp b/gdb/testsuite/gdb.java/jmain.exp index 942099d3397..49e7ca3b511 100644 --- a/gdb/testsuite/gdb.java/jmain.exp +++ b/gdb/testsuite/gdb.java/jmain.exp @@ -48,7 +48,7 @@ gdb_test "set print sevenbit-strings" ".*" # Where the breakpoint should always land -set bpmain "Breakpoint .* file .*jmain.java, line 6\." +set bpmain "Breakpoint .* file .*jmain.java, line 5\." gdb_load "${binfile}" setup_kfail *-*-* java/1567 @@ -63,4 +63,5 @@ gdb_test "break jmain.main" "${bpmain}" # Check that a fully qualified "main" works. gdb_load "${binfile}" +setup_xfail *-*-* gcc/16439 gdb_test "break \'${testfile}.main(java.lang.String\[\])\'" "${bpmain}" -- 2.30.2