This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Improper Frame Description Entry - DWARF2 debug info


Rohit Arul Raj wrote:
When looking at the dwarf dump, the starting frame address for
function "fun" is given as
<  0><0:0xc><main><fde offset 0x30 length: 0x14><eh offset none>

Assuming you made a beginner mistake, I'd say the problem here is that you ran dwarfdump on a .o file, and you failed to notice that dwarfdump doesn't handle the relocations in a .o file. If you link first, then run dwarfdump on an executable, you should get the right info. Use "objdump -r" to see the relocations.


These kinds of problems are easier to diagnose if you give the actual commands you typed.
--
Jim Wilson, GNU Tools Support, http://www.specifix.com



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]