^

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
Date Created 09/04/2007
Last Updated 04/27/2009
Status Active
Type
Feed Back