*BSD News Article 14835


Return to BSD News archive

Newsgroups: comp.os.386bsd.bugs
Path: sserve!newshost.anu.edu.au!munnari.oz.au!spool.mu.edu!darwin.sura.net!haven.umd.edu!uunet!mcsun!sun4nl!eur.nl!pk
From: pk@cs.few.eur.nl (Paul Kranenburg)
Subject: DDB again
Message-ID: <1993Apr21.114556.16552@cs.few.eur.nl>
Keywords: Kernel debugging
Sender: news@cs.few.eur.nl
Reply-To: pk@cs.few.eur.nl
Organization: Erasmus University Rotterdam
Date: Wed, 21 Apr 1993 11:45:56 GMT
Lines: 13

Having a DDB that displays argument names in stack traces in stead of a bunch
of hex numbers, I found that arguments are at times completely bogus. This
has been traced to the use of stack frames that are not complete at the time
the breakpoint is encountered. It happens when you set a breakpoint at the
start of a function. Also, frames were not being properly recognised as 
residing in the kernel stack. Also, system call frames were not handled.

I've put my heavily munched db_{trace,sym,aout}.c up for Anon-FTP at
`ftp.cs.few.eur.nl:~/pub/DDB.tar.Z'. It contains the whole files as
diffs are no longer practical.

-pk