I am testing a new driver on FreeBSD kernel.
This might be trivial for experienced developers, but I can't figure out the solution to this problem.
I have a kernel panic and when it panics, I get the backtrace of the panic.
The backtrace says that the panic occurred at say foo_bar() + 0x94
. How can I extract the line no corresponding to foo_bar() + 0x94
?
The kernel is built with debugging symbols. I have tried grepping nm kernel
but it only contains debugging symbols.
What can I do to find the exact line no?