Hi,

I'm sorry for the ignorant question.  I'm trying to translate an
address in a kernel module into a file/line number.  Is there a
generally accepted way to get a line number from a offset within a
kernel module?


In linux/freebsd/etc or even with my driver built on Solaris with gdb,
I'd just do:

% gdb module
<...>
(gdb) list *function+0xadd


When I do this with a module (presumably built with the Sun C
compiler), even when built with debugging, gdb says "no debugging
symbols found"  Addr2line doesn't work either :(


Thanks,

Drew
_______________________________________________
driver-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/driver-discuss

Reply via email to