This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [patch+7.9] compile: Filter out -fpreprocessed
- From: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- To: Doug Evans <dje at google dot com>
- Cc: gdb-patches <gdb-patches at sourceware dot org>, gcc-patches at gcc dot gnu dot org, Mark Wielaard <mjw at redhat dot com>
- Date: Tue, 3 Feb 2015 19:59:12 +0100
- Subject: Re: [patch+7.9] compile: Filter out -fpreprocessed
- Authentication-results: sourceware.org; auth=none
- References: <20150116224234 dot GA6176 at host2 dot jankratochvil dot net> <CADPb22SBOPJAS4vDNX_SESXupv6NiYiPxbxa1WmQogDVtqchQQ at mail dot gmail dot com>
On Tue, 03 Feb 2015 19:50:40 +0100, Doug Evans wrote:
> On Fri, Jan 16, 2015 at 2:42 PM, Jan Kratochvil
> <jan.kratochvil@redhat.com> wrote:
> > [...]
> > It is wrong that gcc puts -fpreprocessed into DW_AT_producer - I may post a gcc
> > patch for it.
>
> Hi.
> I wasn't aware there are now rules for what can and cannot go in DW_AT_producer.
> DW_AT_producer has gone from being informational to having a formal
> spec (in the sense that something will break if, for example, a
> particular option is mentioned).
> Is this spec written down somewhere? [At least guidelines for what
> things may lead to breakage?]
No. Do you have a suggestion where to put it? Should it be only a GNU
extension or should it be even DWARF-standardized?
Jan