From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 5C92A385841B; Tue, 2 Apr 2024 14:14:34 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 5C92A385841B DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1712067274; bh=az33y+l38s8JkSKWFBegDSlTGp6DptjnxX6rXK55VYI=; h=From:To:Subject:Date:In-Reply-To:References:From; b=A/QjjHOld7F0qhrfcpNZfqkUAL85haUxQ3D+jG8pBKMpNjM6O0Klrs5YXQeTYyn3E lb5gJlQ71JifYJHc4MtqKxe/aNSqFRmML0YHH/m99fI4BPbuLOWBkJzw6WcqhMRyBv etH5gkT02LJAHgzYmvAtLSUhjTG39pyHvU/blxr4= From: "cvs-commit at gcc dot gnu.org" To: gdb-prs@sourceware.org Subject: [Bug ada/31574] [gdb, armv8l] FAIL: gdb.ada/verylong.exp: print x Date: Tue, 02 Apr 2024 14:14:31 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: ada X-Bugzilla-Version: HEAD X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: cvs-commit 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 List-Id: https://sourceware.org/bugzilla/show_bug.cgi?id=3D31574 --- Comment #5 from Sourceware Commits --- The master branch has been updated by Tom de Vries : https://sourceware.org/git/gitweb.cgi?p=3Dbinutils-gdb.git;h=3Dd16a53152cc2= dfd6e92fdf9ae288ff19dac49dd1 commit d16a53152cc2dfd6e92fdf9ae288ff19dac49dd1 Author: Tom de Vries Date: Tue Apr 2 16:14:39 2024 +0200 [gdb/testsuite] Fix gdb.ada/verylong.exp on 32-bit target In an aarch32-linux chroot on an aarch64-linux system, I run into: ... (gdb) print x^M $1 =3D 9223372036854775807^M (gdb) FAIL: gdb.ada/verylong.exp: print x ... A passing version on aarch64-linux looks like: ... (gdb) print x^M $1 =3D 170141183460469231731687303715884105727^M (gdb) PASS: gdb.ada/verylong.exp: print x ... The difference is caused by the size of the type Long_Long_Long_Integer, which is: - a 128-bit signed on 64-bit targets, and - a 64-bit signed on 32-bit target. Fix this by detecting the size of the Long_Long_Long_Integer type, and handling it. Tested on aarch64-linux and aarch32-linux. Approved-By: Tom Tromey PR testsuite/31574 Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=3D31574 [1] https://gcc.gnu.org/onlinedocs/gnat_rm/Implementation-Defined-Characteristi= cs.html --=20 You are receiving this mail because: You are on the CC list for the bug.=