This is the mail archive of the
elfutils-devel@sourceware.org
mailing list for the elfutils project.
Re: Typo in DWARF_ONE_KNOWN_DW_TAG commit?
- From: Mark Wielaard <mjw at redhat dot com>
- To: elfutils-devel at lists dot fedorahosted dot org
- Date: Mon, 29 Jun 2015 19:58:17 +0200
- Subject: 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