[Bug tdep/26295] New: AArch64: CMASK and DMASK aren't valid DWARF registers

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

[Bug tdep/26295] New: AArch64: CMASK and DMASK aren't valid DWARF registers

Sourceware - gdb-prs mailing list
https://sourceware.org/bugzilla/show_bug.cgi?id=26295

            Bug ID: 26295
           Summary: AArch64: CMASK and DMASK aren't valid DWARF registers
           Product: gdb
           Version: unknown
            Status: NEW
          Severity: minor
          Priority: P2
         Component: tdep
          Assignee: unassigned at sourceware dot org
          Reporter: alahay01 at gcc dot gnu.org
  Target Milestone: ---

AArch64 PAC support added AARCH64_DWARF_PAUTH_DMASK and
AARCH64_DWARF_PAUTH_CMASK.

These registers never made it in to a released version of "DWARF for the Arm
64-bit Architecture". They are not required, are not explicitly used by GDB and
can safely be removed.

Note that the cmask and dmask architecture registers are required.
AARCH64_DWARF_PAUTH_RA_STATE is also required.

To fix:
*Remove defines for AARCH64_DWARF_PAUTH_DMASK and AARCH64_DWARF_PAUTH_CMASK.
*Remove usage in aarch64_dwarf_reg_to_regnum()
*Possibly correct usage of DWARF2_FRAME_REG_SAME_VALUE in
aarch64_dwarf2_frame_init_reg()
*Test with binaries compiled with PAC on a PAC enabled box.

Leaving this code in is probably harmless, but it should be tidied up.

--
You are receiving this mail because:
You are on the CC list for the bug.
Reply | Threaded
Open this post in threaded view
|

[Bug tdep/26295] AArch64: CMASK and DMASK aren't valid DWARF registers

Sourceware - gdb-prs mailing list
https://sourceware.org/bugzilla/show_bug.cgi?id=26295

SRINATH PARVATHANENI <srinath.parvathaneni at arm dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |srinath.parvathaneni at arm dot co
                   |                            |m

--
You are receiving this mail because:
You are on the CC list for the bug.
Reply | Threaded
Open this post in threaded view
|

[Bug tdep/26295] AArch64: CMASK and DMASK aren't valid DWARF registers

Sourceware - gdb-prs mailing list
In reply to this post by Sourceware - gdb-prs mailing list
https://sourceware.org/bugzilla/show_bug.cgi?id=26295

SRINATH PARVATHANENI <sripar01 at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Assignee|unassigned at sourceware dot org   |sripar01 at gcc dot gnu.org
             Status|NEW                         |ASSIGNED
                 CC|                            |sripar01 at gcc dot gnu.org

--
You are receiving this mail because:
You are on the CC list for the bug.