Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 6/24/83 (MC840302); site ecrcvax.UUCP Path: utzoo!linus!philabs!cmcl2!seismo!mcvax!unido!ecrcvax!pete From: pete@ecrcvax.UUCP (Pete Delaney) Newsgroups: net.unix-wizards,net.unix,net.bugs.4bsd Subject: Why doesn't the VAX assym.s/genassym.c stuff #define KERNEL? Message-ID: <99@ecrcvax.UUCP> Date: Fri, 31-May-85 03:16:26 EDT Article-I.D.: ecrcvax.99 Posted: Fri May 31 03:16:26 1985 Date-Received: Sat, 1-Jun-85 14:38:30 EDT Reply-To: pete@ecrcvax.UUCP (Pete Delaney) Organization: ECRC, D-8000 Muenchen 81, W. Germany Lines: 29 Xref: linus net.unix-wizards:10587 net.unix:4151 net.bugs.4bsd:1241 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: ------------------------------------------------------------------------------