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!

AR# 24875

11.1 EDK - powerpc-eabi-objump -S <file_name> does not intermix assembly with the source code


Keywords: gcc, PPC, Power PC, powerpc-eabi-objdump, assembly, source, debug, ELF

When I dump the contents of the ELF with the command powerpc-eabi-objump -S <file_name>, I do not get the source intermixed with the assembly code. What is wrong?


There are two ways to work around this issue:

Solution 1
Add -gstabs to the compiler flags. This reverts to stabs based debugging, but also causes objdump to intermix source code.

Solution 2
Run object dump from the folder containing the source files.

AR# 24875
日期 04/27/2009
状态 Active
Type 综合文章