diff options
author | Andrew Cagney <cagney@redhat.com> | 2004-02-24 16:09:48 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2004-02-24 16:09:48 +0000 |
commit | b8a566476b411a4d64254b29daa8812bf8186eae (patch) | |
tree | bc9e497b6fc4a9a52269f01ff4634324211ac941 /gdb/testsuite/gdb.java | |
parent | 2154891a106b9d8fdb33bbe5984f8f30c8b4035c (diff) | |
download | gdb-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.exp | 4 |
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 { |