unable to fetch pauth registers: Invalid argument.
Bug #2012509 reported by
Heinrich Schuchardt
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gdb (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
I am running Ubuntu Lunar on an arm64 Lenovo X13s using the kernel 6.2.0-1003-laptop from ppa:ubuntu-
Debugging a trivial hello world program fails:
GNU gdb (Ubuntu 13.1-2ubuntu2) 13.1
Reading symbols from ./test...
(gdb) r
Starting program: /home/user/
unable to fetch pauth registers: Invalid argument.
The message relates to this statement:
gdb/aarch64-
ret = ptrace (PTRACE_GETREGSET, tid, NT_ARM_PAC_MASK, &iovec);
When using
set tdesc filename target.xml
with a target.xml file without the org.gnu.
To post a comment you must log in.
https://<email address hidden>/
introduced hwcaps PACA (for address authentication) and PACG (for generic
authentication). These are present in /proc/cpuinfo:
Features:
fp asimd evtstrm aes pmull sha1 sha2 crc32 atomics fphp asimdhp cpuid asimdrdm lrcpc dcpop asimddp uscat ilrcpc flagm paca pacg