diff options
author | jhb <jhb@FreeBSD.org> | 2015-04-01 19:48:19 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2015-04-01 19:48:19 +0000 |
commit | ea3f65c3bfa2adeb9f8b59541dcb5e3b7b35a9b6 (patch) | |
tree | fce4ad3c8d3713b52d148c901b37040ecdfef8b2 /usr.bin | |
parent | ec31b3f59ea9105c919af29d3b93f17bb8859659 (diff) | |
download | FreeBSD-src-ea3f65c3bfa2adeb9f8b59541dcb5e3b7b35a9b6.zip FreeBSD-src-ea3f65c3bfa2adeb9f8b59541dcb5e3b7b35a9b6.tar.gz |
MFC 278761:
Include OBJT_PHYS VM objects in ELF core dumps. In particular this
includes the shared page allowing debuggers to use the signal trampoline
code to identify signal frames in core dumps.
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/gcore/elfcore.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/gcore/elfcore.c b/usr.bin/gcore/elfcore.c index dbd0b30..0f90b59 100644 --- a/usr.bin/gcore/elfcore.c +++ b/usr.bin/gcore/elfcore.c @@ -471,7 +471,8 @@ readmap(pid_t pid) ((pflags & PFLAGS_FULL) == 0 && kve->kve_type != KVME_TYPE_DEFAULT && kve->kve_type != KVME_TYPE_VNODE && - kve->kve_type != KVME_TYPE_SWAP)) + kve->kve_type != KVME_TYPE_SWAP && + kve->kve_type != KVME_TYPE_PHYS)) continue; ent = calloc(1, sizeof(*ent)); |