September 2000
Beginner
1312 pages
33h 47m
English
/usr/lib/adb/adbgen [-m model] filename.adb...
Use the adbgen command to write adb(1) macros that do not contain hard-coded dependencies on structure member offsets. The input to adbgen is a file named filename.adb that contains the following elements.
Header information.
A null line.
The name of a structure.
An adb script.
adbgen deals with one structure only per file; all member names are assumed to be in this structure. The output of adbgen is an adb script in filename. adbgen generates a C program that determines structure member offsets and sizes, which in turn generate the adb script.
The header lines up to the null line are copied verbatim into the generated C program. Typically, these are ...
Read now
Unlock full access