cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
c.mcclenaghan
Contributor
Contributor
5,692 Views
Registered: ‎02-24-2014

SDK debugging with Petalinux core files

Hi all

 

Petalinux 2015.2

SDK 2015.2

 

I have a Petalinux application which generates a segfault while running on my custom Zynq target board. I can generate a core file using

ulimit -c unlimited

but can't see how to connect the SDK to it either remotely via TCF or after pulling it off the target. Usually there is a "C/C++ Postmortem Debugger" debug configuration option in Eclipse but it doesn't seem to be there in the SDK.

 

Any help would be appreciated.

 

Regards

Chris

 

 

 

 

0 Kudos
3 Replies
c.mcclenaghan
Contributor
Contributor
5,615 Views
Registered: ‎02-24-2014

Will try on the Embedded Development Tools board and report back...

Chris

0 Kudos
pvenugo
Moderator
Moderator
5,476 Views
Registered: ‎07-31-2012

Hi,

 

Please refer to reply in https://forums.xilinx.com/t5/Embedded-Linux/Re-SDK-debugging-with-Petalinux-core-files/td-p/724396

 

Regards

Praveen


-------------------------------------------------------------------------
Don’t forget to reply, kudo, and accept as solution.
-------------------------------------------------------------------------
0 Kudos
hxiaoqiang
Explorer
Explorer
5,412 Views
Registered: ‎11-09-2015

hi 

  try copy your application and corefle in your host linux,and debug with arm-xilinx-linuxgnu-gdb.

 arm-xilinux-linuxgnu-gdb <your application> <core> 

 

0 Kudos