From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4085 invoked by alias); 19 Feb 2012 13:11:16 -0000 Received: (qmail 3931 invoked by uid 22791); 19 Feb 2012 13:11:15 -0000 X-SWARE-Spam-Status: No, hits=-6.6 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI,SPF_HELO_PASS,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sun, 19 Feb 2012 13:10:57 +0000 Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id q1JDArjT001989 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Sun, 19 Feb 2012 08:10:53 -0500 Received: from host2.jankratochvil.net (ovpn-116-21.ams2.redhat.com [10.36.116.21]) by int-mx10.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id q1JDAna7011242 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO); Sun, 19 Feb 2012 08:10:52 -0500 Date: Sun, 19 Feb 2012 16:42:00 -0000 From: Jan Kratochvil To: gdb-patches@sourceware.org Cc: Aleksandar Ristovski Subject: [commit] testsuite: Fix break-inline.exp with gdbserver Message-ID: <20120219131048.GA16245@host2.jankratochvil.net> References: <20120214185333.GB14803@adacore.com> <4F3AB4AE.2010504@qnx.com> <4F3AC7A9.3020805@qnx.com> <874nusnknu.fsf@fleche.redhat.com> <4F3C0796.1080002@qnx.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4F3C0796.1080002@qnx.com> User-Agent: Mutt/1.5.21 (2010-09-15) X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2012-02/txt/msg00389.txt.bz2 On Wed, 15 Feb 2012 20:29:26 +0100, Aleksandar Ristovski wrote: > On 12-02-15 11:09 AM, Tom Tromey wrote: > > Aleksandar> 2012-02-14 Aleksandar Ristovski > > > > Aleksandar> * gdb.base/break-inline.exp: New file. > > Aleksandar> * gdb.base/break-inline.c: New file. [...] > Committed, thank you. with http://sourceware.org/gdb/wiki/TestingGDB#Testing_gdbserver_in_a_native_configuration +ERROR: gdbserver does not support start without extended-remote Checked in. The former internal error is then reproducible even with gdbserver. (Plus I fixed the parantheses which had no effect before, forgot it in ChangeLog.) Thanks, Jan http://sourceware.org/ml/gdb-cvs/2012-02/msg00109.html --- src/gdb/testsuite/ChangeLog 2012/02/17 19:24:26 1.3078 +++ src/gdb/testsuite/ChangeLog 2012/02/19 13:05:27 1.3079 @@ -1,3 +1,9 @@ +2012-02-19 Jan Kratochvil + + Fix for gdbserver non-extended mode. + * gdb.base/break-inline.exp (start): Replace "start" by gdb_breakpoint + and gdb_run_cmd. + 2012-02-17 Tom Tromey * gdb.python/py-events.py (exit_handler): Add test for 'dir'. --- src/gdb/testsuite/gdb.base/break-inline.exp 2012/02/15 19:27:59 1.1 +++ src/gdb/testsuite/gdb.base/break-inline.exp 2012/02/19 13:05:28 1.2 @@ -18,7 +18,9 @@ return -1 } -gdb_test "start" "Temporary breakpoint.*foo().*" +gdb_breakpoint "main" "temporary" +gdb_run_cmd +gdb_test "" "Temporary breakpoint.*foo\\(\\).*" # Now test 'break' with no arguments. gdb_test "break" "Breakpoint.*"