C++ projects with Wind River Diab crash GDB

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

C++ projects with Wind River Diab crash GDB

1,647 次查看
norbertunterber
Contributor II

I am having the same issue as is described in another question, which has never been answered.

See "DEVKIT-MPC5748G c++ GDB server fails"

When using C++ classes with virtual methods, and the project gets compiled with Wind River Diab compiler, then the S32 Studion debugger crashes when loading the debug symbols.

Wind River Diab for PPC V5.9.4.7

S32 Design Studio for Power Architecture Version 1.2

GDB is powerpc-eabivle-gdb.exe version 7.8.2

Any new information on this issue?

Norbert Unterberg

0 项奖励
回复
2 回复数

1,301 次查看
alexanderfedoto
NXP Employee
NXP Employee

Could you please attach some example ?

In previous thread topic starter's project was just invalid because of wrong linker script default.dld from Diab system root. While correct one for target HW should be resided in Project tree.

0 项奖励
回复

1,301 次查看
norbertunterber
Contributor II

Attached is a minimial example wich crashes the GDB debugger of S32 Design Studio.

Debugger settings are:

GDB PEMicro Interface Debugging, Device MPC5777C, Core Z7_0

Load Symbols and Load Executable both set to the main.elf file.

Please ask me if you need more information.

0 项奖励
回复