]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
kern_ctf.c: fix linking with nooptions DDB
authorMitchell Horne <mhorne@FreeBSD.org>
Fri, 22 Mar 2024 16:26:00 +0000 (13:26 -0300)
committerMitchell Horne <mhorne@FreeBSD.org>
Fri, 22 Mar 2024 16:26:00 +0000 (13:26 -0300)
commitdc7ae2bc6fadd67cef0e1c65d79aa82818ac9793
tree14f548b6f7686a69695d774b17d4ec646e28a162
parent537bdafbc25d39b4bb3dce124691913f86c08288
kern_ctf.c: fix linking with nooptions DDB

!DDB builds don't include the db_ctf_lookup_typename() symbol, so this
is a stop-gap to fix linking of the MINIMAL kernel config.

Reported by: bapt
Fixes: c21bc6f3c242 ("ddb: Add CTF-based pretty printing")
sys/kern/kern_ctf.c