This is the mail archive of the elfutils-devel@sourceware.org mailing list for the elfutils 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: Typo in DWARF_ONE_KNOWN_DW_TAG commit?


On Mon, 2015-06-29 at 09:44 -0700, H.J. Lu wrote:
> -#define ONE_KNOWN_DW_TAG(NAME, CODE) case CODE: return #NAME;
> -      ALL_KNOWN_DW_TAG
> -#undef ONE_KNOWN_DW_TAG
> +#define DWARF_ONE_KNOWN_DW_TAG(NAME, CODE) case CODE: return #NAME;
> +      DWARF_ALL_KNOWN_DW_TAG
> +#undef DWARF_ONE_KNOWN_DW_TAG
> 
> But DWARF_ONE_KNOWN_DW_TAG is defined, but never used
> while DWARF_ALL_KNOWN_DW_TAG is used, but never defined.

DWARF_ALL_KNOWN_DW_TAG is defined in known-dwarf.h (generated from
known-dwarf.awk) and uses DWARF_ONE_KNOWN_DW_TAG.

Cheers,

Mark

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