Wind River Support Network


LIN4-8110 : GDB cannot print global pointer viriable correctly on xlr732

Created: Jul 21, 2013    Updated: Sep 15, 2015
Resolved Date: Oct 18, 2013
Found In Version: 4.3
Fix Version:
Severity: Standard
Applicable for: Wind River Linux 4
Component/s: Toolchain


wrlinux4.3 + RCPL11 + xlr732

test case's printf can print global pointer viriable in runtime, but use gdb to debug this test case, it cannot print global pointer viriable correctly.


Invoke gdb with -readnow switch.

$ gdb -readnow test

Steps to Reproduce

1. attachment "" is test case.
2. attachment "gdb_test_sun.log " is the reproduce steps and debug log
3. please notice global pointer viriable "g_pIphdr" and "g_pEthhdr"

Other Downloads

Live chat