From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 192C43856DE6; Fri, 21 Oct 2022 07:56:28 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 192C43856DE6 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1666338988; bh=iIuqa42PH9SRJ1cOKYygIxcBofNQ6i1xbiZyNxQg5As=; h=From:To:Subject:Date:In-Reply-To:References:From; b=f2p1t2/Rvgk4/t2eY9gdRNuLX5j60fXNexp9FMkBOWFuzGdhAZLYy23Y2AVtCHg8y hGYIWapcS7U1nLrPTLRTMy5EkUbDORinSBCKBQy6JV/Md72x5/eBM1Vc4aM7vkr7E6 8jqQxFD0/qmZuT063G2JoM0pRVwEJBA/rdJqiawA= From: "cvs-commit at gcc dot gnu.org" To: gdb-prs@sourceware.org Subject: [Bug python/29217] gdb.set_parameter doesn't accept a bool where gdb.parameter returns one Date: Fri, 21 Oct 2022 07:56:27 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: python X-Bugzilla-Version: HEAD X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: cvs-commit at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: tromey at sourceware dot org X-Bugzilla-Target-Milestone: 13.1 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://sourceware.org/bugzilla/show_bug.cgi?id=3D29217 --- Comment #4 from cvs-commit at gcc dot gnu.org --- The master branch has been updated by Maciej W. Rozycki : https://sourceware.org/git/gitweb.cgi?p=3Dbinutils-gdb.git;h=3Dc506be7d9be5= 5721a44d38782309d8f7fcd5e99e commit c506be7d9be55721a44d38782309d8f7fcd5e99e Author: Maciej W. Rozycki Date: Fri Oct 21 08:54:18 2022 +0100 GDB/Python: Make `None' stand for `unlimited' in setting integer parame= ters Similarly to booleans and following the fix for PR python/29217 make `gdb.parameter' accept `None' for `unlimited' with parameters of the PARAM_UINTEGER, PARAM_INTEGER, and PARAM_ZUINTEGER_UNLIMITED types, as `None' is already returned by parameters of the two former types, so one might expect to be able to feed it back. It also makes it possible to avoid the need to know what the internal integer representation is for the special setting of `unlimited'. Expand the testsuite accordingly. Approved-By: Simon Marchi --=20 You are receiving this mail because: You are on the CC list for the bug.=