From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 600103858416; Tue, 6 Jun 2023 09:33:27 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 600103858416 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1686044007; bh=cQWqZmjMu62H8ms83OM/NFSX/8dI0xWytgtyDiuP9kM=; h=From:To:Subject:Date:From; b=ibOGEDkzz6QmY2NX7cMoaIxciaNUM/9VJjH44u6o21kTD6Ru+c6URpE5HUFlfFG2t jj5ladLDzFs9DM5oOtXlStjoGOxHEkzMxJIc7iYUNBBXZLWl6nUWWkkNyhgrC/5L3F HMxi8NhImqWGkJiycREuc4HeSWfuEv55MLxaey94= From: "vries at gcc dot gnu.org" To: gdb-prs@sourceware.org Subject: [Bug gdb/30519] New: [gdb, i586] FAIL: gdb.python/py-parameter.exp: test_integer_parameter: kind=PARAM_UINTEGER: test default value Date: Tue, 06 Jun 2023 09:33:26 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: gdb X-Bugzilla-Version: 13.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: vries at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: 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=3D30519 Bug ID: 30519 Summary: [gdb, i586] FAIL: gdb.python/py-parameter.exp: test_integer_parameter: kind=3DPARAM_UINTEGER: test default value Product: gdb Version: 13.1 Status: NEW Severity: normal Priority: P2 Component: gdb Assignee: unassigned at sourceware dot org Reporter: vries at gcc dot gnu.org Target Milestone: --- With a gdb 13.1 based package, on i586 native I run into: ... (gdb) python^M >PASS: gdb.python/py-parameter.exp: test_integer_parameter: kind=3DPARAM_UI= NTEGER: create parameter: input 1: python class TestNodocParam (gdb.Parameter):^M >PASS: gdb.python/py-parameter.exp: test_integer_parameter: kind=3DPARAM_UI= NTEGER: create parameter: input 2: class TestNodocParam (gdb.Parameter): def __init__ (self, name):^M >PASS: gdb.python/py-parameter.exp: test_integer_parameter: kind=3DPARAM_UI= NTEGER: create parameter: input 3: def __init__ (self, name): super (TestNodocParam, self).__init__ (name, gdb.COMMAND_DATA, gdb.PARAM_UINTEGER)^M >PASS: gdb.python/py-parameter.exp: test_integer_parameter: kind=3DPARAM_UI= NTEGER: create parameter: input 4: super (TestNodocParam, self).__ini= t__ (name, gdb.COMMAND_DATA, gdb.PARAM_UINTEGER) self.value =3D 0^M >PASS: gdb.python/py-parameter.exp: test_integer_parameter: kind=3DPARAM_UI= NTEGER: create parameter: input 5: self.value =3D 0 test_param_PARAM_UINTEGER =3D TestNodocParam ('test-PARAM_UINTEGER')^M >PASS: gdb.python/py-parameter.exp: test_integer_parameter: kind=3DPARAM_UI= NTEGER: create parameter: input 6: test_param_PARAM_UINTEGER =3D TestNodocP= aram ('test-PARAM_UINTEGER') end^M Traceback (most recent call last):^M File "", line 5, in ^M File "", line 4, in __init__^M RuntimeError: Range exceeded.^M Error while executing Python code.^M (gdb) PASS: gdb.python/py-parameter.exp: test_integer_parameter: kind=3DPARAM_UINTEGER: create parameter: input 7: end python print(test_param_PARAM_UINTEGER.value)^M Traceback (most recent call last):^M File "", line 1, in ^M NameError: name 'test_param_PARAM_UINTEGER' is not defined^M Error while executing Python code.^M (gdb) FAIL: gdb.python/py-parameter.exp: test_integer_parameter: kind=3DPARAM_UINTEGER: test default value ... --=20 You are receiving this mail because: You are on the CC list for the bug.=