]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Remove spurious ABI tags from kdump output.
authorjhb <jhb@FreeBSD.org>
Tue, 7 Aug 2018 00:10:58 +0000 (00:10 +0000)
committerjhb <jhb@FreeBSD.org>
Tue, 7 Aug 2018 00:10:58 +0000 (00:10 +0000)
commit368c1cdc05a755c0a262c41bf12ef2e0e9003707
tree561c9338956cdff0358f35e6d46ede2cd27fcffd
parentd68a6ef8aa5eaf227e67e1cad4051d2feebd3601
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.

Reviewed by: kib
MFC after: 1 month
Sponsored by: DARPA / AFRL
Differential Revision: https://reviews.freebsd.org/D16608
usr.bin/kdump/kdump.c