[net.bugs.4bsd] Why doesn't the VAX assym.s/genassym.c stuff #define KERNEL?

pete@ecrcvax.UUCP (Pete Delaney) (05/31/85)

	I am trying to add a entry to the process control block (pcb) for
	kernel tracing.  This should change the offsets for u structure
	entries.  However, this is just a test kernel.  My problem is
	that it appears that the assembly language symbol generator
	(genassym) is compiled via the makefile without the defineing
	KERNEL.  Thus the user.h stuff gets its stuff from /usr/incluse/sys,
	since it uses < > delimiters.  This seems like a strange arrangement.
	Many system administrators could easly assume that all the kernel
	defines are from the /usr/sys sub-directories (Snoopy?).  This
	would seem like a reasonable assumption.  However it appears to
	me (at this late hour) that the assembly symbols are derived from
	headers in /usr/include/sys.  Perhaps someone would explane the
	reason for this.  I tried defineing KERNEL and had uba_hd come
	up undefined.  The diff's in the pre-processed files is really
	great.  I'm a bit surprised any system structure changes havn't
	caused horrible consequences.

	Hope to hear a interesting explanation for this design.

-- 

--------------------------------------------
Pete Delaney - Rocky Mnt. Unix Consultant	Phone: (49) 89 92699-139
European Computer-Industry Research Center 	UUCP: mcvax!unido!ecrcvax!pete
ArabellaStrasse 17 				UUCP Domain: pete@ecrcvax.UUCP
D-8000 Muenchen 81, West Germany 		X25: (262)-45890040262
CSNET:pete%ecrcvax.UUCP@Germany.CSNET		     Login: <to be provided?>
------------------------------------------------------------------------------