More fun with adb

Robert Thau rst at tardis.UUCP
Sat Feb 16 00:59:22 AEST 1985


A few more changes are required if you want to interpret crash dumps
of networking kernels with adb.  To wit, all occurences of the address
of the end of the u. area, formerly 0142000, should be changed to 0144000
(#ifdeffed on UCB_NET of course).  The changes are:

in print.c, change
			IF kernel? ((unsigned)frame>(unsigned)0142000):

to
#ifdef	UCB_NET
			IF kernel? ((unsigned)frame>(unsigned)0144000):
#else
			IF kernel? ((unsigned)frame>(unsigned)0142000):
#endif

------------------
in setup.c, change

			datmap.e2 = 0142000L;

to
#ifdef	UCB_NET
			datmap.e2 = 0144000L;
#else
			datmap.e2 = 0142000L;
#endif

and change
			  if ((ar0>(POS *)0140000) & (ar0<(POS *)0142000)

to
#ifdef	UCB_NET
			  if ((ar0>(POS *)0140000) & (ar0<(POS *)0144000)
#else
			  if ((ar0>(POS *)0140000) & (ar0<(POS *)0142000)
#endif

--------
rst



More information about the Comp.bugs.2bsd mailing list