public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug tdep/26295] New: AArch64: CMASK and DMASK aren't valid DWARF registers
@ 2020-07-23 15:32 alahay01 at gcc dot gnu.org
  2020-07-29 10:00 ` [Bug tdep/26295] " srinath.parvathaneni at arm dot com
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: alahay01 at gcc dot gnu.org @ 2020-07-23 15:32 UTC (permalink / raw)
  To: gdb-prs

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.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug tdep/26295] AArch64: CMASK and DMASK aren't valid DWARF registers
  2020-07-23 15:32 [Bug tdep/26295] New: AArch64: CMASK and DMASK aren't valid DWARF registers alahay01 at gcc dot gnu.org
@ 2020-07-29 10:00 ` srinath.parvathaneni at arm dot com
  2020-07-29 10:18 ` sripar01 at gcc dot gnu.org
  2022-05-18 10:27 ` luis.machado at arm dot com
  2 siblings, 0 replies; 4+ messages in thread
From: srinath.parvathaneni at arm dot com @ 2020-07-29 10:00 UTC (permalink / raw)
  To: gdb-prs

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.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug tdep/26295] AArch64: CMASK and DMASK aren't valid DWARF registers
  2020-07-23 15:32 [Bug tdep/26295] New: AArch64: CMASK and DMASK aren't valid DWARF registers alahay01 at gcc dot gnu.org
  2020-07-29 10:00 ` [Bug tdep/26295] " srinath.parvathaneni at arm dot com
@ 2020-07-29 10:18 ` sripar01 at gcc dot gnu.org
  2022-05-18 10:27 ` luis.machado at arm dot com
  2 siblings, 0 replies; 4+ messages in thread
From: sripar01 at gcc dot gnu.org @ 2020-07-29 10:18 UTC (permalink / raw)
  To: gdb-prs

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.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug tdep/26295] AArch64: CMASK and DMASK aren't valid DWARF registers
  2020-07-23 15:32 [Bug tdep/26295] New: AArch64: CMASK and DMASK aren't valid DWARF registers alahay01 at gcc dot gnu.org
  2020-07-29 10:00 ` [Bug tdep/26295] " srinath.parvathaneni at arm dot com
  2020-07-29 10:18 ` sripar01 at gcc dot gnu.org
@ 2022-05-18 10:27 ` luis.machado at arm dot com
  2 siblings, 0 replies; 4+ messages in thread
From: luis.machado at arm dot com @ 2022-05-18 10:27 UTC (permalink / raw)
  To: gdb-prs

https://sourceware.org/bugzilla/show_bug.cgi?id=26295

Luis Machado <luis.machado at arm dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|ASSIGNED                    |RESOLVED
                 CC|                            |luis.machado at arm dot com

--- Comment #1 from Luis Machado <luis.machado at arm dot com> ---
Unused code removed.

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2022-05-18 10:27 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-23 15:32 [Bug tdep/26295] New: AArch64: CMASK and DMASK aren't valid DWARF registers alahay01 at gcc dot gnu.org
2020-07-29 10:00 ` [Bug tdep/26295] " srinath.parvathaneni at arm dot com
2020-07-29 10:18 ` sripar01 at gcc dot gnu.org
2022-05-18 10:27 ` luis.machado at arm dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).