Improper Frame Description Entry - DWARF2 debug info

Jim Wilson wilson@specifix.com
Fri May 11 21:09:00 GMT 2007


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



More information about the Gcc mailing list