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 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 ""
> +}

Thanks,
Pedro Alves


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