[Bug gdb/29421] New: Extend aarch64 pauth xml for gdbstub and kernel mode

rth at gcc dot gnu.org sourceware-bugzilla@sourceware.org
Wed Jul 27 19:10:42 GMT 2022


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

            Bug ID: 29421
           Summary: Extend aarch64 pauth xml for gdbstub and kernel mode
           Product: gdb
           Version: HEAD
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: gdb
          Assignee: unassigned at sourceware dot org
          Reporter: rth at gcc dot gnu.org
  Target Milestone: ---

The current definition of org.gnu.gdb.aarch64.pauth only applies
to TTBR0, which is sufficient for native user-mode debugging. It
would be nice to extend this to TTBR1, so that it may be used for
gdbstub debugging, and the cpu is in EL[12].

My suggestion is simply to add pauth_{d,c}mask1 (possibly within
a different feature name).  These values would be -1 when the
active translation regime does not have two VA ranges, i.e.
EL2 but not EL2&0, and EL3.

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


More information about the Gdb-prs mailing list