]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
stand: Improve some debugging experience
authorkevans <kevans@FreeBSD.org>
Tue, 12 Mar 2019 16:21:39 +0000 (16:21 +0000)
committerkevans <kevans@FreeBSD.org>
Tue, 12 Mar 2019 16:21:39 +0000 (16:21 +0000)
commit3a3d912cfc59e6ec9aec6b3847bccd6eaefda97a
treee577c7a5cc01939a87d5b6beb953644941e894bb
parent21fecb2386b1df015a2cb6c67f511c8ef5f2e3ca
stand: Improve some debugging experience

Some of these files using <FOO>_DEBUG defined a DEBUG() macro to serve as a
debug-printf. -DDEBUG is useful to enable some debugging output across
multiple ELF/common parts, so switch the DEBUG-as-printf macros over to
something more like DPRINTF that is more commonly used for this kind of
thing and less likely to conflict.

userboot/elf64_freebsd debugging also assumed %llx for uint64; use PRIx64
instead.

MFC after: 1 week
stand/common/bcache.c
stand/common/disk.c
stand/common/interp_forth.c
stand/common/part.c
stand/userboot/userboot/elf64_freebsd.c