Wind River Support Network

HomeDefectsLIN7-6794
Fixed

LIN7-6794 : gdb exit with exception when debug application on ls102x target with wrlinux 7

Created: Sep 12, 2016    Updated: Sep 8, 2018
Resolved Date: Feb 3, 2017
Found In Version: 7.0.0.12
Fix Version: 7.0.0.23
Severity: Standard
Applicable for: Wind River Linux 7
Component/s: Toolchain

Description

When debug customer's application on ls102x target with wrlinux 7, customer met the following error:
/****************************************************************/
/ls10xx-20160202/bitbake_build/tmp/work/cortexa7t2hf-vfp-neon-wrs-linux-gnueabi/gdb/7.7.1-r0/gdb-7.7.1/gdb/infrun.c:1948: internal-error: resume: Assertion `pc_in_thread_step_range (pc, tp)' failed.
A problem internal to GDB has been detected,
further debugging may prove unreliable.
Create a core file of GDB? (y or n) y

/****************************************************************/

Workaround

Apply the two patches to  layers/wr-sdk-toolchain, and add 
  USE_SDK_GDB = "0"
to local.conf

Steps to Reproduce

I put application binary and gdb core dump file in attachment.

Other Downloads


Live chat
Online