]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFC 337400: Remove spurious ABI tags from kdump output.
authorjhb <jhb@FreeBSD.org>
Mon, 8 Oct 2018 17:18:55 +0000 (17:18 +0000)
committerjhb <jhb@FreeBSD.org>
Mon, 8 Oct 2018 17:18:55 +0000 (17:18 +0000)
commit7e07fddd98455c52b57ea820e557430ecdce4f1f
tree3e26f6b84943750ca01cd235d78a72f6c03f644e
parent59e3462397fe61451f33846b1d0c56142b6a816d
MFC 337400: Remove spurious ABI tags from kdump output.

The abidump routine output an ABI tag when -A was specified for records
that were not displayed due to type or pid filtering.  To fix, split
the code to lookup the ABI from the code to display the ABI, move the
code to display the ABI into dumpheader(), and move dumpheader() later
in the main loop as a simplification.  Previously dumpheader() was
called under a condition that repeated conditions made later in the
main loop.
usr.bin/kdump/kdump.c