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

Adrian Chadd adrian at freebsd.org
Mon Feb 11 21:20:02 UTC 2013


Whoa, whoa.

Are you seriously trying to argue that having a consistent file:line
isn't a really helpful addition to panic messages?

Yes, you can get it via the crash IP and use of binutils on the kernel
image. But with modules? You have to fire up kgdb, and that requires a
dump _and_ a kgdb that matches the kernel image in question.

Even if you don't add it to the panic message, having that information
passed into panic() so it can print out a file:line would be great.



Adrian


More information about the freebsd-arch mailing list