C++ projects with Wind River Diab crash GDB

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

C++ projects with Wind River Diab crash GDB

1,439 Views
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 Kudos
2 Replies

1,093 Views
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 Kudos

1,093 Views
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 Kudos