Function RTKLoadSymbols
With RTKernel-32's Debug Version, function RTKTaskInfo, error messages, and RTKStackDump can display a task's source code position if a symbol table has been loaded using function RTKLoadSymbols:
int RTKLoadSymbols(const char * FileName);
ParametersFileNameThe name of the symbol table file. The type of file accepted depends on the source code position driver being used. The default driver SRCTDS requires a TDS or EXE file with Borland Debugger symbol tables, the same debug symbol table format supported by RTTarget-32's debugger RTD32. RTLoc can produce such a symbol table for Microsoft compilers with command line option -g+. Driver SRCMAP accepts linker MAP files with line number information as produced by the Microsoft linker with linker option /MAPINFO:LINES.
return valueIndicates the success of the operation. The following values can be returned:
| Value |
Meaning |
| 0 |
Symbol table loaded successfully. |
| 1 |
File containing symbol table could not be opened. |
| 2 |
Invalid symbol table file type. |
| 3 |
Not enough memory for symbol table. |
| 4 |
No line numbering information found. |
| 6 |
Display of code positions not supported. |
Enquiring Tasks
Function RTKClearStatistic
Function RTKStackDump
|