From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14063 invoked by alias); 27 Feb 2012 03:55:04 -0000 Received: (qmail 14040 invoked by uid 22791); 27 Feb 2012 03:55:01 -0000 X-SWARE-Spam-Status: No, hits=-1.8 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from relay1.mentorg.com (HELO relay1.mentorg.com) (192.94.38.131) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 27 Feb 2012 03:54:46 +0000 Received: from svr-orw-exc-10.mgc.mentorg.com ([147.34.98.58]) by relay1.mentorg.com with esmtp id 1S1rfg-0007lf-LJ from Luis_Gustavo@mentor.com ; Sun, 26 Feb 2012 19:54:44 -0800 Received: from NA1-MAIL.mgc.mentorg.com ([147.34.98.181]) by SVR-ORW-EXC-10.mgc.mentorg.com with Microsoft SMTPSVC(6.0.3790.4675); Sun, 26 Feb 2012 19:54:33 -0800 Received: from [0.0.0.0] ([172.16.63.104]) by NA1-MAIL.mgc.mentorg.com with Microsoft SMTPSVC(6.0.3790.4675); Sun, 26 Feb 2012 19:54:43 -0800 Message-ID: <4F4AFE94.5090708@mentor.com> Date: Mon, 27 Feb 2012 04:46:00 -0000 From: Luis Gustavo Reply-To: "Gustavo, Luis" User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.27) Gecko/20120216 Lightning/1.0b2 Thunderbird/3.1.19 MIME-Version: 1.0 To: Jan Kratochvil CC: gdb-patches@sourceware.org Subject: Re: Regressions in gdbserver mode #2 [Re: General regressions in gdbserver mode] References: <4F2309F1.1020703@mentor.com> <4F47ABCF.9020305@mentor.com> <20120225142037.GA26330@host2.jankratochvil.net> <4F4900CB.8010606@mentor.com> <20120225170610.GA31657@host2.jankratochvil.net> <4F49277A.70400@mentor.com> <20120225194022.GA16174@host2.jankratochvil.net> <4F493D7D.1030907@mentor.com> <20120226215423.GA9147@host2.jankratochvil.net> In-Reply-To: <20120226215423.GA9147@host2.jankratochvil.net> Content-Type: multipart/mixed; boundary="------------080607020200000603010307" 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/msg00623.txt.bz2 This is a multi-part message in MIME format. --------------080607020200000603010307 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-length: 1654 On 02/26/2012 06:54 PM, Jan Kratochvil wrote: > On Sat, 25 Feb 2012 20:58:53 +0100, Luis Gustavo wrote: >> I've checked the following in. > > Still getting now these regressions in gdbserver non-extended mode: > > -PASS: gdb.base/save-bp.exp: info break > +FAIL: gdb.base/save-bp.exp: info break > +FAIL: gdb.cp/mb-templates.exp: initial condition: run to breakpoint (timeout) > +FAIL: gdb.cp/mb-templates.exp: initial condition: run to breakpoint 2 (GDB internal error) > +FAIL: gdb.cp/mb-templates.exp: ... > > info break > Num Type Disp Enb Address What > 2 breakpoint keep y 0x0000000000400540 in break_me at ./gdb.base/save-bp.c:21 > 3 breakpoint keep y 0x000000000040054a in main at ./gdb.base/save-bp.c:27 > 4 breakpoint keep y 0x000000000040054f in main at ./gdb.base/save-bp.c:28 thread 1 > stop only in thread 1 > 5 breakpoint keep y 0x000000000040055d in main at ./gdb.base/save-bp.c:31 > stop only if i == 1 (host evals) > 6 breakpoint keep y 0x000000000040056c in main at ./gdb.base/save-bp.c:33 > silent > (gdb) FAIL: gdb.base/save-bp.exp: info break > > (I did not check now what is expeted.) > > (gdb) continue > Continuing. > ax-gdb.c:560: internal-error: gen_fetch: bad type code > A problem internal to GDB has been detected, > further debugging may prove unreliable. > Quit this debugging session? (y or n) Found breakpoint condition. > FAIL: gdb.cp/mb-templates.exp: initial condition: run to breakpoint (timeout) > > > Regards, > Jan What about the following to fix save-bp.exp? Hopefully the syntax is correct. Luis --------------080607020200000603010307 Content-Type: text/x-patch; name="save-bp-fix.diff" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="save-bp-fix.diff" Content-length: 1278 2012-02-27 Luis Machado * gdb.base/save-bp.exp: Account for new condition evaluator output. diff --git a/gdb/testsuite/gdb.base/save-bp.exp b/gdb/testsuite/gdb.base/save-bp.exp index 439a20e..7d63dc3 100644 --- a/gdb/testsuite/gdb.base/save-bp.exp +++ b/gdb/testsuite/gdb.base/save-bp.exp @@ -66,4 +66,4 @@ gdb_test "source bps" # Now, verify that all breakpoints have been created correctly... set bp_row_start "\[0-9\]+ +breakpoint +keep +y +0x\[0-9a-f\]+ +in" gdb_test "info break" \ - " *Num +Type +Disp +Enb +Address +What\r\n$bp_row_start break_me at .*$srcfile:\[0-9\]+\r\n$bp_row_start main at .*$srcfile:$loc_bp2\r\n$bp_row_start main at .*$srcfile:$loc_bp3 +thread 1\r\n\[ \t]+stop only in thread 1\r\n$bp_row_start main at .*$srcfile:$loc_bp4\r\n\[ \t\]+stop only if i == 1\r\n$bp_row_start main at .*$srcfile:$loc_bp5\r\n\[ \t\]+silent" + " *Num +Type +Disp +Enb +Address +What\r\n$bp_row_start break_me at .*$srcfile:\[0-9\]+\r\n$bp_row_start main at .*$srcfile:$loc_bp2\r\n$bp_row_start main at .*$srcfile:$loc_bp3 +thread 1\r\n\[ \t]+stop only in thread 1\r\n$bp_row_start main at .*$srcfile:$loc_bp4\r\n\[ \t\]+stop only if i == 1( \\((host|target) evals\\))?\r\n$bp_row_start main at .*$srcfile:$loc_bp5\r\n\[ \t\]+silent" --------------080607020200000603010307--