How to specify the memory location of variables generated by Instrumentation
How do you specify the memory location of variables that Instrumentation generated in IBM Rational Test RealTime (TestRT)?
TestRT adds various symbols to the code when it instruments the files and adds the code for the Target Deployment Port (TDP). You want manage where TestRT places those symbols in memory.
If the compiler allows to set the section name, you can set the section Name for TestRT variables in the following TDP section. Helpful would be define ATL_SECTION,
Library Settings > Include files visible to all generated and instrumented files.
static int ATTOL_VAR __attribute__ ((section ( <Section_name>)));
#define ATL_SECTION <Section_name>
From the command line, you can pass the option directly at the compilation phase.
More support for:
Rational Test RealTime
Runtime Analysis: C
Software version: 7.5, 188.8.131.52, 184.108.40.206, 220.127.116.11, 18.104.22.168, 22.214.171.124, 126.96.36.199, 8.0, 188.8.131.52, 184.108.40.206
Operating system(s): Windows
Reference #: 1619281
Modified date: 07 May 2013
Translate this page: