Implement dumping core for Linux binaries on amd64, for both 32- and 64-bit executables.
Some bits are still missing.
This is based on a prototype by chuck@.
Differential D30019
linux(4): implement coredump support trasz on Apr 28 2021, 9:11 AM. Authored by Tags None Referenced Files
Details
Implement dumping core for Linux binaries on amd64, for both 32- and 64-bit executables. This is based on a prototype by chuck@.
Diff Detail
Event TimelineThere are a very large number of changes, so older changes are hidden. Show Older Changes
Comment Actions There's still one change to imgact_elf.c, but this one is completely Linux-specific, so I'm not sure if there's a point in splitting it off.
Comment Actions Overall, I like the result. Again, could you, please split this change into core part and then Linux bits? Perhaps for review it is better to keep them together, but I suggest to make (at least) two commits there.
Comment Actions Will definitely split it into non-Linux specific part, and the Linux-specific one, but I think it's easier to review as a whole.
Comment Actions Add prefixes to individual functions; should make backtraces
Comment Actions This diff is somewhat huge, so I've spun off bits not specific to Linux into https://reviews.freebsd.org/D30921. |