This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Evaluate a static variable using GEL expression

Other Parts Discussed in Thread: TMS320C6678

Context:

Within my project, I want to implement unit tests which run on my TMS320C6678. To do so, I have implemented a simple unit test framework that comes along as a library. My implemented testing procedure uses my framework, CMake's test driver program "ctest" and dss (Debug Server Scripting) to run multiple unit tests in a row.  At the end of each unit test, a static variable "error" defined in my testing framework (Note: That my static variable exists in another translation unit) is read via the GEL-expression "ds.expression.evaluate("'sym::utest.oe66::utest.c'::error"). This static variable reflects whether a unit test has passed or failed.

Problem:

My framework does work as long as my variable "error" is defined in the same translation unit as my "main" function. However, I want my static variable to be defined in an external library. In this context, I am not able to read the static variable "error" as it does exist in another translation unit. Regarding namespaces within the GEL documentation (7.9.1.21. GEL Namespace — Code Composer Studio 12.2.0 Documentation) I assume that I am not specifying the correct symbol file.

Question:

Do I have to use the object file ("utest.oe66") as symbol file, as this file contains symbol information?

Do I have to use an absolute path to my library archive, which amongst other contains the object file of interest?