This is the mail archive of the binutils@sourceware.org mailing list for the binutils 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: [PATCH] Handle DWARF4 .debug_frame (and .eh_frame)


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~


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