From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,12caf889b9426ffc,start X-Google-Attributes: gidfee84,public From: "J�rg Spilling" Subject: True64 Unix 4.0F device driver debugging Date: 1999/10/11 Message-ID: <7tthdu$fph$1@news02.btx.dtag.de>#1/1 X-Deja-AN: 535525052 Content-Transfer-Encoding: 8bit X-Trace: news02.btx.dtag.de 939673854 16177 03641602167-0001 991011 20:30:54 Organization: T-Online X-Sender: 03641602167-0001@t-dialin.net X-MSMail-Priority: Normal X-Priority: 3 Content-Type: text/plain; charset=ISO-8859-1 Mime-Version: 1.0 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 Newsgroups: comp.unix.osf.osf1 X-Complaints-To: abuse@t-online.de Hi, could anyone give me some hints how I can debug a loadable driver. I have tried any thing which is described in the doc: kdebug don't work locally, ladebug (4.0-39) crashes after the run command when working in remote mode and the dbx don't stop in the 'subsys_preconfigure' breakpoint as described in the ladebug/kernel debug manual. I have found that the 'subsys_conf' breakpoint works. After loading the drivers symbol table with (dbx) stbadd /usr/sys/io/mydriver/mydriver.mod the drivers entry points are known. But if I set the corresponding breakpoints the debugger don#t stop there if I load the driver usinf sysconfig -v -c mydriver. Joerg EQUIcon Software GmbH Jena/Germany