This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: RFA: macro debug info: don't emit spaces in formal parameter list
Neil Booth <neil@daikokuya.demon.co.uk> writes:
> Jim Blandy wrote:-
>
> > ! /* Don't emit a space after the comma here; we're trying
> > ! to emit a Dwarf-friendly definition, and the Dwarf spec
> > ! forbids spaces in the argument list. */
>
> That's rather tasteless IMO.
*shrug* It's not written or read by humans, except us; I'm just
grateful that it's at least a legible encoding of the info, unlike
most of the rest of Dwarf.
> I agree with the change to CPP so it outputs according to the spec.
> Just for interest, are you writing gdb so it's liberal in what it
> accepts?
Yes; as far as I know, I've adapted GDB to accomodate each of the GCC
problems I've reported.
I'll commit the patch. Thanks!