Recognize the recently-added FreeBSD core dump note for LWP info.
authorJohn Baldwin <jhb@FreeBSD.org>
Wed, 28 Jun 2017 18:41:41 +0000 (11:41 -0700)
committerJohn Baldwin <jhb@FreeBSD.org>
Fri, 7 Jul 2017 23:10:47 +0000 (16:10 -0700)
commit0b9305edf1d0b15913643b132dad02d4ca4fbb43
treed8a7d63e35ac3ce1d053aed2a7e30784b704de2f
parent2af9fc4432bbda5ebd805bf5b56d81cd80d0cbf5
Recognize the recently-added FreeBSD core dump note for LWP info.

This core dump note contains the same information returned by the
ptrace PT_LWPINFO operation for each LWP belonging to a process.

binutils/ChangeLog:

* readelf.c (get_freebsd_elfcore_note_type): Handle
NT_FREEBSD_PTLWPINFO.

include/ChangeLog:

* elf/common.h (NT_FREEBSD_PTLWPINFO): Define.
binutils/ChangeLog
binutils/readelf.c
include/ChangeLog
include/elf/common.h