From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12761 invoked by alias); 3 Nov 2017 13:00:32 -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 12736 invoked by uid 89); 3 Nov 2017 13:00:31 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.4 required=5.0 tests=BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,RCVD_IN_SORBS_SPAM,SPF_PASS autolearn=no version=3.3.2 spammy=Installation, Hx-languages-length:922, H*r:sk:static. X-HELO: mail-wr0-f172.google.com Received: from mail-wr0-f172.google.com (HELO mail-wr0-f172.google.com) (209.85.128.172) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 03 Nov 2017 13:00:25 +0000 Received: by mail-wr0-f172.google.com with SMTP id g90so2438993wrd.6 for ; Fri, 03 Nov 2017 06:00:24 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-transfer-encoding; bh=ByOaPin+4CBy/eOX6fVgrq+IZcFwB6BZ18BnxIpfBKs=; b=EntQfBMo2WvMBgtdWov093E87X0HLNead64htI3DxtlriVP/2KaqHegQYaAzTYnTCW xbYvXx4aZ/YYq7jyKE081dSVMAvID4sFfPcKs97xcsne7/Ha0/GpwNhYCGZhd5XJw48e 94piduPIK10ndLMKD+bbBjXcAojJWIlud4/NDeuUg19QpbjPdgtz7yK+++0gdA4BMazW ca2uPHPRT8tfwND3ip0bU2CnenL7bjiFddkry7lwK7uZXvy54Z6j0N/VXmO2wF+PSyAB nOxnGbw7SIGKNPAFmkSI3G0T/M2o3FjawfDGaN9uj5xcozGAluNWKEl/FnC+nlKiDhIR 2o1Q== X-Gm-Message-State: AMCzsaWMTULV9RwKPnXCSPkWQ27ly9xf2XXWJkD8ImUqvNWvQALcsSFi kIfoplz7M9QVbMF9zNVWmpkuDg== X-Google-Smtp-Source: ABhQp+SD5qBXPFV9V6hCoJP/c3odH4t/eUU6vu4GRfB9QmVs7fDESltuzbOqnY7G/KYQeO/bll/ixw== X-Received: by 10.223.151.198 with SMTP id t6mr6107476wrb.2.1509714022315; Fri, 03 Nov 2017 06:00:22 -0700 (PDT) Received: from E107787-LIN (static.42.136.251.148.clients.your-server.de. [148.251.136.42]) by smtp.gmail.com with ESMTPSA id n2sm5339198wmd.39.2017.11.03.06.00.21 (version=TLS1_2 cipher=AES128-SHA bits=128/128); Fri, 03 Nov 2017 06:00:21 -0700 (PDT) From: Yao Qi To: John Baldwin Cc: gdb-patches@sourceware.org Subject: Re: [PATCH v3] Add a 'starti' command. References: <20170911220803.73819-1-jhb@FreeBSD.org> Date: Fri, 03 Nov 2017 13:00:00 -0000 In-Reply-To: <20170911220803.73819-1-jhb@FreeBSD.org> (John Baldwin's message of "Mon, 11 Sep 2017 15:08:03 -0700") Message-ID: <86inerwm8t.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes X-SW-Source: 2017-11/txt/msg00074.txt.bz2 John Baldwin writes: > +# Continue to the start of main(). The constructor should have run so > +# 'x' should be 1. > + > +gdb_breakpoint main > +gdb_test_sequence "continue" "" { > + "\\$2 =3D 1" > + ".*Breakpoint .*main \\(\\) at .*starti.c.*" Here is a test failure, captured by buildbot, https://sourceware.org/ml/gdb-testers/2017-q3/msg04381.html (gdb) gdb_expect_list pattern: /\$2 =3D 1/ continue^M Continuing.^M $2 =3D 1^M gdb_expect_list pattern: /.*Breakpoint .*main \(\) at .*starti.c.*/ ^M Breakpoint 1, Python Exception Installation e= rror: gdb.execute_unwinders function is missing: ^M main () at /home/yao/SourceCode/gnu/gdb/git/gdb/testsuite/gdb.base/starti.c= :29^M 29 return 0;^M (gdb) gdb_expect_list pattern: // FAIL: gdb.base/starti.exp: continue (pattern 3 + sentinel) (timeout) Can you take a look? --=20 Yao (=E9=BD=90=E5=B0=A7)