From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from gnu.wildebeest.org (gnu.wildebeest.org [45.83.234.184]) by sourceware.org (Postfix) with ESMTPS id E94BB3858D28 for ; Thu, 21 Jul 2022 11:42:40 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org E94BB3858D28 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=klomp.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=klomp.org Received: by gnu.wildebeest.org (Postfix, from userid 1000) id E4EB5300047C; Thu, 21 Jul 2022 13:42:39 +0200 (CEST) Date: Thu, 21 Jul 2022 13:42:39 +0200 From: Mark Wielaard To: Tom de Vries Cc: gdb-patches@sourceware.org, Kevin Buettner Subject: Re: [PATCH][gdb] Fix python selftest with python 3.11 Message-ID: <20220721114239.GB7014@gnu.wildebeest.org> References: <20220721111316.GA23728@delia.home> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220721111316.GA23728@delia.home> User-Agent: Mutt/1.5.21 (2010-09-15) X-Spam-Status: No, score=-5.2 required=5.0 tests=BAYES_00, JMQ_SPF_NEUTRAL, KAM_DMARC_STATUS, KAM_NUMSUBJECT, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: gdb-patches@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Jul 2022 11:42:42 -0000 Hi Tom, On Thu, Jul 21, 2022 at 01:13:17PM +0200, Tom de Vries wrote: > Fix this by also allowing line number 0. > > Tested on x86_64-linux. > > This should hopefully fix buildbot builder gdb-rawhide-x86_64. > > Any comments? It seems the line number is really irrelevant here for where exactly the KeyboardInterrupt took place. So the patch looks good to me. Note that there is a gdb-try-rawhide-x86_64 builder, so you can also test by pushing this to a git users/vries/try-xxx branch. Cheers, Mark