public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
From: "vries at gcc dot gnu.org" <sourceware-bugzilla@sourceware.org>
To: gdb-prs@sourceware.org
Subject: [Bug tdep/30540] New: [gdb/tdep] AT_RSEQ_FEATURE_SIZE / AT_RSEQ_ALIGN support missing in "info auxv"
Date: Mon, 12 Jun 2023 07:36:57 +0000	[thread overview]
Message-ID: <bug-30540-4717@http.sourceware.org/bugzilla/> (raw)

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.

             reply	other threads:[~2023-06-12  7:36 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-06-12  7:36 vries at gcc dot gnu.org [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-30540-4717@http.sourceware.org/bugzilla/ \
    --to=sourceware-bugzilla@sourceware.org \
    --cc=gdb-prs@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).