Hi,
Thanks Bruse for the reply. I am running 3.3-Release of FreeBSD. And my
kernel is elf kernel. So according to Bruce, I cannot set the breakpoints
from DDB until sysinit() finishes. So what is the safe point from where I
can set break points from DDB? I want to use DDB because I want to debug
online.
thanks for the help.
--gb
On Fri, 2 Jun 2000, Bruce Evans wrote:
> On Thu, 1 Jun 2000, G.B.Naidu wrote:
>
> > I am having problems with DDB while setting breakpoints in the kernel. I
> > entered the DDB by giving kernel -d at boot prompt. After that I tried to
> > set break point at ip_output() by giving "b ip_output". But it complains
> > saying that "sumbol not found". I thought this might be due to stripped
>
> Early setting of breakpoints by name was broken by the switch to elf in
> FreeBSD-3.0 (symbols aren't available until the kernel module sysinit runs
> much later). I think it works for aout kernels in 3.x but not in 4.0 or
> -current. Use gdb or set breakpoints early by value in broken versions.
>
> Bruce
>
--
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message