mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-26 09:08:59 +00: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:
@@ -20448,6 +20448,8 @@ get_freebsd_elfcore_note_type (Filedata * filedata, unsigned e_type)
|
||||
return _("NT_PROCSTAT_AUXV (auxv data)");
|
||||
case NT_FREEBSD_PTLWPINFO:
|
||||
return _("NT_PTLWPINFO (ptrace_lwpinfo structure)");
|
||||
case NT_FREEBSD_X86_SEGBASES:
|
||||
return _("NT_X86_SEGBASES (x86 segment base registers)");
|
||||
}
|
||||
return get_note_type (filedata, e_type);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user