UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

cancel
Showing results for 
Search instead for 
Did you mean: 
Contributor
Contributor
5,443 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
Contributor
Contributor
5,366 Views
Registered: ‎02-24-2014

Re: SDK debugging with Petalinux core files

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

Chris

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

Re: SDK debugging with Petalinux core files

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
Explorer
Explorer
5,163 Views
Registered: ‎11-09-2015

Re: SDK debugging with Petalinux core files

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