Re: [Dwarf-Discuss] The difference between .eh_frame section and .debug_frame section

2014-11-10 Thread Mark Wielaard
On Mon, 2014-11-10 at 16:55 +0800, 21310171 wrote: > Complie a simple case , such as hello.c, with the "-g" parameter to > compiler. And use readelf -S tools to analyze the sections of the output elf > file, we see .eh_frame and .debug_frame section. > .eh_frame and .debug_frame both are somet

[Dwarf-Discuss] The difference between .eh_frame section and .debug_frame section

2014-11-10 Thread 21310171
Complie a simple case , such as hello.c, with the "-g" parameter to compiler. And use readelf -S tools to analyze the sections of the output elf file, we see .eh_frame and .debug_frame section. .eh_frame and .debug_frame both are something to do with frame stack. Use readelf -Wwf to analyse