Wind River Support Network

HomeDefectsLIN4-8110
Fixed

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: 4.3.0.22
Severity: Standard
Applicable for: Wind River Linux 4
Component/s: Toolchain

Description

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.

Workaround

Invoke gdb with -readnow switch.

$ gdb -readnow test

Steps to Reproduce

1. attachment "gdb_test_sun.zip" 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
Online