Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Andrew Cagney <cagney@gnu.org>
To: gdb-patches@sources.redhat.com
Subject: [commit/java] Work around java/1565 in jmisc.exp
Date: Tue, 24 Feb 2004 16:12:00 -0000	[thread overview]
Message-ID: <403B77DB.2010401@gnu.org> (raw)

[-- Attachment #1: Type: text/plain, Size: 219 bytes --]

Hello,

This patch modifies jmisc.exp to work around the very very long standing 
bug java/1565 (just that no one thought to report it?).  I'll separatly 
follow up with a testcase for just that bug.

committed,
Andrew

[-- Attachment #2: diffs --]
[-- Type: text/plain, Size: 877 bytes --]

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.

Index: testsuite/gdb.java/jmisc.exp
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/gdb.java/jmisc.exp,v
retrieving revision 1.2
diff -u -r1.2 jmisc.exp
--- testsuite/gdb.java/jmisc.exp	6 Mar 2001 08:21:58 -0000	1.2
+++ testsuite/gdb.java/jmisc.exp	24 Feb 2004 16:08:44 -0000
@@ -66,7 +66,9 @@
 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 {   

             reply	other threads:[~2004-02-24 16:12 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-02-24 16:12 Andrew Cagney [this message]
2004-02-24 16:15 ` Daniel Jacobowitz
2004-02-24 16:42   ` Andrew Cagney
2004-02-24 16:46     ` Daniel Jacobowitz
2004-02-24 17:07 ` David Carlton
2004-02-24 17:47   ` Andrew Cagney
2004-02-24 17:49     ` Daniel Jacobowitz
2004-02-24 19:55       ` Andrew Cagney
2004-02-24 17:53     ` David Carlton
2004-02-24 16:33 Michael Elizabeth Chastain
2004-02-24 17:21 ` Andrew Cagney

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=403B77DB.2010401@gnu.org \
    --to=cagney@gnu.org \
    --cc=gdb-patches@sources.redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox