From owner-freebsd-net Thu Jun 1 23: 9:11 2000 Delivered-To: freebsd-net@freebsd.org Received: from gidora.zeta.org.au (gidora.zeta.org.au [203.26.10.25]) by hub.freebsd.org (Postfix) with SMTP id 5AE6E37B703 for ; Thu, 1 Jun 2000 23:09:01 -0700 (PDT) (envelope-from bde@zeta.org.au) Received: (qmail 19769 invoked from network); 2 Jun 2000 06:08:55 -0000 Received: from unknown (HELO bde.zeta.org.au) (203.2.228.102) by gidora.zeta.org.au with SMTP; 2 Jun 2000 06:08:55 -0000 Date: Fri, 2 Jun 2000 16:08:57 +1000 (EST) From: Bruce Evans X-Sender: bde@besplex.bde.org To: "G.B.Naidu" Cc: freebsd-hackers@FreeBSD.ORG, freebsd-net@FreeBSD.ORG Subject: Re: DDB is not setting break points... In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org 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