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 综合文章
People Also Viewed