Hi, On Sat, Jan 04, 2025 at 11:38:33PM +0900, Akihiko Odaki wrote: > elf.h had a comment saying: > > Notes used in ET_CORE. Architectures export some of the arch register > > sets using the corresponding note types via the PTRACE_GETREGSET and > > PTRACE_SETREGSET requests. > > The note name for these types is "LINUX", except NT_PRFPREG that is > > named "CORE". > > However, NT_PRSTATUS is also named "CORE". It is also unclear what > "these types" refers to. > > To fix these problems, define a name for each note type. The added > definitions are macros so the kernel and userspace can directly refer to > them. > > Signed-off-by: Akihiko Odaki <akihiko.odaki@xxxxxxxxxx> Should this be Cc'd at least to the GNU binutils or gdb folks? Also the glibc and elfutils projects, both of which maintain a version of elf.h. They may have their own view on the best way to approach this issue. If cross-posting to other project mailing lists, it might make sense to add a bit more background explaining the motivation for the change. [...] Cheers ---Dave