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.
Details
Details
- Verify that a gdb patched to use a sigcode sniffer to identify signal frames works with a core generated via the kernel and one via gcore.
Diff Detail
Diff Detail
- Repository
- rS FreeBSD src repository - subversion
- Lint
Lint Skipped - Unit
Tests Skipped
Event Timeline
sys/kern/imgact_elf.c | ||
---|---|---|
1405 ↗ | (On Diff #3747) | Explicit listing of object types is fine. |
sys/kern/imgact_elf.c | ||
---|---|---|
1405 ↗ | (On Diff #3747) | While in general I think we prefer using flags checks, we don't export the flags to userland and I'd like to keep the gcore code aligned with this (even though currently they are a bit different) |