On 09 Mar 2002 15:31:55 +1130
"Daniel O'Connor" <[EMAIL PROTECTED]> wrote:

> On Fri, 2002-03-08 at 21:26, Willem van Engen wrote:
> > > Anyone have any handy tips?
> > Did you read the developers' handbook, chapter 16?
> > http://www.freebsd.org/doc/en_US.ISO8859-1/books/developers-handbook/x5013.html
> 
> Yeah I read that.
> I can't get an annotates back trace though :(
> ie I want gdb to show me line numbers of function calls and the like..

So what exactly doesn't work and what does? Are the kernel's symbols
loaded (try 'list printf' e.g. before 'target'-ing)? If it fails, make
sure you load the kernel with symbols included, not the stripped one. If
you used 'makeoptions DEBUG=foo' in the kernel config, you need to load
kernel.debug (from /sys/compile/MYKERNEL) into gdb, instead of kernel.

- Willem


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to