[PATCH] New "producer" attribute for gdb.Symtab objects
Phil Muldoon
pmuldoon@redhat.com
Thu Sep 18 14:17:00 GMT 2014
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
More information about the Gdb-patches
mailing list