Wind River Support Network


LIN5-11790 : GDB cannot print global pointer viriable correctly on xlr732

Created: Jul 21, 2013    Updated: Dec 19, 2017
Resolved Date: Sep 25, 2013
Previous ID: LIN4-8106
Found In Version: 5.0
Fix Version:
Severity: Standard
Applicable for: Wind River Linux 5
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