aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.java
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2004-02-24 16:09:48 +0000
committerAndrew Cagney <cagney@redhat.com>2004-02-24 16:09:48 +0000
commitb8a566476b411a4d64254b29daa8812bf8186eae (patch)
treebc9e497b6fc4a9a52269f01ff4634324211ac941 /gdb/testsuite/gdb.java
parent2154891a106b9d8fdb33bbe5984f8f30c8b4035c (diff)
downloadgdb-b8a566476b411a4d64254b29daa8812bf8186eae.zip
gdb-b8a566476b411a4d64254b29daa8812bf8186eae.tar.gz
gdb-b8a566476b411a4d64254b29daa8812bf8186eae.tar.bz2
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.
Diffstat (limited to 'gdb/testsuite/gdb.java')
-rw-r--r--gdb/testsuite/gdb.java/jmisc.exp4
1 files changed, 3 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.java/jmisc.exp b/gdb/testsuite/gdb.java/jmisc.exp
index 8f6c6fb..9fd220f 100644
--- a/gdb/testsuite/gdb.java/jmisc.exp
+++ b/gdb/testsuite/gdb.java/jmisc.exp
@@ -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 {