This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] New "producer" attribute for gdb.Symtab objects


On 18/09/14 01:45, Doug Evans wrote:
> Pedro Alves writes:
>  > On 09/17/2014 12:30 AM, Doug Evans wrote:
>  > > +# We can't do much to test the producer string (compiler name+version).
>  >
>  > Sounds like a job for the testsuite's dwarf compiler.
>  >
>  > > +# But we do have support for knowing whether gcc was used, so we can at
>  > > +# least use that.
>  > > +if { $gcc_compiled } {
>  > > +    set producer_regexp "GNU.*"
>  > > +} else {
>  > > +    set producer_regexp ""
>  > > +}
>
> Indeed.

I looked at the patch and it seems just fine.  Is it just GCC that
inserts a producer?

Cheers

Phil


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]