7.9.8.83. GEL_SymbolLoad()

Loads symbol information only.

Syntax

GEL_SymbolLoad(“fileName [, “cpuName [, “boardName]] );

Parameters

fileNamenames the symbol file containing the symbol information. The fileName must be enclosed in quotation marks. The symbol file can be a standard COFF output file (*.out) or a specific symbol file obtained during the build process.

cpuName(optional) names the CPU on which to load the symbolic information (useful in a multiprocessor environment). The cpuName must be enclosed in quotation marks.

boardName(optional) names the board on which to load the symbolic information. If not specified, uses the board name of the processor on which this GEL function is executed. The boardName must be enclosed in quotation marks.

Description

It is useful to load only symbol information when working in a debugging environment where the debugger cannot or need not load the object code, such as when the code is in ROM. This function loads the symbol information from the specified symbol file.

The debugger first deletes any previously loaded symbols from the symbol table maintained on the host. The symbols in the symbol file are then loaded into the symbol table. Symbols are loaded at the code and data addresses specified in the symbol file. This command does not modify memory or set the program entry point.

If the file is not in the current directory, provide a full path name within the string. A double backslash escape sequence is required to ensure that you get a backslash into the fileName entry.

The cpuName and boardName must match the Processor Name and Board Name as configured in the multiprocessor setup. In a single processor system, you do not need to fill these fields.

Synchronous

Synchronous from GEL: No

Completely synchronous: No

Example

GEL_SymbolLoad(“c:\mydir\myfile.out”, “cpu_a”, “Emulator”);

Related Topics

GEL_Load()

GEL_SymbolAdd()

GEL_SymbolAddRel()

GEL_SymbolLoadRel()

GEL_SymbolAddRel()

GEL_SymbolRemove()

GEL_SymbolShowSection()

GEL_UnloadAllSymbols()