Date: Sat, 24 Feb 1996 11:22:18 +0100 From: Mattias.Gronlund@sa.erisoft.se (Mattias Gronlund) To: joerg_wunsch@uriah.heep.sax.de Cc: freebsd-hackers@freefall.freebsd.org Subject: Re: Whither ddb Message-ID: <9602241022.AA07290@sws021.sa.erisoft.se>
next in thread | raw e-mail | index | archive | help
As J"org wrote:
>
> As Kaleb S. KEITHLEY wrote:
>
> > What exactly is the strategy for debugging a kernel?
>
> Read chapter 19 of the handbook.
>
I have tried to follow chapter 19 in the handbook, but I havn't got it
working the way I understood it should.
The handbook says:
The DDB commands roughly resemble some gdb commands. The first you
probably need is to set a breakpoint:
b function-name
b address
But if I try to use the b function-name I always get the response that
there is no symbol with that name (I have tried different function names).
My kernel has the OPTION DDB and is configured with -d and it is not
stripped.
I have the same problem when I try to look at data in memory with the x
command, why is this?
/Mattias
---
Any opinions in this posting are my own and not those of my present
or previous employers.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9602241022.AA07290>
