Re: [PATCH] "info source" now includes producer string

Eli Zaretskii
2015-01-06T03:31:54Z

> Date: Mon, 5 Jan 2015 16:28:20 -0800
> From: Doug Evans <dje@google.com>
> Cc: gdb-patches <gdb-patches@sourceware.org>
>
> >> +* The "info source" command now displays the producer string if it was
> >> + present in the debug info.
> >
> > I wonder whether we should replace "producer" with something less
> > abstract. Would "compilation command line" be accurate enough?
>
> The producer string can be anything, it's whatever the compiler
> decides, so I'm really hesitant to be specific here (and "command
> line" is too specific for me), because often it will be wrong.

We can always say "e.g." or "such as". That would at least describe
the most frequent use cases. We don't have to be 110% accurate here,
just clear enough to convey the intent.