From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id B46A5385770D; Mon, 15 May 2023 07:28:00 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org B46A5385770D DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1684135680; bh=N6ptVtA/Pb5R7DLquVI+WDJgewIOcoqDvmtu75AmpAc=; h=From:To:Subject:Date:From; b=XaZrPl7vhFToDTKmVgbIAfFAOcutDXYlkMdHjEhvo2NabEHzgu77NPUtIi+cq7yRQ rNscp9bBIhIto5r20SW55PDbB0Zj3fjIXjw63DDY2mCoSPh9WwC1w+xKKpsSjapf2B +sj81iTm4eTz++Qe+zCx+hS2mfHXzWq15Rxkyn/A= From: "dmitry.neverov at jetbrains dot com" To: gdb-prs@sourceware.org Subject: [Bug gdb/30446] New: Wrong raw v0 register value on aarch64 Date: Mon, 15 May 2023 07:28:00 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: gdb X-Bugzilla-Version: 13.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dmitry.neverov at jetbrains dot com X-Bugzilla-Status: UNCONFIRMED 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: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: 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=3D30446 Bug ID: 30446 Summary: Wrong raw v0 register value on aarch64 Product: gdb Version: 13.1 Status: UNCONFIRMED Severity: normal Priority: P2 Component: gdb Assignee: unassigned at sourceware dot org Reporter: dmitry.neverov at jetbrains dot com Target Milestone: --- When evaluating $v0, gdb/mi returns: -data-list-register-values --thread 1 --frame 0 --skip-unavailable r 34 ^done,register-values=3D[{number=3D"34",value=3D"{d =3D {f =3D {0x000000000= 0000000, 0x0000000000000000}, u =3D {0x2f2f2f2f2f2f2f2f, 0x2f2f2f2f2f2f2f2f}, s =3D {0x2f2f2f2f2f2f2f2f, 0x2f2f2f2f2f2f2f2f}}, s =3D {f =3D {0x00000000, 0x0000= 0000, 0x00000000, 0x00000000}, u =3D {0x2f2f2f2f, 0x2f2f2f2f, 0x2f2f2f2f, 0x2f2f2= f2f}, s =3D {0x2f2f2f2f, 0x2f2f2f2f, 0x2f2f2f2f, 0x2f2f2f2f}}, h =3D {f =3D {0x00= 00, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000}, u =3D {0x2f2f, 0x2= f2f, 0x2f2f, 0x2f2f, 0x2f2f, 0x2f2f, 0x2f2f, 0x2f2f}, s =3D {0x2f2f, 0x2f2f, 0x2= f2f, 0x2f2f, 0x2f2f, 0x2f2f, 0x2f2f, 0x2f2f}}, b =3D {u =3D {0x2f, 0x2f, 0x2f, 0= x2f, 0x2f, 0x2f, 0x2f, 0x2f, 0x2f, 0x2f, 0x2f, 0x2f, 0x2f, 0x2f, 0x2f, 0x2f}, s = =3D {0x2f, 0x2f, 0x2f, 0x2f, 0x2f, 0x2f, 0x2f, 0x2f, 0x2f, 0x2f, 0x2f, 0x2f, 0x= 2f, 0x2f, 0x2f, 0x2f}}, q =3D {u =3D {0x2f2f2f2f2f2f2f2f2f2f2f2f2f2f2f2f}, s =3D {0x2f2f2f2f2f2f2f2f2f2f2f2f2f2f2f2f}}}"}] The first member in the union is itself a union with 3 members: d =3D {f =3D {0x0000000000000000, 0x0000000000000000}, u =3D {0x2f2f2f2f2f2= f2f2f, 0x2f2f2f2f2f2f2f2f}, s =3D {0x2f2f2f2f2f2f2f2f, 0x2f2f2f2f2f2f2f2f}} The first member (f) has a different raw value comparing to 'u' and 's'. Th= is seems to be a bug, since the command asked for a raw value which should be = the same for all union members. --=20 You are receiving this mail because: You are on the CC list for the bug.=