Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 2 Jun 2000 13:07:14 +0530 (IST)
From:      "G.B.Naidu" <gbnaidu@sasi.com>
To:        Bruce Evans <bde@zeta.org.au>
Cc:        freebsd-hackers@FreeBSD.ORG, freebsd-net@FreeBSD.ORG
Subject:   Re: DDB is not setting break points...
Message-ID:  <Pine.LNX.4.21.0006021305020.1423-100000@pcd75.sasi.com>
In-Reply-To: <Pine.BSF.4.21.0006021603001.287-100000@besplex.bde.org>

next in thread | previous in thread | raw e-mail | index | archive | help

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 majordomo@FreeBSD.org
with "unsubscribe freebsd-net" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.LNX.4.21.0006021305020.1423-100000>