From owner-freebsd-hackers Sat Feb 24 05:22:18 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id FAA29421 for hackers-outgoing; Sat, 24 Feb 1996 05:22:18 -0800 (PST) Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.2.228.19]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id FAA29410 for ; Sat, 24 Feb 1996 05:22:09 -0800 (PST) Received: (from bde@localhost) by godzilla.zeta.org.au (8.6.12/8.6.9) id AAA04558; Sun, 25 Feb 1996 00:19:29 +1100 Date: Sun, 25 Feb 1996 00:19:29 +1100 From: Bruce Evans Message-Id: <199602241319.AAA04558@godzilla.zeta.org.au> To: Mattias.Gronlund@sa.erisoft.se, joerg_wunsch@uriah.heep.sax.de Subject: Re: Whither ddb Cc: freebsd-hackers@freefall.freebsd.org Sender: owner-hackers@FreeBSD.ORG Precedence: bulk >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. Perhaps you have a very old boot loader that doesn't load symbol tables. You can tell if you have symbols by looking at the disassembly of the current instruction. For entry via Ctrl-PrintScreen it should look something like: Stopped at _Debugger+0x2b: movb $0,_in_Debugger.100 db> ddb doesn't understand names with `.' in them like the one above. Bruce