2004-02-24 Andrew Cagney <cagney@redhat.com>

* gdb.java/jmisc.exp: Use the fully quallified name of "main" when
	setting a breakpoint.  Work around PR java/1565.
This commit is contained in:
Andrew Cagney 2004-02-24 16:09:48 +00:00
parent 2154891a10
commit b8a566476b
2 changed files with 8 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2004-02-24 Andrew Cagney <cagney@redhat.com>
* gdb.java/jmisc.exp: Use the fully quallified name of "main" when
setting a breakpoint. Work around PR java/1565.
2004-02-23 Jeff Johnston <jjohnstn@redhat.com>
* lib/gdb.exp (gdb_breakpoint): Update query string to match

View File

@ -66,7 +66,9 @@ gdb_reinitialize_dir $srcdir/$subdir
gdb_test "set print sevenbit-strings" ".*"
if ![set_lang_java] then {
runto ${testfile}.main
# Ref PR gdb:java/1565. Don't use the simpler "break jmisc.main".
# As of 2004-02-24 it wasn't working and is being tested separatly.
runto "\'${testfile}.main(java.lang.String\[\])\'"
send_gdb "ptype jmisc\n"
gdb_expect {