This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] New "producer" attribute for gdb.Symtab objects
- From: Pedro Alves <palves at redhat dot com>
- To: Doug Evans <dje at google dot com>, gdb-patches at sourceware dot org, eliz at gnu dot org
- Date: Wed, 17 Sep 2014 01:31:33 +0100
- Subject: Re: [PATCH] New "producer" attribute for gdb.Symtab objects
- Authentication-results: sourceware.org; auth=none
- References: <yjt2ppevf8il dot fsf at ruffy dot mtv dot corp dot google dot com>
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