diff options
author | Jeff Johnston <jjohnstn@redhat.com> | 2004-07-08 21:00:45 +0000 |
---|---|---|
committer | Jeff Johnston <jjohnstn@redhat.com> | 2004-07-08 21:00:45 +0000 |
commit | 935c2760265bad810b3e0e549176b6389b088884 (patch) | |
tree | 837a6850afb03ebbc25f646cb2367672e497a538 /gdb/testsuite/gdb.java | |
parent | 1279f4ffe5a2a904346eed4cac5b5b633c5af9f1 (diff) | |
download | gdb-935c2760265bad810b3e0e549176b6389b088884.zip gdb-935c2760265bad810b3e0e549176b6389b088884.tar.gz gdb-935c2760265bad810b3e0e549176b6389b088884.tar.bz2 |
2004-07-08 Jeff Johnston <jjohnstn@redhat.com>
* 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.
Diffstat (limited to 'gdb/testsuite/gdb.java')
-rw-r--r-- | gdb/testsuite/gdb.java/jmain.exp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.java/jmain.exp b/gdb/testsuite/gdb.java/jmain.exp index 942099d..49e7ca3 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}" |