This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: [RFA] bfd/elf-eh-frame.c: return address column of CIE
On Fri, Aug 23, 2002 at 12:43:51AM +0200, Jakub Jelinek wrote:
> On Fri, Aug 23, 2002 at 07:18:33AM +0900, kaz Kojima wrote:
> > I'm just a little confused. It seems that GCC uses DWARF v2 not v3
> > format about this. gcc/dwarf2out.c (output_call_frame) outputs this
> > entry like as:
> >
> > ...
> > dw2_asm_output_data_sleb128 (DWARF_CIE_DATA_ALIGNMENT,
> > "CIE Data Alignment Factor");
> > dw2_asm_output_data (1, DWARF_FRAME_RETURN_COLUMN, "CIE RA Column");
> > ...
> >
> > but binutils uses DWARF v3. Does it mean that we should fix gcc?
>
> Well, gcc is slowly moving towards DWARF v3.
> Unless some architecture defines DWARF_FRAME_RETURN_COLUMN to 128 or bigger,
> this actually makes zero difference for gcc, but yes, gcc should be changed.
I'm still dubious about that decision - there are still debuggers that
only speak DWARF-1, I doubt wide DWARF-3 support will be available for
years.
--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer