[net.bugs.2bsd] More fun with adb

rst@tardis.UUCP (Robert Thau) (02/15/85)

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