[PATCH] [gas] Emit v2 .debug_line for -gdwarf-2
Tom de Vries
tdevries@suse.de
Tue Jan 31 13:56:18 GMT 2023
On 1/31/23 14:38, Nick Clifton wrote:
> Hi Tom,
>
>> I've updated the comment, and I've also updated the macro definition to:
>> ...
>> #define DWARF2_LINE_VERSION DWARF2_VERSION
>
> Does this mean that DWARF2_LINE_VERSION is now redundant, and
> could just be replaced with DWARF2_VERSION ?
>
I suppose so, though when using DWARF2_LINE_VERSION it's immediate clear
what it means. With using DWARF2_VERSION when dealing .debug_lines, you
need to know/remember/lookup that the version is the same for the two.
> Anyway, patch approved - please apply.
Thanks, I'll commit then.
- Tom
More information about the Binutils
mailing list