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.
This commit is contained in:
parent
ec31b3f59e
commit
ea3f65c3bf
@ -1392,7 +1392,8 @@ each_writable_segment(td, func, closure)
|
||||
object = backing_object;
|
||||
}
|
||||
ignore_entry = object->type != OBJT_DEFAULT &&
|
||||
object->type != OBJT_SWAP && object->type != OBJT_VNODE;
|
||||
object->type != OBJT_SWAP && object->type != OBJT_VNODE &&
|
||||
object->type != OBJT_PHYS;
|
||||
VM_OBJECT_RUNLOCK(object);
|
||||
if (ignore_entry)
|
||||
continue;
|
||||
|
@ -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));
|
||||
|
Loading…
x
Reference in New Issue
Block a user