[PATCH] Handle DWARF4 .debug_frame (and .eh_frame)

Richard Henderson rth@redhat.com
Mon Apr 5 18:05:00 GMT 2010
On 04/02/2010 02:23 AM, Jakub Jelinek wrote:
> Hi!
> 
> DWARF4 not only adds a field into the middle of .debug_line header,
> but also adds two new fields into the middle of CIE.  While I don't expect
> GCC (nor gas) to emit version 4 CIEs any time soon, the following
> patch should handle it.
> 
> Ok to commit?
> 
> 2010-04-02  Jakub Jelinek  <jakub@redhat.com>
> 
> bfd/
> 	* elf-eh-frame.c (_bfd_elf_parse_eh_frame): Handle CIE version 4
> 	provided that it has the expected address size and zero segment
> 	length.
> binutils/
> 	* dwarf.c (struct Frame_Chunk): Add ptr_size and segment_size
> 	fields.
> 	(display_debug_frames): Handle CIE version 4.
> 

Ok.


r~



More information about the Binutils mailing list