From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16186 invoked by alias); 19 May 2014 19:39:19 -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 16167 invoked by uid 89); 19 May 2014 19:39:18 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-3.2 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD,SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mx1.redhat.com Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 19 May 2014 19:39:15 +0000 Received: from int-mx11.intmail.prod.int.phx2.redhat.com (int-mx11.intmail.prod.int.phx2.redhat.com [10.5.11.24]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id s4JJdAJC021919 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 19 May 2014 15:39:11 -0400 Received: from barimba (ovpn-113-182.phx2.redhat.com [10.3.113.182]) by int-mx11.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id s4JJd9sV023721 (version=TLSv1/SSLv3 cipher=AES128-GCM-SHA256 bits=128 verify=NO); Mon, 19 May 2014 15:39:10 -0400 From: Tom Tromey To: Simon Marchi Cc: Subject: Re: [PATCH v2] Fix argument passing in mi_run_cmd_full References: <1400017636-28020-1-git-send-email-simon.marchi@ericsson.com> Date: Mon, 19 May 2014 19:39:00 -0000 In-Reply-To: <1400017636-28020-1-git-send-email-simon.marchi@ericsson.com> (Simon Marchi's message of "Tue, 13 May 2014 17:47:16 -0400") Message-ID: <87ha4lwobm.fsf@fleche.redhat.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-SW-Source: 2014-05/txt/msg00373.txt.bz2 >>>>> "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: 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)