Re: dwarf2 cleanup

Dan Nicolaescu
2001-02-16T14:45:00Z

Jim Blandy <jimb@zwingli.cygnus.com> writes:

> Hi --- this patch looks good. Do you have a copyright assignment on
> file with the FSF for GDB?

Unfortunately I don't have one for GDB, only for GCC.
But I can send one in asap.

--dan

> Dan Nicolaescu <dann@godzilla.ICS.UCI.EDU> writes:
>
> >
> > Hi!
> >
> > Here is a small cleanup for dwarf2.
> > A similar one was done for GCC as shown in:
> >
> > http://gcc.gnu.org/ml/gcc-patches/2001-02/msg00856.html
> >
> > and Jason Merill asked to do a similar one for gdb.
> >
> > Here it is, it's nothing else than copying the similar changes from
> > GCC.
> > The patch is against gdb+dejagnu-20010215
> >
> > For include/elf/ChangeLog
> >
> > 2001-02-15 Dan Nicolaescu <dann@ics.uci.edu>
> >
> > * dwarf2.def: New file.
> >
> > * dwarf2.h: (enum dwarf_tag, enum dwarf_form,
> > enum dwarf_attribute, enum dwarf_location_atom,
> > enum dwarf_type): Use the dwarf2.def definitions.
> >
> > For gdb/ChangeLog
> >
> > * dwarf2read.c (dwarf_cfi_name):
> > (dwarf_stack_op_name):
> > (dwarf_tag_name):
> > (dwarf_attr_name):
> > (dwarf_form_name):
> > (dwarf_type_encoding_name): Constify the return value,
> > use the dwarf2.def definitions.
> >
> > * Makefile.in (dwarf2read.o): Add missing dependecy to
> > elf/dwarf2.h, depend on elf/dwarf2.def.
> >