public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug tdep/30540] New: [gdb/tdep] AT_RSEQ_FEATURE_SIZE / AT_RSEQ_ALIGN support missing in "info auxv"
@ 2023-06-12  7:36 vries at gcc dot gnu.org
  2023-09-19 17:52 ` [Bug tdep/30540] " tromey at sourceware dot org
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: vries at gcc dot gnu.org @ 2023-06-12  7:36 UTC (permalink / raw)
  To: gdb-prs

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

            Bug ID: 30540
           Summary: [gdb/tdep] AT_RSEQ_FEATURE_SIZE / AT_RSEQ_ALIGN
                    support missing in "info auxv"
           Product: gdb
           Version: 13.1
            Status: NEW
          Severity: normal
          Priority: P2
         Component: tdep
          Assignee: unassigned at sourceware dot org
          Reporter: vries at gcc dot gnu.org
  Target Milestone: ---

With a 13.2 based packaged, on openSUSE Tumbleweed x86_64, I run into:
...
(gdb) info auxv^M
33   AT_SYSINFO_EHDR      System-supplied DSO's ELF header 0x7ffff7fc7000^M
51   AT_MINSIGSTKSZ       Minimum stack size for signal delivery 0x6f0^M
16   AT_HWCAP             Machine-dependent CPU capability hints 0x178bfbff^M
6    AT_PAGESZ            System page size               4096^M
17   AT_CLKTCK            Frequency of times()           100^M
3    AT_PHDR              Program headers for program    0x400040^M
4    AT_PHENT             Size of program header entry   56^M
5    AT_PHNUM             Number of program headers      13^M
7    AT_BASE              Base address of interpreter    0x7ffff7fc9000^M
8    AT_FLAGS             Flags                          0x0^M
9    AT_ENTRY             Entry point of program         0x40105e^M
11   AT_UID               Real user ID                   399^M
12   AT_EUID              Effective user ID              399^M
13   AT_GID               Real group ID                  399^M
14   AT_EGID              Effective group ID             399^M
23   AT_SECURE            Boolean, was exec setuid-like? 0^M
25   AT_RANDOM            Address of 16 random bytes     0x7fffffffdaa9^M
26   AT_HWCAP2            Extension of AT_HWCAP          0x0^M
31   AT_EXECFN            File name of executable        0x7fffffffef77
"/home/abuild/rpmbuild/BUILD/gdb-13.2/build-x86_64-suse-linux/gdb/testsuite.unix.-m64.-fno-PIE.-no-pie/outputs/gdb.base/auxv/auxv"^M
15   AT_PLATFORM          String identifying platform    0x7fffffffdab9
"x86_64"^M
27   ???                                                 0x1c^M
28   ???                                                 0x20^M
0    AT_NULL              End of vector                  0x0^M
(gdb) WARNING: Unrecognized tag value: 27   ???                                
                0x1c^M

WARNING: Unrecognized tag value: 28   ???                                      
          0x20^M

FAIL: gdb.base/auxv.exp: info auxv on live process
...

Grepping in the kernel sources gets me:
...
$ find -name auxvec.h | xargs grep 27
./include/uapi/linux/auxvec.h:#define AT_RSEQ_FEATURE_SIZE      27      /* rseq
supported feature size */
$ find -name auxvec.h | xargs grep 28
./include/uapi/linux/auxvec.h:#define AT_RSEQ_ALIGN             28      /* rseq
allocation alignment */
...

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

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

end of thread, other threads:[~2023-10-07 13:42 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-06-12  7:36 [Bug tdep/30540] New: [gdb/tdep] AT_RSEQ_FEATURE_SIZE / AT_RSEQ_ALIGN support missing in "info auxv" vries at gcc dot gnu.org
2023-09-19 17:52 ` [Bug tdep/30540] " tromey at sourceware dot org
2023-10-03 20:34 ` vries at gcc dot gnu.org
2023-10-07  1:29 ` cvs-commit at gcc dot gnu.org
2023-10-07 13:42 ` tromey at sourceware dot org

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).