From owner-freebsd-alpha Wed Jun 6 16:51: 8 2001 Delivered-To: freebsd-alpha@freebsd.org Received: from mass.dis.org (mass.dis.org [216.240.45.41]) by hub.freebsd.org (Postfix) with ESMTP id D70FC37B401; Wed, 6 Jun 2001 16:51:05 -0700 (PDT) (envelope-from msmith@mass.dis.org) Received: from mass.dis.org (localhost [127.0.0.1]) by mass.dis.org (8.11.3/8.11.3) with ESMTP id f5700uB01178; Wed, 6 Jun 2001 17:00:56 -0700 (PDT) (envelope-from msmith@mass.dis.org) Message-Id: <200106070000.f5700uB01178@mass.dis.org> X-Mailer: exmh version 2.1.1 10/15/1999 To: obrien@FreeBSD.ORG Cc: Matthew Jacob , Andrew Gallatin , Freebsd-alpha@FreeBSD.ORG Subject: Re: -current kernel still considered dangerous In-reply-to: Your message of "Wed, 06 Jun 2001 07:43:53 PDT." <20010606074352.B96129@dragon.nuxi.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 06 Jun 2001 17:00:56 -0700 From: Mike Smith Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org > On Wed, Jun 06, 2001 at 07:36:48AM -0700, Matthew Jacob wrote: > > Unlike Solaris, modules are not essential to run FreeBSD. I think debugging > > this by fixing 'debugging modules' is at best a 3rd order priority. > > I thought many of the device driver folks perfer to develop via modules. > How do they debug things? Printf() is it? This would be at least the third time you have asked this tiresome question. See the vinum sources for a bunch of helper scripts for applying gdb to modules. However, as most device driver authors will tell you, yes, printf and a serial console are usually your best friend. A debugger is exactly no use when you've deadlocked or spontaneously rebooted your machine, and most of the rest of what typically requires debugging happens too fast or at much too inconvenient times to make using a debugger any more efficient than a stack of KASSERTs and a lot of debugging output. -- ... every activity meets with opposition, everyone who acts has his rivals and unfortunately opponents also. But not because people want to be opponents, rather because the tasks and relationships force people to take different points of view. [Dr. Fritz Todt] V I C T O R Y N O T V E N G E A N C E To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message