From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 3254C3858293; Mon, 25 Mar 2024 17:19:04 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 3254C3858293 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1711387144; bh=kL3LfO+auZFVm4+1KexLOMZxrnRTvNRonFO8LZs3Ops=; h=From:To:Subject:Date:In-Reply-To:References:From; b=tjWWM9Ufbbmfr/RLPDjUUxZfBKoGqUqcCKXgOEo0XDTyG46t1jiJWJoSgECIf8BFG EVDB/XSjQ+cwZPPTGUVlp20vXiWaeSjB4MhtzO0BzJdjvbM5nl+HIPnCn2a+/Gzjlu fPJD+8wCc717g8A5PpIIeJFVg4VcP1H3YzSPEjKA= From: "cvs-commit at gcc dot gnu.org" To: gdb-prs@sourceware.org Subject: [Bug server/31511] gdbserver doesn't work on x32 Date: Mon, 25 Mar 2024 17:19:03 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: server X-Bugzilla-Version: HEAD X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: cvs-commit at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: 15.1 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=3D31511 --- Comment #4 from Sourceware Commits --- The master branch has been updated by Andrew Burgess : https://sourceware.org/git/gitweb.cgi?p=3Dbinutils-gdb.git;h=3Defba976d9713= a92b4507ccfef2257e4589da2798 commit efba976d9713a92b4507ccfef2257e4589da2798 Author: Andrew Burgess Date: Sat Mar 23 16:17:36 2024 +0000 gdb/arch: assert that X86_XSTATE_MPX is not set for x32 While trying to merge this commit: commit 4bb20a6244b7091a9a7a2ae35dfbd7e8db27550a Date: Wed Mar 20 04:13:18 2024 -0700 gdbserver: Clear X86_XSTATE_MPX bits in xcr0 on x32 With this patch series of mine: =20=20=20=20=20 https://inbox.sourceware.org/gdb-patches/cover.1706801009.git.aburgess@redh= at.com I worried that there could be other paths that could result in an xcr0 value that has X86_XSTATE_MPX set in x32 mode. As everyone eventually calls amd64_create_target_description to build their target description, I figured we could assert in here that if X86_XSTATE_MPX is set then we should not be an x32 target, this should uncover any other bugs in this area. I'm not currently able to build/run any x32 binaries, so I have no way to test this. Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=3D31511 --=20 You are receiving this mail because: You are on the CC list for the bug.=