From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25851 invoked by alias); 20 May 2014 16:40:26 -0000 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 Received: (qmail 25840 invoked by uid 89); 20 May 2014 16:40:26 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.8 required=5.0 tests=AWL,BAYES_00,SPF_PASS autolearn=ham version=3.3.2 X-HELO: usevmg20.ericsson.net Received: from usevmg20.ericsson.net (HELO usevmg20.ericsson.net) (198.24.6.45) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-SHA encrypted) ESMTPS; Tue, 20 May 2014 16:40:25 +0000 Received: from EUSAAHC006.ericsson.se (Unknown_Domain [147.117.188.90]) by usevmg20.ericsson.net (Symantec Mail Security) with SMTP id 41.73.27529.8C53B735; Tue, 20 May 2014 13:00:24 +0200 (CEST) Received: from [142.133.110.254] (147.117.188.8) by smtps-am.internal.ericsson.com (147.117.188.90) with Microsoft SMTP Server (TLS) id 14.3.174.1; Tue, 20 May 2014 12:40:22 -0400 Message-ID: <537B8561.6010603@ericsson.com> Date: Tue, 20 May 2014 16:40:00 -0000 From: Simon Marchi User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.5.0 MIME-Version: 1.0 To: Tom Tromey CC: Subject: Re: [PATCH v2] Fix argument passing in mi_run_cmd_full References: <1400017636-28020-1-git-send-email-simon.marchi@ericsson.com> <87ha4lwobm.fsf@fleche.redhat.com> In-Reply-To: <87ha4lwobm.fsf@fleche.redhat.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2014-05/txt/msg00435.txt.bz2 On Mon 19 May 2014 03:39:09 PM EDT, Tom Tromey wrote: >>>>>> "Simon" == Simon Marchi writes: > > Simon> 2014-05-13 Simon Marchi > Simon> * lib/mi-support.exp (mi_run_cmd_full): Set arguments by calling > Simon> "-exec-arguments" or "set args" before running the inferior. > > This patch causes a test failure here: Ehh, that's what I get for not re-running the testsuite, even after a year. I will send something soon about that. > Running ../../../binutils-gdb/gdb/testsuite/gdb.mi/mi-start.exp ... > FAIL: gdb.mi/mi-start.exp: run to main (unknown output after running) > > This failure isn't present in the previous revision. > > I've appended the relevant section of gdb.log in case that is helpful. > > Tom > > (gdb) > 220-exec-run > =thread-group-started,id="i1",pid="21201" > =thread-created,id="1",group-id="i1" > 220^running > *running,thread-id="all" > (gdb) > mi_expect_stop: expecting: \*stopped,reason="breakpoint-hit",disp="del",bkptno=" > [0-9]+",frame={addr="0x[0-9A-Fa-f]+",func="main",args=\[\],(?:file="[^ > ]*.*mi-start.c",fullname="(/[^\n]*/|\\\\[^\\]+\\[^\n]+\\|\\[^\\][^\n]*\\|[a-zA-Z > ]:[^\n]*\\).*mi-start.c",line="[0-9]+"|from=".*mi-start.c")},thread-id="[0-9]+", > stopped-threads=[^ > ]* > (=thread-selected,id="[0-9]+" > |=(?:breakpoint-created|breakpoint-deleted)[^ > ]+" > )*[(]gdb[)] > $ > =library-loaded,id="/lib64/ld-linux-x86-64.so.2",target-name="/lib64/ld-linux-x8 > 6-64.so.2",host-name="/lib64/ld-linux-x86-64.so.2",symbols-loaded="0",thread-gro > up="i1" > =library-loaded,id="/lib64/libm.so.6",target-name="/lib64/libm.so.6",host-name=" > /lib64/libm.so.6",symbols-loaded="0",thread-group="i1" > =library-loaded,id="/lib64/libc.so.6",target-name="/lib64/libc.so.6",host-name=" > /lib64/libc.so.6",symbols-loaded="0",thread-group="i1" > =thread-exited,id="1",group-id="i1" > =thread-group-exited,id="i1",exit-code="0" > *stopped,reason="exited-normally" > (gdb) > got =library-loaded,id="/lib64/ld-linux-x86-64.so.2",target-name="/lib64/ld-linu > x-x86-64.so.2",host-name="/lib64/ld-linux-x86-64.so.2",symbols-loaded="0",thread > -group="i1" > =library-loaded,id="/lib64/libm.so.6",target-name="/lib64/libm.so.6",host-name=" > /lib64/libm.so.6",symbols-loaded="0",thread-group="i1" > =library-loaded,id="/lib64/libc.so.6",target-name="/lib64/libc.so.6",host-name=" > /lib64/libc.so.6",symbols-loaded="0",thread-group="i1" > =thread-exited,id="1",group-id="i1" > =thread-group-exited,id="i1",exit-code="0" > *stopped,reason="exited-normally" > (gdb) > > FAIL: gdb.mi/mi-start.exp: run to main (unknown output after running)