Date: Sat, 9 Mar 2002 14:46:37 +0100 From: Willem van Engen <wvengen@stack.nl> To: "Daniel O'Connor" <doconnor@gsoft.com.au> Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: Remote GDB in -stable.. Message-ID: <20020309144637.028f317e.wvengen@stack.nl> In-Reply-To: <1015646519.68150.6.camel@chowder.dons.net.au> References: <20020308105632.7fbfa098.wvengen@stack.nl> <1015646519.68150.6.camel@chowder.dons.net.au>
next in thread | previous in thread | raw e-mail | index | archive | help
On 09 Mar 2002 15:31:55 +1130 "Daniel O'Connor" <doconnor@gsoft.com.au> 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 majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020309144637.028f317e.wvengen>