On Thu, May 1, 2008 at 10:04 PM, David Christensen <[EMAIL PROTECTED]> wrote:
> I'm trying to build the "bce" driver as a kernel module under RELENG_7 but I'm
>  finding that not all of the functions in the driver are exported as symbols. 
>  This
>  makes it difficult to "call" a function from ddb because I get the error 
> "Symbol
>  not found".  I'm building and loading the driver from 
> /usr/src/sys/modules/bce.
>  What am I doing wrong?  How can I get all functions in the driver exported as
>  symbols usable by the debugger?

Are you building a debug kernel or regular kernel?  Have you turned on
debug symbols?

makeoptions     DEBUG=-g                # Build kernel with gdb(1) debug symbols

Just a quick thought...I'm assuming these symbols are listed under
your final kernel image (nm it etc.).

-aps
_______________________________________________
freebsd-net@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to