Wind River Support Network

HomeDefectsLIN5-11790
Fixed

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: 5.0.1.8
Severity: Standard
Applicable for: Wind River Linux 5
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