After SCODB is loaded into the kernel, symbol data is automatically available. The address of a symbol, and its segment type (data or text) can always be found using the C address-of operator (&):
debug0:4>If not in the kstruct file, data symbols are assumed to be of type int, and text symbols are assumed to be of type int( ) (function returning an integer). This type can be modified using the declare command (see ``Displaying symbol and expression types''), or by the symbol being present in the kstruct file.
&uE0000000 u data debug0:5>
&readD00A46D0 read text
The value of a symbol with a value type (in other words, not a structure or union) can be obtained quite simply:
debug0:6>Be careful not to confuse the value of a symbol with its address:
&sysdump_selectiveC0414574 sysdump_selective data