From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 112365 invoked by alias); 16 Nov 2017 09:55:23 -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 112355 invoked by uid 89); 16 Nov 2017 09:55:22 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.7 required=5.0 tests=BAYES_00,FREEMAIL_FROM,KB_WAM_FROM_NAME_SINGLEWORD,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=no version=3.3.2 spammy=HX-Received:Thu, H*r:sk:static. X-HELO: mail-wr0-f180.google.com Received: from mail-wr0-f180.google.com (HELO mail-wr0-f180.google.com) (209.85.128.180) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 16 Nov 2017 09:55:21 +0000 Received: by mail-wr0-f180.google.com with SMTP id 4so22901465wrt.0 for ; Thu, 16 Nov 2017 01:55:21 -0800 (PST) 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=EITT66yPiKy0UNO8Nv5wUM5Mf/IzEj5Ppn0VQOZV3gY=; b=YVFaKpUiIJ34HlHLrrYHNoSZJ3rmu9G1GAhNMkveNozH4prtJ0lVid6c4f2m4KQ1j1 CKDMuEApAacK69/nu5JAHwIDgQv1oUG9fF8PZa3GbtZgjqwo1CcYgSvTALa99Oty2d+z Elq0PWw26MnRRf5Pu7JZA9YXHjqsntO8GgOp2Qe7WYOrnV2Sddv5ag+jRarF016uHEUi 8aiDt7bR5YHwqMsnc/Znfx2uHldneBMP2in/EWsP/gw8bueHhIPYXD3nVsqq6P02a+X8 MsF5nvU0byl4PTkNhyIojKQ+kt1Ne/VaPSkEzoy9SWOomE2x6DePBiT5c9WU59aoiqKd bpLA== X-Gm-Message-State: AJaThX6rO2u2/PD6M5sXoppwoSKVetqnX/Z7H3KcddYMjsjy5F8uQeYf puh3jDgDZGI/Dh8YmpVNT/y0FQ== X-Google-Smtp-Source: AGs4zMZZF+DUWX9d5C2n79Pqdssm1nPqI3EmKdICoGB+CPefRm3mZk4xUkg2cCSyQXsKS7aRbxFWtw== X-Received: by 10.223.176.176 with SMTP id i45mr1019374wra.240.1510826119232; Thu, 16 Nov 2017 01:55:19 -0800 (PST) Received: from E107787-LIN (static.42.136.251.148.clients.your-server.de. [148.251.136.42]) by smtp.gmail.com with ESMTPSA id p28sm2480096wmf.2.2017.11.16.01.55.18 (version=TLS1_2 cipher=AES128-SHA bits=128/128); Thu, 16 Nov 2017 01:55:18 -0800 (PST) From: Yao Qi To: Pedro Alves Cc: John Baldwin , gdb-patches@sourceware.org Subject: Re: [PATCH v3] Add a 'starti' command. References: <20170911220803.73819-1-jhb@FreeBSD.org> <86inerwm8t.fsf@gmail.com> <1615021.krJEU3LQPO@ralph.baldwin.cx> Date: Thu, 16 Nov 2017 09:55:00 -0000 In-Reply-To: (Pedro Alves's message of "Wed, 15 Nov 2017 20:23:41 +0000") Message-ID: <86zi7msg3f.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/msg00302.txt.bz2 Pedro Alves writes: > But is the Python exception expected? From Yao's earlier paste: > > (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 error: 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) > > "Installation error" looks quite odd to me. Why did that happen? Here is the log on another machine, (gdb) gdb_expect_list pattern: /\$2 =3D 1/ continue^M Continuing.^M $2 =3D 1^M ^M gdb_expect_list pattern: /.*Breakpoint .*main \(\) at .*starti.c.*/ Breakpoint 1, main () at /home/yao.qi/SourceCode/gnu/build/gdb/testsuite/..= /../../binutils-gdb/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) No python exception. --=20 Yao (=E9=BD=90=E5=B0=A7)