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

next in thread | previous in thread | raw e-mail | index | archive | help
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.BSF.4.21.0006021603001.287-100000>