mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-20 18:08:24 +08:00
Recognize FreeBSD core dump note for x86 segment base registers.
This core dump note contains the value of the base address of the %fs and %gs segments for both i386 and amd64 core dumps. It is primarily useful in resolving the address of TLS variables in core dumps. binutils/ChangeLog: * readelf.c (get_freebsd_elfcore_note_type): Handle NT_FREEBSD_X86_SEGBASES. include/ChangeLog: * elf/common.h (NT_FREEBSD_X86_SEGBASES): Define.
This commit is contained in:
@ -738,6 +738,7 @@
|
||||
#define NT_FREEBSD_PROCSTAT_PSSTRINGS 15 /* Procstat ps_strings data. */
|
||||
#define NT_FREEBSD_PROCSTAT_AUXV 16 /* Procstat auxv data. */
|
||||
#define NT_FREEBSD_PTLWPINFO 17 /* Thread ptrace miscellaneous info. */
|
||||
#define NT_FREEBSD_X86_SEGBASES 0x200 /* x86 segment base registers */
|
||||
|
||||
/* Note segments for core files on NetBSD systems. Note name
|
||||
must start with "NetBSD-CORE". */
|
||||
|
Reference in New Issue
Block a user