From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18894 invoked by alias); 24 Feb 2004 16:12:17 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 18837 invoked from network); 24 Feb 2004 16:12:14 -0000 Received: from unknown (HELO localhost.redhat.com) (216.129.200.20) by sources.redhat.com with SMTP; 24 Feb 2004 16:12:14 -0000 Received: from gnu.org (localhost [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id 9B27E2B92; Tue, 24 Feb 2004 11:12:11 -0500 (EST) Message-ID: <403B77DB.2010401@gnu.org> Date: Tue, 24 Feb 2004 16:12:00 -0000 From: Andrew Cagney User-Agent: Mozilla/5.0 (X11; U; NetBSD macppc; en-US; rv:1.4.1) Gecko/20040217 MIME-Version: 1.0 To: gdb-patches@sources.redhat.com Subject: [commit/java] Work around java/1565 in jmisc.exp Content-Type: multipart/mixed; boundary="------------000106030003020104050809" X-SW-Source: 2004-02/txt/msg00679.txt.bz2 This is a multi-part message in MIME format. --------------000106030003020104050809 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-length: 219 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 --------------000106030003020104050809 Content-Type: text/plain; name="diffs" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="diffs" Content-length: 877 2004-02-24 Andrew Cagney * 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 { --------------000106030003020104050809--