From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 2948F3858C20; Wed, 14 Jun 2023 16:27:04 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 2948F3858C20 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1686760024; bh=T/mX8icPwcscMpVMbrICa8GbaWhSqkrcO3lGDmZ/fnQ=; h=From:To:Subject:Date:In-Reply-To:References:From; b=IBzi3xV6jQxZbqdJbT1FiKsPqUtK/TEU8XcktNsSDg2BJerPCWaCl1O/QsZFIxVH9 2fmlHePrYAKc5WByFLJLx0Oc8ZcDx1mtxPy0lugX3DSXH291IKgH7F0l0lYgG63Vrb ayFuamTwNlpas4us5OKfhnlkoni4e1qPamPTGfOM= From: "tromey at sourceware dot org" To: gdb-prs@sourceware.org Subject: [Bug dap/30471] Clean up DAP breakpoint reporting Date: Wed, 14 Jun 2023 16:27:03 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: dap X-Bugzilla-Version: HEAD X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: tromey at sourceware dot 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: 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=3D30471 --- Comment #1 from Tom Tromey --- I wonder if this is important at all. Multiple kinds of breakpoints could exist at a given location. So, differentiating that way doesn't always make sense; and anyway the stop event will hold the breakpoint IDs. For this case: elif _expected_stop is None: # FIXME what is even correct here _expected_stop =3D StopKinds.EXCEPTION ... maybe what we want is bug#13587, so we can report gdb's stop reason. This seems fine due to that "| string" clause at the end of the "reason" description. --=20 You are receiving this mail because: You are on the CC list for the bug.=