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:
parent
2154891a10
commit
b8a566476b
|
@ -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>
|
2004-02-23 Jeff Johnston <jjohnstn@redhat.com>
|
||||||
|
|
||||||
* lib/gdb.exp (gdb_breakpoint): Update query string to match
|
* lib/gdb.exp (gdb_breakpoint): Update query string to match
|
||||||
|
|
|
@ -66,7 +66,9 @@ gdb_reinitialize_dir $srcdir/$subdir
|
||||||
gdb_test "set print sevenbit-strings" ".*"
|
gdb_test "set print sevenbit-strings" ".*"
|
||||||
|
|
||||||
if ![set_lang_java] then {
|
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"
|
send_gdb "ptype jmisc\n"
|
||||||
gdb_expect {
|
gdb_expect {
|
||||||
|
|
Loading…
Reference in New Issue