Not to be fixed
Created: Dec 11, 2014
Updated: Apr 19, 2018
Resolved Date: Apr 17, 2018
Found In Version: 7.0.0.0.LB21
Severity: Standard
Applicable for: Wind River Linux 7
Component/s: Workbench Integration
You will find that the local variable cannot be shown in the "Variables" view.
please refer to attach image.
The reason is that by default the build spec has a –O flag for debug builds.
When I replace this by –O0 I do see the locals b and c in the Variables view.
1. Install LB21 with WB4.
2. Build qemuarma9 platform.
/path/to/wrlinux-7/wrlinux/configure --enable-reconfig --enable-board=qemuarma9 --enable-kernel=standard --enable-rootfs=glibc-std+debug-wb+debug+kernel-debug --enable-build=production --enable-jobs=4 --enable-parallel-pkgbuilds=4 --with-rcpl-version=0
3. Start qemuarma9, and create connection to connect it.
4. New App project, and import attach rtp.c, build it.
5. Debug it.