Created attachment 171223 [details] mark linux_kdump ignored on freebsd > 1100092 With the work done in https://svnweb.freebsd.org/base?view=revision&revision=292622, using devel/linux_kdump is unnecessary on any FreeBSD version later than 1100092. Mark it ignored to make users aware of kdump(1). While there, bump the version...
Actually, this commit is the one which teaches native kdump how to handle traces from Linux binaries: https://svnweb.freebsd.org/base?view=revision&revision=283430 My commit just broke the build of linux_kdump. Going forward any work to add decoding of system call arguments for Linux binaries should happen in-tree rather than in the port though.
(In reply to John Baldwin from comment #1) So, no one will oppose if I adapt some code from linux_kdump to in tree kdump? syscall and ioctl decoding code
No. We should perhaps refactor kdump.c a bit so it doesn't become too large, but truss already includes support for decoding some Linux system calls as well. I should probably finish my WIP of moving the mksubr-generated tables into libsysdecode (so they are shared with truss) as that might make it easier for you to add decoding of Linux system calls in both places (truss and kdump).
(In reply to John Baldwin from comment #3) Ok, ping me please when it will be ready :)
(In reply to Dmitry Chagin from comment #4) FYI, I've committed the pending mksubr refactoring I had to libsysdecode. For adding new decoding tables, please add them in libsysdecode and then make use of them in truss and/or kdump.
The port has been removed.