From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id B1D3D3857829; Mon, 13 Jun 2022 16:14:29 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org B1D3D3857829 From: "vries at gcc dot gnu.org" To: gdb-prs@sourceware.org Subject: [Bug python/29245] [gdb/testsuite, python2] FAIL: gdb.python/py-mi-cmd.exp: -pycmd bk3 (unexpected output) Date: Mon, 13 Jun 2022 16:14:29 +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: 12.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: vries at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: WONTFIX X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: resolution bug_status 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 X-BeenThere: gdb-prs@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb-prs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Jun 2022 16:14:29 -0000 https://sourceware.org/bugzilla/show_bug.cgi?id=3D29245 Tom de Vries changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |WONTFIX Status|NEW |RESOLVED --- Comment #2 from Tom de Vries --- This fixes it: ... diff --git a/gdb/testsuite/gdb.python/py-mi-cmd.exp b/gdb/testsuite/gdb.python/py-mi-cmd.ex p index 300ab956892..5e4b6cd076e 100644 --- a/gdb/testsuite/gdb.python/py-mi-cmd.exp +++ b/gdb/testsuite/gdb.python/py-mi-cmd.exp @@ -68,8 +68,8 @@ mi_gdb_test "-pycmd bk2" \ mi_gdb_test "-pycmd bk3" \ [multi_line \ - "&\"TypeError: __repr__ returned non-string \\(type BadKey\\)..\""= \ - "\\^error,msg=3D\"Error occurred in Python: __repr__ returned non-= string \\(type BadKey \\)\""] \ + "&\"TypeError: __repr__ returned non-string \\(type (BadKey|instance)\\)..\"" \ + "\\^error,msg=3D\"Error occurred in Python: __repr__ returned non-= string \\(type (B adKey|instance)\\)\""] \ "-pycmd bk3" mi_gdb_test "-pycmd tpl" \ ... I don't see a pressing need to fix this on the gdb-12-branch, so I'm closing this as resolved-wontfix. Anybody running into this with gdb 12.x and finding it annoying can use the patch posted in this comment. --=20 You are receiving this mail because: You are on the CC list for the bug.=