From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 9D0CA3896804; Fri, 12 Mar 2021 17:46:45 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 9D0CA3896804 From: "palves at redhat dot com" To: gdb-prs@sourceware.org Subject: [Bug build/22395] ODR violations Date: Fri, 12 Mar 2021 17:46:45 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: build X-Bugzilla-Version: HEAD X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: palves at redhat dot com 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 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: Fri, 12 Mar 2021 17:46:45 -0000 https://sourceware.org/bugzilla/show_bug.cgi?id=3D22395 --- Comment #5 from Pedro Alves --- (In reply to Tom Tromey from comment #3) > I got bit debugging an ODR problem in gdb today. > I'd accidentally given a struct a name that was already in use. > This would be nice to fix. Note that in C, it's valid to have different definitions of structures in different translation units. If GDB isn't coping with that, then I'd say i= t's a GDB bug. (Not saying we shouldn't fix the ODR violation, of course.) --=20 You are receiving this mail because: You are on the CC list for the bug.=