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.
This commit is contained in:
Jeff Johnston 2004-07-08 21:00:45 +00:00
parent 1279f4ffe5
commit 935c276026
2 changed files with 8 additions and 1 deletions

View File

@ -1,3 +1,9 @@
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.
2004-07-08 Andrew Cagney <cagney@gnu.org>
* gdb.base/attach.exp: Cleanup copyright. Re-indent.

View File

@ -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}"