Sun Microsystems Sun Workstation 100U System Manager's Manual page 161

Table of Contents

Advertisement

ADBGEN(S)
MAINTENANCE COMMANDS
ADBGEN(S)
Then an odbgen file (call it 8cript.odb) to print it would be:
. #inc1ude "x.h"
x
./"x_cp" 16t"x_c"St"x_i"n{x_cp,X}{x_c,C} {x_i,D}
Alter running odbgen the output file 8cript would contain:
./"x_cp"16t"x_c"St"x_i"nXC+ D
To invoke .the script you would type:
x$<script
DIAGNOSTICS
FILES
Warnings about structure member sizes not equal to odb format items and complaints about badly
lormatted requests. The C compiler complains il you relerence a structure member that does not
exist. It also complains about III belore array names; these complaints may be ignored.
/usr/lib/aJJb/*
adb scripts lor debugging the kernel
SEE ALSO
BUGS
6
adb(l), Using ADB to Debug the UNIX Kernel
Adb syntax is ugly; there should be a higher level interlace lor generating scripts.
Structure members which are bit fields cannot be handled because C will not give the address of a
bit field. The address is needed to determine the offset.
Last change: 10 November 1983
Sun Release 1.1

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sun workstation 150u

Table of Contents