Structure/union and variable definition files
In order to add new structure definitions to scodb,
do the following:
-
Generate an object module (a .o file) which
#include
's
the structures of interest.
This must be compiled with the cc -g -W0,-d1 option to
generate DWARF I format debugging information.
Ensure that you build the object with
make
flags matching the
DEBUG/non-DEBUG UNIPROC/non-UNIPROC
status of the kernel in which
scodb is installed.
NOTE:
Do not use the filename ``kstruct.o'' for this module, as this
file already exists and contains the core kernel structure definitions.
-
Copy the new object module into the /etc/conf/pack.d/scodb/info
directory.
-
At this point, the structure definitions will be automatically added
to scodb.
© 2005 The SCO Group, Inc. All rights reserved.
OpenServer 6 and UnixWare (SVR5) HDK - June 2005