From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca (simark.ca [158.69.221.121]) by sourceware.org (Postfix) with ESMTPS id 3D97C3948815 for ; Mon, 5 Dec 2022 19:50:26 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 3D97C3948815 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=simark.ca Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=simark.ca Received: from [172.16.0.64] (192-222-180-24.qc.cable.ebox.net [192.222.180.24]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by simark.ca (Postfix) with ESMTPSA id 8F62D1E112; Mon, 5 Dec 2022 14:50:25 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=simark.ca; s=mail; t=1670269825; bh=ho1w6FIncVlgI8s0xf4h9GnoQp2dfy8V4klCcab5uZw=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=SEKLhxJx4THU41dT2zu+GOzJB79p8lGE9GPqJkt2d5Jca4oiKMQtpESdwY609lnjY xuvmppeZSXXfLUsJob1lUA66aEd1l+/56zoxA1l7IhKeFVrx8JqmQ9SZ55NUg85YlT VpVYOdqzkVJFHIGOV8LRMhaJWQXa1LPByAkrb/Lk= Message-ID: <9c42e79b-e04b-5c58-2a00-0c93c4358ce6@simark.ca> Date: Mon, 5 Dec 2022 14:50:24 -0500 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.4.1 Subject: Re: [PATCH] gdb/testsuite: fix an issue that prevents selftest Content-Language: fr To: Enze Li , gdb-patches@sourceware.org Cc: enze.li@gmx.com References: From: Simon Marchi In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-5.2 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,SPF_HELO_PASS,SPF_PASS,TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: On 12/4/22 09:18, Enze Li via Gdb-patches wrote: > When running gdb.gdb/selftest.exp, I see the following warning, > ... > (gdb) break captured_main > Breakpoint 1 at 0x4fdab2 > (gdb) run -nw -nx -iex "set height 0" -iex "set width 0" > Starting program: /home/lee/dev/binutils-gdb/gdb/testsuite/outputs/gdb.gdb/selftest/xgdb -nw -nx -iex "set height 0" -iex "set width 0" > [Thread debugging using libthread_db enabled] > Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". > > Breakpoint 1, 0x0000555555a51ab2 in captured_main(void*) () > (gdb) FAIL: gdb.gdb/selftest.exp: run until breakpoint at captured_main Doesn't this look like a bug to you? What is the extra `()` at the end of the line? Simon