From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id C25DE3858428; Mon, 4 Sep 2023 17:53:21 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org C25DE3858428 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1693850001; bh=grtzyRstafxiIaM2roII2OlE5/M7qt+0QMY1Xe8yg40=; h=From:To:Subject:Date:In-Reply-To:References:From; b=yX8O7mlYvHJdQ04BoHfhpVYPwA+yK7eYelKXdxykatm+xngsoDgX9TfdqCvqT38F+ SC8vjx1IoqENxUeKxqjkHeFZUBhTTXk466VyuYjM+mhjHovzAFPdsaD09n+ZPWCjbZ 2rQiRut/WjxQPYACdB8lQNAqx4zgiGzXt/6uMKKY= From: "tromey at sourceware dot org" To: gdb-prs@sourceware.org Subject: [Bug dap/30820] DAP GDB: Getting an error when bypassing "source" to breakpoint Date: Mon, 04 Sep 2023 17:53:20 +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: unknown 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: tromey at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cf_reconfirmed_on cc assigned_to bug_status everconfirmed 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=3D30820 Tom Tromey changed: What |Removed |Added ---------------------------------------------------------------------------- Last reconfirmed| |2023-09-04 CC| |tromey at sourceware dot o= rg Assignee|unassigned at sourceware dot org |tromey at sourcewar= e dot org Status|UNCONFIRMED |NEW Ever confirmed|0 |1 --- Comment #1 from Tom Tromey --- set_breakpoint does: specs =3D [_rewrite_src_breakpoint(source=3Dsource, **bp) for bp in breakpoints] but if 'bp' has a 'source' entry then this will cause the clash. While we should probably fix this, at the same time I'm not sure this is expected. setBreakpoints takes an array of SourceBreakpoint objects, not Breakpoint objects. And SourceBreakpoint doesn't mention "source". --=20 You are receiving this mail because: You are on the CC list for the bug.=