From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id AF6CE3858C30; Mon, 2 Oct 2023 11:33:40 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org AF6CE3858C30 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1696246420; bh=nA764GJ/BdR3Au+V54pLUjN9FpTGsImH9EGK1sslPjk=; h=From:To:Subject:Date:In-Reply-To:References:From; b=hL7CgIKmPUZWlIJhiyjRjJ24QFCiuvvGcw2h9VKjKKxoRLuuKUwEgtkRWrRQtuDHH VsVrREmblQc3ZOd5czHCdUA5R6+foWxMQlnvHSqoj8gPlqurfMUKBxLi5bcsNP3eu7 QGUz1GblrcrC/dzxyjkiSgaqqmnDWmZYHuk3ijdE= From: "vries at gcc dot gnu.org" To: gdb-prs@sourceware.org Subject: [Bug go/27238] [gcc-11] FAIL: gdb.go/package.exp: setting breakpoint at package2.Foo Date: Mon, 02 Oct 2023 11:33:40 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: go 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: cc 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=3D27238 Tom de Vries changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ian at airs dot com --- Comment #9 from Tom de Vries --- (In reply to Tom de Vries from comment #8) > Difference in style: > ... > + // Original mangling: go.l__ufer.Run > + // Mangling v2: go.l..u00e4ufer.Run > + // Mangling v3: go_0l_u00e4ufer.Run > ... >=20 Coming from the source code: ... // mangleCheckCode is the package we compile to determine the mangling sche= me. const mangleCheckCode =3D ` package l=C3=A4ufer func Run(x int) int { return 1 } ` ... > Explained in more detail in > https://github.com/golang/go/issues/41862#issuecomment-707244103 (second > path case was chosen, AFAICT). What I still don't get though is why we have go_0l_u00e4ufer.Run. Based on= the description of v3, I would have expected "go.l_u00e4ufer.Run", in other wor= ds, 3 components: go, l=C3=A4ufer and Run, but go_0l_u00e4ufer.Run describes two components: go.l=C3=A4ufer and Run. --=20 You are receiving this mail because: You are on the CC list for the bug.=