Subject: Re: ddb; how about adb?
To: Sean Davis <>
From: Greywolf <>
List: tech-kern
Date: 02/16/2002 17:35:50
If memory serves correctly, under adb,


gives output that looks remarkably like what you see when your machine
decides to go TU and you *don't* have ddb enabled.

[on a side debugging note:  We really need to have the mem-dump capable
of dumping only active memory out to disk, preferably pre-compressed.
I think it ludicrous to have to dedicate 640MB of disk to a dump device
on a machine with 640MB of RAM -- that's over a half gig of space that
I could put to better use.  / and /usr fit in there thrice over and
then some!  This is not even to bring up those machines capable of
holding 2G of RAM.  What, I'm supposed to dedicate what is now,
amazingly enough, a "small disk" just to hold a memory dump?]

On Sat, 16 Feb 2002, Sean Davis wrote:

# Date: Sat, 16 Feb 2002 20:29:19 -0500
# From: Sean Davis <>
# To: Greywolf <>
# Cc:
# Subject: Re: ddb; how about adb?
# What I would really like would be the ability to get a stack backtrace from
# a kernel core dump and have it look exactly like ddb does when the box
# panics, does adb do this?
# I can get all sorts of disgusting levels of verbosity from gdb, of course,
# but nothing that looks the same, it makes it a PITA to compare output from a
# scribbled down ddb 't' trace with what I get from gdb later.
# Though, even if adb doesn't look the same, I would be interested in giving
# it a try anyway :)
# --Sean
# On Sat, Feb 16, 2002 at 05:23:49PM -0800, Greywolf wrote:
# > # ...I'll try and get more info once I figure out who broke DDB :-/
# >
# > I know this is off the original topic; but since the source code access
# > license has been lifted apparently for things like Net-2, is there any
# > chance of reintroducing adb?  It was a very nice all-purpose binary file
# > patche^W^W^Wdebugger.  I found it actually much more friendly to work
# > with in retrieving, e.g., a stack backtrace than gdb (yeah, yeah -- go
# > figure that one).
# >
# > 				--*greywolf;
# > --
# > NetBSD:  We come in peace.  We offer reliability.
# >
# --
# /~\ The ASCII                         Sean Davis
# \ / Ribbon Campaign                    aka dive
#  X  Against HTML
# / \ Email!     

Hack on NetBSD, and your code runs on over 40 architectures.