RFA: consolidate DWARF strings into libiberty

nick clifton nickc@redhat.com
Sat Apr 7 14:02:00 GMT 2012


Hi Tom,

> Built and regtested on x86-64 Fedora 16.
>
> Ok?
>
> Tom
>
> 2012-03-15  Tom Tromey<tromey@redhat.com>
>
> 	* dwarf2out.c (dwarf_stack_op_name): Use get_DW_OP_name.
> 	(dwarf_tag_name): Use get_DW_TAG_name.
> 	(dwarf_attr_name): Use get_DW_AT_name.
> 	(dwarf_form_name): Use get_DW_FORM_name.
> 	* dwarf2cfi.c (dwarf_cfi_name): Use get_DW_CFA_name.
>
> 2012-03-15  Tom Tromey<tromey@redhat.com>
>
> 	* dwarf2.h (enum dwarf_tag, enum dwarf_form, enum dwarf_attribute)
> 	(enum dwarf_location_atom, enum dwarf_type, enum
> 	dwarf_call_frame_info): Remove.
> 	(DW_TAG, DW_TAG_DUP, DW_FORM, DW_AT, DW_AT_DUP, DW_OP)
> 	(DW_OP_DUP, DW_ATE, DW_ATE_DUP, DW_CFA): New macros.
> 	Include dwarf2.def.
> 	(get_DW_TAG_name, get_DW_AT_name, get_DW_FORM_name)
> 	(get_DW_OP_name, get_DW_ATE_name): Declare.
> 	* dwarf2.def: New file, from dwarf2.h.
>
> 2012-03-15  Tom Tromey<tromey@redhat.com>
>
> 	* dwarfnames.c: New file.
> 	* Makefile.in (CFILES): Add dwarfnames.
> 	(REQUIRED_OFILES): Add dwarfnames.
> 	(./dwarfnames.$(objext)): New target.

This is OK from a binutils point of view.

Cheers
   Nick



More information about the Gdb-patches mailing list