From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 628D53855156; Fri, 16 Dec 2022 11:58:57 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 628D53855156 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1671191937; bh=4VH2pPTGOrSaouQW9Ul3v4bKR2d6t6LzgLd1HldNLK0=; h=From:To:Subject:Date:From; b=mQdnz6qJ4A7uwaQA1ZASjVimn8iv1z+ZrCxQ8mxmsLXuX+9xABA5XOKyfydqZwQyu +JKAV0HXdJSo0f+pagT2lgH4bFHVyAW2p/1XM8aF8Z2Wx1WTrzV3+FNtTVvOVPg4gf LkKRIgthC7Y0T68/iD6s+S979SOJFuIim2bbT47M= From: "vries at gcc dot gnu.org" To: gdb-prs@sourceware.org Subject: [Bug python/29909] New: [gdb] FinishBreakpoint calls stop instead of out_of_scope Date: Fri, 16 Dec 2022 11:58:56 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new 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: 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=3D29909 Bug ID: 29909 Summary: [gdb] FinishBreakpoint calls stop instead of out_of_scope Product: gdb Version: HEAD Status: NEW Severity: normal Priority: P2 Component: python Assignee: unassigned at sourceware dot org Reporter: vries at gcc dot gnu.org Target Milestone: --- [ Filing this PR to mention it in a KFAIL in a patch I'm planning to submit= . ] When running test-case gdb.python/py-finish-breakpoint2.exp, we get: ... (gdb) PASS: gdb.python/py-finish-breakpoint2.exp: set FinishBP after the exception continue^M Continuing.^M Exception #10^M stopped at ExceptionFinishBreakpoint^M (gdb) PASS: gdb.python/py-finish-breakpoint2.exp: check FinishBreakpoint in catch() ... A stop is reported, but instead the out-of-scope callback should be called. See also: - https://sourceware.org/pipermail/gdb-patches/2012-September/096347.html - https://sourceware.org/pipermail/gdb-patches/2021-January/175290.html --=20 You are receiving this mail because: You are on the CC list for the bug.=