From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 4E54C38582B4; Wed, 15 Jun 2022 13:27:43 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 4E54C38582B4 From: "vries at gcc dot gnu.org" To: gdb-prs@sourceware.org Subject: [Bug tdep/29247] [gdb, tdep] ../../gdb/ppc-sysv-tdep.c:1945: internal-error: ppc64_sysv_abi_return_value: Assertion `ok' failed Date: Wed, 15 Jun 2022 13:27:43 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: tdep X-Bugzilla-Version: 12.1 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: 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: Wed, 15 Jun 2022 13:27:43 -0000 https://sourceware.org/bugzilla/show_bug.cgi?id=3D29247 --- Comment #3 from Tom de Vries --- (In reply to Tom de Vries from comment #2) > (In reply to Tom de Vries from comment #1) > > I had problems reproducing this, so I write an all-arch selftest: >=20 > Submitted RFC for the selftest: > https://sourceware.org/pipermail/gdb-patches/2022-June/190114.html So my guess is now that this PR is reproduced by the selftest plus: ... diff --git a/gdb/gdbarch.c b/gdb/gdbarch.c index 68ef0480219..187104e703c 100644 --- a/gdb/gdbarch.c +++ b/gdb/gdbarch.c @@ -409,7 +409,7 @@ verify_gdbarch (struct gdbarch *gdbarch) gdbarch->double_format =3D floatformats_ieee_double; /* Skip verify of long_double_bit, invalid_p =3D=3D 0 */ if (gdbarch->long_double_format =3D=3D 0) - gdbarch->long_double_format =3D floatformats_ieee_double; + gdbarch->long_double_format =3D floatformats_ieee_quad; /* Skip verify of wchar_bit, invalid_p =3D=3D 0 */ if (gdbarch->wchar_signed =3D=3D -1) gdbarch->wchar_signed =3D 1; ... Note that using floatformats_ibm_long_double here instead fixes the osabi= =3Dnone failure. --=20 You are receiving this mail because: You are on the CC list for the bug.=