Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 Fluke 8/7/84; site fluke.UUCP Path: utzoo!watmath!clyde!burl!mgnetp!ihnp4!mhuxl!houxm!vax135!cornell!uw-beaver!ssc-vax!fluke!joe From: joe@fluke.UUCP (Joe Kelsey) Newsgroups: net.unix-wizards Subject: adb macros for 4.2 kernel debugging Message-ID: <1796@vax4.fluke.UUCP> Date: Wed, 22-Aug-84 19:01:21 EDT Article-I.D.: vax4.1796 Posted: Wed Aug 22 19:01:21 1984 Date-Received: Thu, 30-Aug-84 00:35:42 EDT Organization: John Fluke Mfg. Co., Everett, WA Lines: 26 Here are some adb macros I came up with while chasing through some recent crash dumps. They are for looking at various mba structures (mbadev and mbahd) and also a correct one for looking at fs structures (the filsys macro doesn't work!) Enjoy! /usr/lib/adb/mbadev: ./"driver"16t"unit"8t"mbanum"8t"drive"8t"dk"8t"alive"8t"type"nX6x +/"mi_tab"n"flags"nXn"forw"16t"back"16t"av_forw"16t"av_back"n4X"bcount"16t"bufsize"16t"error"8t"major"8t"minor"nDDdbbn"addr"16t"blkno"16t"resid"16t"proc"nXDDX"iodone"16t"pfcent"npXn +/"forw"16t"mba"16t"drv"16t"hd"n4Xn /usr/lib/adb/mbahd: ./"active"8t"ndrive"8t"mba"16t"physmba"n2x2Xn"mbip"n8Xn"actf"16t"actl"n2X +,<9-1$