Proposal: Unify printing the function name in panic messages()

Adrian Chadd adrian at freebsd.org
Wed Feb 13 19:23:08 UTC 2013


... I hate to be a jerk, but something tells me that relying on the
output of text strings as to the panic cause and then parsing those is
maybe not the right thing to do.

If it were me, I'd do something like the gettext string API - ie,
panic wouldn't take a string, but a panic string ID, which would
translate to an enum as well as map to a string.. then you could pull
that off.



Adrian


More information about the freebsd-arch mailing list