From owner-freebsd-hackers Sat Feb 24 02:23:20 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id CAA14075 for hackers-outgoing; Sat, 24 Feb 1996 02:23:20 -0800 (PST) Received: from mailgate.ericsson.se (mailgate.ericsson.se [130.100.2.2]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id CAA14070 for ; Sat, 24 Feb 1996 02:23:18 -0800 (PST) Received: from sa.erisoft.se (epls01.sa.erisoft.se [150.132.128.1]) by mailgate.ericsson.se (8.6.11/1.0) with SMTP id LAA19101; Sat, 24 Feb 1996 11:23:03 +0100 Received: from sws021.sa.erisoft.se by sa.erisoft.se (4.1/SMI-4.1-ERIS0.99) id AA19548; Sat, 24 Feb 96 11:23:02 +0100 From: Mattias.Gronlund@sa.erisoft.se (Mattias Gronlund) Received: by sws021.sa.erisoft.se (5.x/client-1.3) id AA07290; Sat, 24 Feb 1996 11:22:18 +0100 Date: Sat, 24 Feb 1996 11:22:18 +0100 Message-Id: <9602241022.AA07290@sws021.sa.erisoft.se> To: joerg_wunsch@uriah.heep.sax.de Subject: Re: Whither ddb Cc: freebsd-hackers@freefall.freebsd.org X-Sun-Charset: US-ASCII Sender: owner-hackers@FreeBSD.ORG Precedence: bulk As J"org wrote: > > As Kaleb S. KEITHLEY wrote: > > > What exactly is the strategy for debugging a kernel? > > Read chapter 19 of the handbook. > I have tried to follow chapter 19 in the handbook, but I havn't got it working the way I understood it should. 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. I have the same problem when I try to look at data in memory with the x command, why is this? /Mattias --- Any opinions in this posting are my own and not those of my present or previous employers.