214
Development Tools User’s Guide
Intel
®
IXP2400/IXP2800 Network Processors
Linker
6.8.2
Debug Object Chunk Header
This is the variable portion of the debug-object header and must immediately precede the fixed
section (uof_objHdr_T) in the file. This header, of type dbg_chunkHdr_T, identifies and provides
the location of the object-chunks. The linker (UcLd) currently creates object-chunks that are
identified by the following literals:
DBG_STRT, DBG_IMAG, DBG_SYMB
6.8.3
DBG_STRT
This debug-object chunk identifies the string table within the debug object and contains all the
strings that are used by the other debug-object chunks. The strings are NULL terminated, and
referenced by a value that is less than
tableLength as an offset
into this table. The strings
in this table should not be altered. This object is represented by the dbg_strTab_T data type.
6.8.4
dbg_RegTab
This debug-object chunk of type
dbg_RegTab_T
contains objects of type
uof_meReg_T.
6.8.5
dbg_LblTab
This debug-object chunk of type
dbg_LblTab_T
contains objects of type
dbg_Label_T.
cpuType
4 bytes: Alway zero
minCpuVers
4 bytes: Always zero
maxCpuVers
4 bytes: Always zero
MaxChunks
2 bytes: maximum objects that can be contained in a DBG_OBJ chunk.
NumChunks
2 bytes: number of chunks currently being used.
reserved1
4 bytes: Reserved for future use.
reserved2
4 bytes: Reserved for future use.
Debug-object headers
MaxChunks * sizeof(DbgChunkHdr) contiguous bytes of debug object headers.
chunkId
8 bytes: A unique value identifying the chunk.
offset
4 byte: Offset of the chunk relative to the beginning of the object.
size
4 bytes: Size of the chunk.
TableLength
4 bytes: total length of the table in bytes
Strings
NULL terminated strings
numEntries
2 bytes: The number of objects in the table.
Table entries = NumEntries * sizeof(me_Reg_T) contiguous bytes of objects.
numEntries
2 bytes: The number of objects in the table.
Table entries = NumEntries * sizeof(dbg_Label_T) contiguous bytes of objects.